[Bug]: Channel programming list no longer shows season and episode number
What happened?
In the tunarr channel programming list for custom channels, when the show and episode titles were displayed, there was also the season number and episode number. This makes it much easier to manage the list, and see if the episodes are in the correct order, and where they are chronologically in the season of the show. (I'm using Jellyfin as the backend) Upon review of the diff of tunarr release 0.20.1, my suspicion is the issue was introduced into JellyfinSelectedProgramListItem here somewhere.
Please let me know if there's anything I can do to help troubleshoot this further.
Version
0.20.1
FFMPEG encoder type
CUDA (Nvidia)
What browser did you experience the the problem on?
Firefox
What operating system are you using?
Ubuntu 25.04
Relevant log output
Mind providing a screenshot of exactly which view you are referring to?
Sure no problem, one moment I'll attach it.
This is the view that used to list season and episode number.
Awesome thanks! I'll have a look.
Thank you! If you make a fix that needs to be tested, I can totally build a test branch and try it. Or whatever you want to do.
Love Tunarr btw, great software. As I become more familiar with it I'd like to start contributing 😁 (Particularly with regard to channel / programming sorting and scheduling mechanisms)
Thank you! I welcome any contributions!
Regarding things that may have changed... the code for formatting the titles in this view for episodes hasn't changed in a while: https://github.com/chrisbenincasa/tunarr/blame/dev/web/src/hooks/useProgramTitleFormatter.ts#L37-L49
So it the culprit is likely elsewhere
Confirmed that I cannot repro in the simple case (saving some shows from my JF server to my library), so definitely something slightly more nuanced.
I've meant to bring up this one in Discord too, I've not seen any obvious rhyme or reason as to why it happens... some shows have the ordering included, some don't... then just to complicate matters some shows have the ordering then it gets dropped!
Found a live example while scrolling, Sister Sister goes from the expected title including the s/e numbers, then drops off.
Just wanted to follow up and add an update here, I believe "Sister, Sister" is in the same channel that I had an issue with as well.
And also checking other channels, season and episode numbers show up. So it's not an "all or nothing" situation.
I'm guessing there is some kind of unsupported character in an episode title somewhere, or otherwise something happens that "breaks" the calculation code for the list entries, and the fallback code just displays the show and episode name as it's unable to calculate the season and episode number.
I'm guessing there is some kind of unsupported character in an episode title somewhere, or otherwise something happens that "breaks" the calculation code for the list entries
I'm thinking it's the latter as anytime I add anything to my channels as of late it seems to remove the season/episode numbering for the new stuff ((though not all channels seem to do this) after I click on the save button) while all the old stuff I had in the channels continues to have the season/episode numbers, and they normally don't have anything in the episode title that could be a unsupported character.
Season and episode number are not derived from the title or file names, they are based on metadata provided from your media source. More likely there is a bug in plumbing this data around in update that ends up clearing the info, somehow. Unfortunately it's tough to fix a bug like this without a solid and consistent repro case on my end.