mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[Bug] Wrong season assignment when importing metadata from TubeArchivist due to filename parsing error in jellyfin #7824
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AlexAlex777 on GitHub (Nov 23, 2025).
Description of the bug
Jellyfin seems to incorrectly extract the season (which should be its release year) for TubeArchivist files. No NFOs are involved in the intermediation of data between TA and jellyfin.
For example, for the file with the following name rbu7Zu5X1zI.mp4, jellyfin incorrectly assigns it Season 5 instead of 2024 when it was published on YT.
Inside jellyfin's reported metadata for the file, the release date is 12/10/2024 (which is correct) and it's year is also correct (2024).
As someone else on TA's page reported in April, https://github.com/tubearchivist/tubearchivist-jf-plugin/issues/30, this seems to be a naming parsing error in Jellyfin when processing filenames (some sort of regex-based exception maybe?). Basically if there's an "x/X" or "-" in the file's name, it gets assigned as season the number before the "x" instead of the year.
Reproduction steps
What is the current bug behavior?
Jellyfin seems to incorrectly extract the season (which should be its release year) for TubeArchivist files. No NFOs are involved in the intermediation of data between TA and jellyfin.
For example, for the file with the following name rbu7Zu5X1zI.mp4, jellyfin incorrectly assigns it Season 5 instead of 2024 when it was published on YT.
Inside jellyfin's reported metadata for the file, the release date is 12/10/2024 (which is correct) and it's year is also correct (2024).
As someone else on TA's page reported in April, https://github.com/tubearchivist/tubearchivist-jf-plugin/issues/30, this seems to be a naming parsing error in Jellyfin when processing filenames (some sort of regex-based exception maybe?). Basically if there's an "x/X" or "-" in the file's name, it gets assigned as season the number before the "x" instead of the year.
What is the expected correct behavior?
Release year of the mp4 should be the Season number for the specific file.
Jellyfin Server version
10.11.3
Specify commit id
No response
Specify unstable release number
No response
Specify version number
No response
Specify the build version
10.11.3
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
This seems to be related to https://github.com/jellyfin/jellyfin/issues/13197, but in my current configuration of TA, there are no NFO objects involved, the plugin should get the metadata directly from TA's DB.