sunsettrack4 / telerising-api

API web application providing Zattoo TV streams
78 stars 7 forks source link

Option to not send channel numbers (Jellyfin + SchedulesDirect Support) #41

Closed ojsef39 closed 6 months ago

ojsef39 commented 6 months ago

Hey, would it be possible to add a option to not send channel numbers?

Since channel numbers are shown in the name in Jellyfin, schedules direct cant match the names of the channels with the guide/epg info.

image

Thank you for taking your time building telerising :)

sunsettrack4 commented 6 months ago

The M3U channel names do not have any additional numbers. Please kindly ask the Jellyfin devs to remove them, if their channel numbers are blocking their EPG matching system.

ojsef39 commented 6 months ago

i've tried threadin and tvheadend, and both of those got the same channel numbers so i figure they came from telerising. i can send more details later

sunsettrack4 commented 6 months ago

tvg-chno values are included to guarantee the correct channel order in your playlist. It's a feature that will not be removed due to a possible bug in Jellyfin.

ojsef39 commented 6 months ago

i mean it's probably not a bug since for example the german public tv m3u lists also don't include channel numbers. also i didn't say to remove that completely just the option to would be nice

and you can't really remove them from the telerising m3u via tvheadend for example because it gets overwritten.

but okay, ig i'll i write a python script which removes the channel numbers from the telerising m3u

sunsettrack4 commented 6 months ago

In my opinion, it's not a issue caused by Telerising. If a tool (Jellyfin) doesn't work correctly because it reads valid tvg-chno tags, you should contact the correct devs to fix that issue.

Additionally, your screenshot shows an incorrect assignment of EPG IDs (channel name "Das Erste" is assigned to "#dabeiTV"). Please kindly check your setup.

sunsettrack4 commented 6 months ago

And after doing some basic research, my conclusion is that the channel numbers are always included in Jellyfin's/Emby's live TV GUI, so these numbers are not the reason why your mapping isn't working. So please kindly explain why and how the removal of the tag will solve your issue.

ojsef39 commented 6 months ago

so want i want to achieve is, to combine two m3u one from zattoo and one from the public broadcasting and bind them into jellyfin and use schedules direct for the guide data.

the issue is, that if the channel numbers are set by the m3u source it will overwrite the channel number (if its 0) to the number specified from telerising (or zattoo?) because its peridiocaly checking the m3u. but i need them to be 0 so they are only shown by their name and dont have a channel number in order for schedules direct to be able to match them.

so if i dont use like a script or something to change the channel number to 0, i have to manually match like 207 channels if it resets.

there is this option in tvheadend but it doesnt work for me: image Channel name of service in tvheadend: image i also tried it with threadfin, but that also just outsources the manual matching progress, because it doesnt let me choose 0.

thanks for looking into it

edit: if someone else also has that issue, here is my fix: https://github.com/ojsef39/m3u_modifier