TheKamakaZi 15 Posted May 21, 2018 Posted May 21, 2018 (edited) Hi guys, I've been playing around with some scripting to find a way to get my channel order operating the way I want it, and noticed some interesting behaviour when the M3U tuner parses the channel list. Duplicate tvg-id, unique in only their definition (SD, HD, FHD), are grouped together/overwritten by the subsequent definition: For instance, first entry is: #EXTINF:-1 tvg-id="SkySpF1.uk" tvg-name="SKY SPORTS F1" ... http://host/live/yyy/zzz/102237.ts The next entry is: #EXTINF:-1 tvg-id="SkySpF1.uk" tvg-name="SKY SPORTS F1 HD" ... http://host/live/yyy/zzz/102236.ts And the final entry is: #EXTINF:-1 tvg-id="SkySpF1.uk" tvg-name="SKY SPORTS F1 FHD" ... http://host/live/yyy/zzz/102235.ts Now, what seems to be happening is that the channel is created using the first entry's details, and the subsequent entries updates the stream source only, which means that, if the FHD entry was to come first, it would be updated with a lesser definition's source, i.e.: #EXTINF:-1 tvg-id="SkySpF1.uk" tvg-name="SKY SPORTS F1" ... http://host/live/yyy/zzz/102235.ts The best possible solution I can think of to fix this would be a mechanism to have the ability to select the desired stream source for channels that are found to be duplicated by the tvg-id, either in server config, or on the channel's detail page (not sure how much control anyone would want to give a user). Cheers Edited May 21, 2018 by TheKamakaZi
AgileHumor 123 Posted May 21, 2018 Posted May 21, 2018 (edited) I think editing your m3u would be the easiest solution...or find a script that does jt which is compatible with your iptv sub. Emby m3u support is pretty stable for playback, but the parser support for channels, quality, timezone are not fully up to spec yet. Emby doesnt play the wide variety of pirated content streams well and has been written to support more static legal streams. You may want to check out this tool to custimize the m3u: https://forum.kodi.tv/showthread.php?tid=196188 If you use USTVNow (legal iptv), check out this python script: https://github.com/agilehumor/ustvnow-m3u-server Edited May 21, 2018 by AgileHumor
TheKamakaZi 15 Posted May 21, 2018 Author Posted May 21, 2018 Hey AgileHumor, Thanks for the tips. I was actually trying to figure out how to build a plugin for Emby very much like Perfect Player's channel parser (and I'm glad there is something to serve as a baseline), but alas my coding skills are not up to par. I posted the info in case the devs were not aware of it, and someone else stumbles into the same behaviour. Cheers
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now