#EXTINF: (duration) (attributes), (channel title). Required params are: duration and channel title. In case of live TV links the duaration has always to be 0 or -1.
Attributes are not requred params, this is the list of supported attributes:
tvg-shift - TV guide time shifting
tvg-name - TV guide identifier
tvg-logo -  channel's logo (url)
audio-track - Audio track definition of this channel, if it's supported by stream. Write language codes in ISO 639-2 standard, you may use several codes separated by comma (e.g.: "eng, rus, deu"). The first item in the list will be defined as default.
aspect-ratio - defines aspec ratio (may be not available for some TV models). Available values: 16:9, 3:2, 4:3, 1,85:1, 2,39:1
The value of the attribute must always be double-quoted, e.g.: tvg-shift="+1".

#EXTINF:0 tvg-name="BBC" audio-track="eng" tvg-logo="http://mylogos.domain/BBC.png", BBC World
http://server.name/stream/to/video2
#EXTINF:-1 channel-id="2156" tvg-id="I74410.json.schedulesdirect.org" tvg-logo="http://s3.amazonaws..._h3_aa.png",SKYSPORTS F1 SD 
#EXTINF:-1 channel-id="312" tvg-id="312" tvg-logo="http://www.thelogodb.com/images/media/logo/tyvvss1433452956.png/medium" group-title="Entertainment",Hallmark
http://smashtv.ddns.net:9090/load/xxx/298.mpegts