pierre-emmanuelJ / iptv-proxy

Reverse proxy on iptv m3u and m3u8 file and xtream codes client api
GNU General Public License v3.0
478 stars 139 forks source link

Skip over that line instead of returning error #138

Closed demarey-baker closed 1 year ago

demarey-baker commented 1 year ago

This reads line by line but fails the entire playlist file if one line is invalid. It's better to skip over it rather than deeming entire file useless. For my iptv provider it was broken and returning "Error #01: invalid m3u file format. Expected EXTINF metadata to contain track length and name data" because one of their tracks was missing a name which makes m3u parser not work.

joecot commented 1 year ago

Would really like to see this merged as I'm running into this and it makes my streaming service unusable.

demarey-baker commented 1 year ago

@joecot , if you're using docker you can use my docker image: https://hub.docker.com/r/silvadon/iptv-proxy until it is merged

pierre-emmanuelJ commented 1 year ago

Thanks for your contribution, you can propose the change to the current, package project. But I doubt it will be accepted, I see more a provider issue here than a code issue.