jellyfin / jellyfin-web

Web Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
2.35k stars 1.26k forks source link

Having an additional part for a TV episode causes clicking an episode in the season's episode list to be off #6242

Open 1hitsong opened 21 hours ago

1hitsong commented 21 hours ago

Describe The Bug It appears if you have an additional part of a TV episode, it will cause the list of episodes to not play the correct episode when clicked. It looks like it'll be off by the number of additional parts you have.

In my case, I have a TV series with 10 episodes, but the first episode is in 2 parts. If I click on episode 2, it plays 1x01 part 2. If I click on episode 3, it plays 1x02. etc.

To play episode 10, I must first play episode 9 then click the next button in the OSD. I can't directly play 10 since clicking on it will play 1x09.

Steps To Reproduce

  1. Have a TV series with an episode split into 2 parts. In my case, this was done simply using the file name convention image

  2. Click into the TV series details and season so you are at the list of episodes

  3. Click on an episode past your episode that is multi part

  4. See error

Expected Behavior Clicking on a specific episode should play the episode I clicked on.

Logs

No errors seen in log nor in browser console.

Screenshots https://github.com/user-attachments/assets/b0ff5bdc-5519-404c-b483-da1672410585

System (please complete the following information):

Additional Context

thornbill commented 16 hours ago

Does clicking the title open the details view of the second episode correctly?

1hitsong commented 16 hours ago

Yes, clicking the title from the details view and clicking the info icon on the season page both take me to the correct detail page; however, if I click the play button on a detail page for a later episode, it fails to play.

https://github.com/user-attachments/assets/e3cf4ded-4cc8-44b2-9046-d435d15074a9