Different movies missidentified as different versions of same movie #2797

Closed
opened 2026-02-06 22:26:08 +03:00 by OVERLORD · 7 comments
Owner

Originally created by @carlosrllodra on GitHub (Mar 14, 2021).

Describe the bug

Movies with matching file name beginnings are missidentified as different movie versions, instead of as different movies.
These file names do not follow the naming convention explained in the documentation, that is, they are not named movie - whatever (with space-hypen-space separator, as documented here: https://jellyfin.org/docs/general/server/media/movies.html )

As an example, if I have 4 files in the same subdirectory:

  • American_Pie__xxx_yyy.avi
  • American_Pie_2__xxx_yyy.avi
  • American_Pie_3__A_subtitle__xxx_yyy.avi
  • American_Pie_4__Subtitle__HHH_xxx_yyy.mkv

Then all of then are incorrectly identified as different versions of the same movie, instead of different movies.

I'm not sure, since I don't use jellyfin everyday, but I would bet this happened after updating to 10.7

System (please complete the following information):

  • OS: Ubuntu 20.10
  • Virtualization: no
  • Clients: browser
  • Browser: Firefox 86
  • Jellyfin Version: 10.7.0
  • Playback: N/A
  • Installed Plugins: AudioDB, Cover Art Archive, MusicBrainz, OMDb, TMDB Box Sets
  • Reverse Proxy: none
  • Base URL: none
  • Networking: not virtualized
  • Storage: local

To Reproduce

  1. Add some files named as above.
  2. Let jellyfin discover them, or rescan the library
  3. Go to movie library
  4. They are misidentified as 3 versions of the same movie instead of 3 different movies.

Expected behavior

Files named similarly should not be identified as same-movie-versions when they do not follow the documented naming convention.

Logs

Screenshots

imagen

Additional context

Originally created by @carlosrllodra on GitHub (Mar 14, 2021). **Describe the bug** <!-- A clear and concise description of what the bug is. --> Movies with matching file name beginnings are missidentified as different movie versions, instead of as different movies. These file names *do not follow* the naming convention explained in the documentation, that is, they are not named `movie - whatever` (with space-hypen-space separator, as documented here: https://jellyfin.org/docs/general/server/media/movies.html ) As an example, if I have 4 files in the same subdirectory: - American_Pie__xxx_yyy.avi - American_Pie_2__xxx_yyy.avi - American_Pie_3__A_subtitle__xxx_yyy.avi - American_Pie_4__Subtitle__HHH_xxx_yyy.mkv Then all of then are incorrectly identified as different versions of the same movie, instead of different movies. I'm not sure, since I don't use jellyfin everyday, but I would bet this happened after updating to 10.7 **System (please complete the following information):** - OS: Ubuntu 20.10 - Virtualization: no - Clients: browser - Browser: Firefox 86 - Jellyfin Version: 10.7.0 - Playback: N/A - Installed Plugins: AudioDB, Cover Art Archive, MusicBrainz, OMDb, TMDB Box Sets - Reverse Proxy: none - Base URL: none - Networking: not virtualized - Storage: local **To Reproduce** <!-- Steps to reproduce the behavior: --> 1. Add some files named as above. 2. Let jellyfin discover them, or rescan the library 3. Go to movie library 4. They are misidentified as 3 versions of the same movie instead of 3 different movies. **Expected behavior** <!-- A clear and concise description of what you expected to happen. --> Files named similarly should not be identified as same-movie-versions *when they do not follow* the documented naming convention. **Logs** <!-- Please paste any log errors. --> **Screenshots** <!-- If applicable, add screenshots to help explain your problem. --> ![imagen](https://user-images.githubusercontent.com/59733246/111066580-01941000-84c0-11eb-8632-c56f28c517df.png) **Additional context** <!-- Add any other context about the problem here. -->
OVERLORD added the bug label 2026-02-06 22:26:08 +03:00
Author
Owner

@crobibero commented on GitHub (Mar 14, 2021):

What is the full path for these movies?

@crobibero commented on GitHub (Mar 14, 2021): What is the full path for these movies?
Author
Owner

@carlosrllodra commented on GitHub (Mar 14, 2021):

They are all in the same subdirectory under movie library root.
Following the same example, their path would be: .../Comedy/American_Pie/

The last directory matches the beginning of all file names.

@carlosrllodra commented on GitHub (Mar 14, 2021): They are all in the same subdirectory under movie library root. Following the same example, their path would be: `.../Comedy/American_Pie/` The last directory matches the beginning of all file names.
Author
Owner

@Jerroder commented on GitHub (Mar 15, 2021):

As documented in the article you linked you should create 4 directories, one for each movie.

@Jerroder commented on GitHub (Mar 15, 2021): As documented in the [article you linked](https://jellyfin.org/docs/general/server/media/movies.html) you should create 4 directories, one for each movie.
Author
Owner

@cvium commented on GitHub (Mar 15, 2021):

We made some fixes for multi-version detection in 10.7, which may have affected your setup. As your naming scheme isn't supported I'm closing this.

@cvium commented on GitHub (Mar 15, 2021): We made some fixes for multi-version detection in 10.7, which may have affected your setup. As your naming scheme isn't supported I'm closing this.
Author
Owner

@carlosrllodra commented on GitHub (Mar 15, 2021):

Well, my naming scheme does not match what is documented: I am not using the ' - ' separator required for multi-version detection, so it shouldn't apply versioning (or on the other hand, documentation should be fixed).

Anyway, it would be nice to have some means to manually fix these incorrect multi-versioning...

@carlosrllodra commented on GitHub (Mar 15, 2021): Well, my naming scheme does not match what is documented: I am *not* using the `' - '` separator required for multi-version detection, so it shouldn't apply versioning (or on the other hand, documentation should be fixed). Anyway, it would be nice to have some means to manually fix these incorrect multi-versioning...
Author
Owner

@cvium commented on GitHub (Mar 16, 2021):

_ was re-added as a separator in 10.7 due to some old unit tests.

I'm going to revert that part because I think it's a excessive. That said, when your naming scheme doesn't match the documentation you have to expect some weirdness at times.

@cvium commented on GitHub (Mar 16, 2021): `_` was re-added as a separator in 10.7 due to some old unit tests. I'm going to revert that part because I think it's a excessive. That said, when your naming scheme doesn't match the documentation you have to expect some weirdness at times.
Author
Owner

@carlosrllodra commented on GitHub (Mar 16, 2021):

Thanks, @cvium

@carlosrllodra commented on GitHub (Mar 16, 2021): Thanks, @cvium
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#2797