You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.
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:
ask SS IPTV to change how they produce playlists
create a special parsing mode to handle this case somehow
Option 1 would be best IMO. If that's not possible, I propose the following solution to option 2:
add a MediaPlaylist.getRawExtinfTags() method
add a parsing mode flag to allow improperly formatted #EXTINF tags
if the parser encounters a bad #EXTINF tag while using that parsing mode, it will be added to the MediaPlaylist.getRawExtinfTags() list and continue parsing
it is the up to the client code to pair up the raw #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.
The text was updated successfully, but these errors were encountered: