Fleker / CumulusTV

Android TV Live Channel Plugin with user-entered stream files
MIT License
185 stars 72 forks source link

Add a test suite for M3u #163

Closed Fleker closed 7 years ago

Fleker commented 8 years ago

There are a lot of different m3u formatted files. Lets collect some and write tests using them to improve our parser.

Since we'll be adding export support in #41, we can test our own output.

josuearisty commented 8 years ago

This is how my lists usually looks like:

EXTM3U

EXTINF:-1 tvg-name="Canal 2 HD" tvg-logo="http://y.cdn.entutele.com/media/channels/big/canal-2-hd.gif",Canal 2 HD

https://totalgo.total.com.mx:444/TPMHLSWeb/M3U8LiveFile?a=&f=.m3u8

EXTINF:-1 tvg-name="Foro TV HD" tvg-logo="http://y.cdn.entutele.com/media/channels/big/foro-tv-hd.gif",Foro TV HD

https://totalgo.total.com.mx:444/TPMHLSWeb/M3U8LiveFile?a=&f=.m3u8

Fleker commented 8 years ago

Thanks. I'll be adding this as an example in the test suite.

On Sep 3, 2016 7:58 PM, "josuearisty" notifications@github.com wrote:

This is how my lists usually looks like:

EXTM3U

EXTINF:-1 tvg-name="Canal 2 HD" tvg-logo="http://y.cdn.

entutele.com/media/channels/big/canal-2-hd.gif",Canal 2 HD https://totalgo.total.com.mx:444/TPMHLSWeb/M3U8LiveFile?a=&f=.m3u8

EXTINF:-1 tvg-name="Foro TV HD" tvg-logo="http://y.cdn.

entutele.com/media/channels/big/foro-tv-hd.gif",Foro TV HD https://totalgo.total.com.mx:444/TPMHLSWeb/M3U8LiveFile?a=&f=.m3u8

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Fleker/CumulusTV/issues/163#issuecomment-244576400, or mute the thread https://github.com/notifications/unsubscribe-auth/ADI580lELaA-F8wb5wZPr5Jr0j3Aloghks5qmgnCgaJpZM4J0Oks .