Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

Add support for names in m3u playlist #7

Closed
ValdikSS opened this issue Oct 17, 2013 · 12 comments
Closed

Add support for names in m3u playlist #7

ValdikSS opened this issue Oct 17, 2013 · 12 comments

Comments

@ValdikSS
Copy link
Contributor

Hello!
If you have an .m3u playlist with names, e.g. for IPTV, you expect names to be shown, not URL.

EXTINF:-1,MTV Dance

http://...

EXTINF:-1,MTV Hits UK

http://...

EXTINF:-1,MTV Rocks

http://...

Should be shown:
MTV Dance
MTV Hits UK
MTV Rocks

Actual result:
http://...
http://...
http://...

@bylee20
Copy link
Owner

bylee20 commented Oct 19, 2013

This is nice. I'll try to introduce it.

@bylee20
Copy link
Owner

bylee20 commented Oct 21, 2013

Now I'm working on this. Can you provide a sample file?

@ValdikSS
Copy link
Contributor Author

Sure.
http://rghost.net/49635890

@bylee20
Copy link
Owner

bylee20 commented Oct 21, 2013

Fixed in 1c1d819. Thank you.

@bylee20 bylee20 closed this as completed Oct 21, 2013
@ValdikSS
Copy link
Contributor Author

Thanks a lot!

@ValdikSS
Copy link
Contributor Author

ValdikSS commented Mar 8, 2015

Doesn't work with playlist in the following format:

#EXTINF:-1 group-title="Региональные" tvg-name="TV_Bakhoristan" tvg-logo="",TV Bakhoristan
http://127.0.0.1:8000/pid/b10151ed052d5e501e653c8bfa7c51dc60312a11/stream.mp4
#EXTINF:-1 group-title="Региональные" tvg-name="TV_Safina" tvg-logo="",TV Safina
http://127.0.0.1:8000/pid/d382c123007f1bbd0ccc6d2acc6767c250b1f470/stream.mp4
#EXTINF:-1 group-title="Развлекательные" tvg-name="TV_Sale" tvg-logo="",TV Sale
http://127.0.0.1:8000/pid/55a2a753222a82f5e170b955b35f46d857888c1c/stream.mp4

@bylee20
Copy link
Owner

bylee20 commented Mar 10, 2015

Because it's illformed. The timelength information(in this case, unknown(-1)) should be followed by a comma(,) like:

#EXTINF:-1, group-title="Региональные" tvg-name="TV_Bakhoristan" tvg-logo="",TV Bakhoristan

@ValdikSS
Copy link
Contributor Author

I'm afraid it's not malformed. There shouldn't be comma.

@bylee20
Copy link
Owner

bylee20 commented Mar 10, 2015

@ValdikSS
Copy link
Contributor Author

This format introduced by Borpas in his IPTV Player long ago before this draft.
http://borpas.info/iptvplayer-docs
http://xmtvplayer.com/build-m3u-file

@bylee20
Copy link
Owner

bylee20 commented Mar 11, 2015

  1. Specification is not about who did first. It's not a patent.
  2. It is denoted as extended format in Borpas, too, unless the translator was wrong:
It is recommended to use the extended format of the channel list with the settings

Anyway, it's implemented because this can be done without breaking standard parser :)
Also, I found that the name in playlist wasn't displayed at all including other standard m3u, so I fixed it too.

@ValdikSS
Copy link
Contributor Author

Thanks a lot!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants