Update CONTRIBUTING.md

This commit is contained in:
freearhey 2019-10-31 12:06:07 +03:00
parent c78cf7f453
commit 48b06079e7
1 changed files with 8 additions and 7 deletions

View File

@ -32,18 +32,19 @@ http://example.com/stream.m3u8
But of course, the more channel information you add, the better. Here's an example of what a full version of a link in a playlist might look like:
```xml
#EXTINF:-1 tvg-id="exampletv.us" tvg-name="Example TV" tvg-logo="http://example.com/channel-logo.png" group-title="News",Example TV
#EXTINF:-1 tvg-id="exampletv.us" tvg-name="Example TV" tvg-language="English" tvg-logo="http://example.com/channel-logo.png" group-title="News",Example TV
http://example.com/stream.m3u8
```
More details about each attribute:
| Attribute | Description
| ----------- | ---
| tvg-id | Channel ID that is used to load EPG (optional)
| tvg-name | Channel name that is also sometimes used to load EPG (optional)
| tvg-logo | The logo of the channel that will be displayed in the player if it supports it (optional)
| group-title | The category to which the channel belongs. These categories are also displayed in some players, and grouped playlists are also generated based on them. The list of currently supported categories can be found below (optional)
| Attribute | Description
| ------------ | ---
| tvg-id | Channel ID that is used to load EPG (optional)
| tvg-name | Channel name that is also sometimes used to load EPG (optional)
| tvg-language | Channel language. The name of the language must conform to the standard [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (optional)
| tvg-logo | The logo of the channel that will be displayed in the player if it supports it (optional)
| group-title | The category to which the channel belongs. These categories are also displayed in some players, and grouped playlists are also generated based on them. The list of currently supported categories can be found [here](https://github.com/iptv-org/iptv#playlists-by-category) (optional)
## Sort channels by category