'tvg-chno=' tag not assigning channel numbers #585

Closed
opened 2026-02-06 19:51:39 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @rizzle95 on GitHub (Apr 12, 2019).

Describe the bug
tvg-chno= will not assign channel numbers.

To Reproduce

Each stream in the m3u file is in this format:

#EXTINF:-1 tvg-chno="14" tvg-name="1080p" tvg-logo="C:\Users\Rizzle\Desktop\IPTV\logos\Sport 2 HD.png" group-title="1080",BT Sports 2 HD 1080p http://myiptvprovider.com:80/Username/Password!!/375

The number at the end of the www link is what jellyfin uses to assign the channel number

The only way I have been able to get jellyfin to not use the number at the end of the stream link is to use this format in the m3u file:

#EXTINF:-1 tvg-name="1080p" tvg-logo="C:\Users\Rizzle\Desktop\IPTV\logos\Sport 2 HD.png" group-title="1080",BT Sports 2 HD 1080p
tvg-chno="14"
http://myiptvprovider.com:80/Username/Password!!/375

However, when i have it formatted like this, FFmpeg returns an error code 1.

No matter where I place the tvg-chno= tag, the streams are always numbered by the number at the end of their relevant web address

Expected behavior
By using the tvg-chno= tag, I expected Jellyfin the assign the value of that tag to the channel number of that stream

Logs

Screenshots

System (please complete the following information):

  • Browser: OS: Windows 10
  • Chrome
  • Jellyfin Version: 10.2.2
  • Reverse proxy: no
Originally created by @rizzle95 on GitHub (Apr 12, 2019). **Describe the bug** `tvg-chno=` will not assign channel numbers. **To Reproduce** <!-- Steps to reproduce the behavior: --> Each stream in the m3u file is in this format: `#EXTINF:-1 tvg-chno="14" tvg-name="1080p" tvg-logo="C:\Users\Rizzle\Desktop\IPTV\logos\Sport 2 HD.png" group-title="1080",BT Sports 2 HD 1080p http://myiptvprovider.com:80/Username/Password!!/375` The number at the end of the www link is what jellyfin uses to assign the channel number The only way I have been able to get jellyfin to not use the number at the end of the stream link is to use this format in the m3u file: `#EXTINF:-1 tvg-name="1080p" tvg-logo="C:\Users\Rizzle\Desktop\IPTV\logos\Sport 2 HD.png" group-title="1080",BT Sports 2 HD 1080p` `tvg-chno="14"` `http://myiptvprovider.com:80/Username/Password!!/375` However, when i have it formatted like this, FFmpeg returns an error code 1. No matter where I place the `tvg-chno=` tag, the streams are always numbered by the number at the end of their relevant web address **Expected behavior** By using the `tvg-chno=` tag, I expected Jellyfin the assign the value of that tag to the channel number of that stream **Logs** <!-- Please paste any log errors. --> **Screenshots** <!-- If applicable, add screenshots to help explain your problem. --> **System (please complete the following information):** - Browser: OS: Windows 10 - Chrome - Jellyfin Version: 10.2.2 - Reverse proxy: no
OVERLORD added the bugstale labels 2026-02-06 19:51:39 +03:00
Author
Owner

@fruhnow commented on GitHub (Apr 17, 2019):

I tested this using the example line you have given and it worked straight away if you use correct M3U-Format. Everything except the link http://myiptvprovider.com:80/Username/Password!!/375 has to be placed in one line with #EXTINF:

So using your example provided a correct formatting would look like this:

#EXTINF:-1 tvg-chno="14" tvg-name="1080p" tvg-logo="Logo.png" group-title="1080",BT Sports 2 HD
http://myiptvprovider.com:80/Username/Password!!/375

I tested this using the latest master.

@fruhnow commented on GitHub (Apr 17, 2019): I tested this using the example line you have given and it worked straight away if you use correct M3U-Format. Everything except the link `http://myiptvprovider.com:80/Username/Password!!/375` has to be placed in one line with `#EXTINF:` So using your example provided a correct formatting would look like this: `#EXTINF:-1 tvg-chno="14" tvg-name="1080p" tvg-logo="Logo.png" group-title="1080",BT Sports 2 HD` `http://myiptvprovider.com:80/Username/Password!!/375` I tested this using the latest master.
Author
Owner

@rizzle95 commented on GitHub (Apr 17, 2019):

Thanks for your effort mate!
I tested using the example you provided and I am still experiencing the same issue.
I copied your example exactly.

I have found that if I add a '?' to the end of the stream link, jellyfin will play the stream and ignores the number.

@rizzle95 commented on GitHub (Apr 17, 2019): Thanks for your effort mate! I tested using the example you provided and I am still experiencing the same issue. I copied your example exactly. I have found that if I add a '?' to the end of the stream link, jellyfin will play the stream and ignores the number.
Author
Owner

@fruhnow commented on GitHub (Apr 17, 2019):

Thanks for your effort mate!

You are very welcome!

I only examined the channel-number problem (which i couldn't reproduce sadly) as i can't test stuff regarding playback apart from in combination tvheadend.

If you want to dig deeper, maybe you can join our matrix channel (see repo main page) and ping me over there.

@fruhnow commented on GitHub (Apr 17, 2019): > Thanks for your effort mate! You are very welcome! I only examined the channel-number problem (which i couldn't reproduce sadly) as i can't test stuff regarding playback apart from in combination tvheadend. If you want to dig deeper, maybe you can join our matrix channel (see repo main page) and ping me over there.
Author
Owner

@stale[bot] commented on GitHub (Jul 29, 2019):

Issues go stale after 60d of inactivity. Mark the issue as fresh by adding a comment or commit. Stale issues close after an additional 7d of inactivity. If this issue is safe to close now please do so. If you have any questions you can reach us on Matrix or Social Media.

@stale[bot] commented on GitHub (Jul 29, 2019): Issues go stale after 60d of inactivity. Mark the issue as fresh by adding a comment or commit. Stale issues close after an additional 7d of inactivity. If this issue is safe to close now please do so. If you have any questions you can reach us on [Matrix or Social Media](https://jellyfin.readthedocs.io/en/latest/getting-help/).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#585