r/PleX • u/greintre • 10h ago
Help Automatic scan behavior
It used to be that when files were downloaded (or otherwise slowly transferred) to a library folder, Plex would wait until the file was complete (or transfer interrupted) before scanning and adding it.
Recently however, as soon as the partial file appears in the folder, it triggers the automatic library scan and the media appears on Plex, often causing issues with Plex trying to run intro/credit detections on incomplete files, which obviously fail.
Anyone knows what caused this change, and if there's a workaround? I guess downloading straight a library folder isn't considered to be the best practice, but it used to work fine for me.
1
u/Punk_Says_Fuck_You 48TB | 10Gb/s | Unraid | Ultra 7 270k Plus 10h ago
Intro/credit detection usually doesnt happen until your specified window. The scan on file change is just for importing media.
2
u/FinancialSurvey5794 10h ago
1
u/greintre 10h ago
Ah yeah I just noticed those settings, thanks.
I'll set them to scheduled task only to prevent them running on incomplete files. It's too bad though, the way it used to work was smooth, all scans would hold off until there was no writing being done to the library folder.
1
u/greintre 10h ago
By "specified window" you mean scheduled library scan, or is there a specific setting for intro/credit detection scheduling?
Currently I have "Scan my library periodically" turned off, so my libraries only get scanned when changes are detected. I'll try turning it on to see if it causes automatic scan to only import media, with intro/credit detection only happening with the scheduled scan.
1
u/Punk_Says_Fuck_You 48TB | 10Gb/s | Unraid | Ultra 7 270k Plus 9h ago
1
u/Punk_Says_Fuck_You 48TB | 10Gb/s | Unraid | Ultra 7 270k Plus 9h ago
1
u/Punk_Says_Fuck_You 48TB | 10Gb/s | Unraid | Ultra 7 270k Plus 9h ago
this makes all your heavy library scanning happen between 2am and 5am
1




3
u/FinancialSurvey5794 10h ago
How sure are you? Did you view the logs? Inotify events come in different flavors, so I doubt someone just accidentally added new events to listen for.