su1s / e2m3u2bouquet

Enigma2 IPTV m3u parser and bouquet creator
GNU General Public License v3.0
68 stars 50 forks source link

Some TS streams don't end in <dot>ts and are detected as VOD #92

Closed oottppxx closed 5 years ago

oottppxx commented 5 years ago

At least one provider has TS streams ending in .2ts instead of .ts. That makes them being detected as VOD, missing EPG.

The 1 character fix is to modify the check: if (parsed_stream_url.path.endswith('.ts') or parsed_stream_url.path.endswith('.m3u8')) \ to if (parsed_stream_url.path.endswith('ts') or parsed_stream_url.path.endswith('.m3u8')) \

DougMac commented 5 years ago

Thanks. I'll add this to the next version

DougMac commented 5 years ago

Fix included in upcoming release v0.8.3