mirror of
https://github.com/iptv-org/database.git
synced 2024-11-09 22:16:38 -05:00
Merge branch 'master' into pr/5
This commit is contained in:
commit
4bad897060
3 changed files with 1139 additions and 1174 deletions
|
@ -26,7 +26,7 @@ All data is stored in the [/data](data) folder as [CSV](https://en.wikipedia.org
|
|||
| languages | List of languages in which the channel is broadcast separated by `;`. A list of all supported languages and their codes can be found in [data/languages.csv](data/languages.csv) | Required | `eng;spa` |
|
||||
| categories | List of categories to which this channel belongs separated by `;`. A list of all supported categories can be found in [data/categories.csv](data/categories.csv) | Optional | `news;weather` |
|
||||
| is_nsfw | Indicates whether the channel broadcasts adult content (`TRUE` or `FALSE`) | Required | `FALSE` |
|
||||
| logo | Logo URL | Optional | `https://example.com/nbc.png` |
|
||||
| logo | Logo URL. Only URL with HTTPS protocol are allowed. | Optional | `https://example.com/nbc.png` |
|
||||
|
||||
### categories
|
||||
|
||||
|
|
2305
data/channels.csv
2305
data/channels.csv
File diff suppressed because it is too large
Load diff
|
@ -29,5 +29,9 @@ module.exports = {
|
|||
),
|
||||
categories: Joi.array().items(Joi.string().regex(/^[a-z]+$/)),
|
||||
is_nsfw: Joi.boolean().strict().required(),
|
||||
logo: Joi.string().uri().allow(null)
|
||||
logo: Joi.string()
|
||||
.uri({
|
||||
scheme: ['https']
|
||||
})
|
||||
.allow(null)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue