tunarr icon indicating copy to clipboard operation
tunarr copied to clipboard

[Bug]: Channel programming list no longer shows season and episode number

Open wodencafe opened this issue 11 months ago • 12 comments

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


wodencafe avatar Jun 13 '25 18:06 wodencafe

Mind providing a screenshot of exactly which view you are referring to?

chrisbenincasa avatar Jun 13 '25 18:06 chrisbenincasa

Sure no problem, one moment I'll attach it.

wodencafe avatar Jun 13 '25 19:06 wodencafe

Image This is the view that used to list season and episode number.

wodencafe avatar Jun 13 '25 19:06 wodencafe

Awesome thanks! I'll have a look.

chrisbenincasa avatar Jun 13 '25 19:06 chrisbenincasa

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)

wodencafe avatar Jun 13 '25 19:06 wodencafe

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

chrisbenincasa avatar Jun 13 '25 19:06 chrisbenincasa

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.

Image

chrisbenincasa avatar Jun 16 '25 16:06 chrisbenincasa

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!

Muskehound avatar Jun 16 '25 18:06 Muskehound

Found a live example while scrolling, Sister Sister goes from the expected title including the s/e numbers, then drops off.

Image

Muskehound avatar Jun 16 '25 20:06 Muskehound

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.

wodencafe avatar Jun 18 '25 18:06 wodencafe

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.

Image

JourneyOver avatar Jul 03 '25 00:07 JourneyOver

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.

chrisbenincasa avatar Jul 21 '25 00:07 chrisbenincasa