Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TVDB plugin not handling absolute display order #4054

Merged
merged 1 commit into from
Sep 5, 2020
Merged

Fix TVDB plugin not handling absolute display order #4054

merged 1 commit into from
Sep 5, 2020

Conversation

lmaonator
Copy link
Contributor

Changes
Add check for "absolute" order and set IndexNumber to TVDBs AbsoluteNumber.

From what I've seen AbsoluteNumber can be either null or 0 on TVDB, both should be considered invalid (there are some shows where all episodes have their absolute number set to 0). I think in that case the best action is to leave it at the default id.IndexNumber that Jellyfin presumably got from parsing the filename.

Issues
addresses #3062

@lmaonator
Copy link
Contributor Author

Example:
Before applying the fix, with absolute display order enabled: "Hospital Besieged: The Evil Hand Revealed!" is S02E01 or absolute E58, displayed incorrectly as episode 1:
naruto_incorrect2

With fix it is correctly displayed as episode 58:
naruto_fixed2

@Bond-009 Bond-009 merged commit 43e360a into jellyfin:master Sep 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants