Jellyfin Forum
Duplicates when moving files - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Media Scanning & Identification (https://forum.jellyfin.org/f-media-scanning-identification)
+---- Thread: Duplicates when moving files (/t-duplicates-when-moving-files)

Pages: 1 2


RE: Duplicates when moving files - halfchemistry - 2024-11-02

(2024-06-25, 11:38 AM)windowsdan Wrote: I am using the latest 10.9.7 JellyFin on Linux (debian based) and all works completely fine except when I move a video file from one folder in a library to another. I then get duplicates, as the file moving to the new folder is seen and scanned into the library, but the fact that it no longer exists in the previous folder is ignored by the library scan.

This persists through a full scan of all libraries or just a update new files scan. I have to manually click on the video and delete it to remove it from the library.

Surely there should be some way of Jellyfin recognising files that have disappeared and then removing their entries from the library on a scan?

An Example:
  • I have the library '4K Films' and it points to /media/4k and 10 other locations across 10 hard drives /mnt/e, /mnt/f, /mnt/g ... etc
  • I use the /media/4k folder to extract or rip videos to as it is on an nmve and super fast, there is then a crontab job over night to move those files to the most recent slower hard disk for storage.
  • I need it to be available locally on the nmve in Jellyfin as I can be in a situation of wanting to watch straight away and won't wait for transfer to hard disk
  • I don't want to have to delete the duplicates every day once the script has run over night
  • I do script in a library scan after the transfer but like I said that doesn't help. It shows the library entry for the file in the new location but never removes the missing old one


Hi, I'm having a similar problem. May I ask you if your hdd is formatted in ntfs, exfat of ext4? (or others)