jellyfin-archive/jellyfin-plugin-autoorganize

Multiple files in same release overwritten in destination

Legogris opened this issue · 1 comments

Given a movie folder with three files in it, they all ended up in the same destination part, effectively deleting everything but the last file.

This happens despite "Overwrite existing movies" being set to false.

[15:15:05] [INF] [34] AutoOrganize: Sorting file /media/incoming/movies
[15:15:54] [INF] [82] App: MovieDbProvider: Finding id for item: Metropolis
[15:16:06] [INF] [80] AutoOrganize: Sorting file /media/incoming/movies/metropolis.1927/metropolis.1927.cd1.avi into movie /media/movies/Metropolis-(1927)/metropolis.1927.cd1.avi
[15:16:06] [INF] [80] AutoOrganize: Sorting file /media/incoming/movies/metropolis.1927/metropolis.1927.cd1.avi to new path /media/movies/Metropolis-(1927)/metropolis.1927.cd1.avi
[15:16:50] [INF] [34] LibraryMonitor: movies (/media/movies) will be refreshed.
[15:17:09] [INF] [80] App: MovieDbProvider: Finding id for item: Metropolis-(1927)
[15:17:26] [INF] [63] AutoOrganize: Sorting file /media/incoming/movies/metropolis.1927/metropolis.1927.extras.avi into movie /media/movies/Metropolis-(1927)/metropolis.1927.cd1.avi
[15:17:26] [INF] [63] AutoOrganize: Sorting file /media/incoming/movies/metropolis.1927/metropolis.1927.extras.avi to new path /media/movies/Metropolis-(1927)/metropolis.1927.cd1.avi
[15:17:51] [INF] [16] LibraryMonitor: metropolis.1927.cd1 (/media/movies/Metropolis-(1927)/metropolis.1927.cd1.avi) will be refreshed.
[15:17:58] [INF] [43] AutoOrganize: Sorting file /media/incoming/movies/metropolis.1927/metropolis.1927.cd2.avi into movie /media/movies/Metropolis-(1927)/metropolis.1927.cd1.avi
[15:17:58] [INF] [43] AutoOrganize: Sorting file /media/incoming/movies/metropolis.1927/metropolis.1927.cd2.avi to new path /media/movies/Metropolis-(1927)/metropolis.1927.cd1.avi

I guess this is the same problem I have: A movie file named Movie Name (2018) - FHD.mkv will correctly get put into a folder Movie Name (2018) but is renamed to Movie Name (2018) - UHD, which is a version of the movie already in the folder.