Open abkNiazi opened 8 years ago
@abkNiazi
The latest specification does not provide support for "attributes" in the #EXTINF
tag:
http://tools.ietf.org/html/draft-pantos-http-live-streaming-19#section-4.3.2.1
I've seen specially formatted titles contain key value pairs, but that has to come after the comma that separates the duration and title. We do support a parsing mode to parse a negative duration.
So basically, SS IPTV is producing playlists violating the specification. There's two ways to handle this:
Option 1 would be best IMO. If that's not possible, I propose the following solution to option 2:
MediaPlaylist.getRawExtinfTags()
method#EXTINF
tags#EXTINF
tag while using that parsing mode, it will be added to the MediaPlaylist.getRawExtinfTags()
list and continue parsing#EXTINF
tags with the tracks and do its own parsing of SS IPTV's "attributes"This is not ideal, but this library cannot build a consistent API if we assume too many special formats from 3rd parties.
This library is unable to parse m3u file given in link.