For those of us that have multiple libraries , how hard would it be set up a multi-threaded scan?
For example, if I add movies to my Adventure library, my Drama library and my TV shows library all at the same time, the scan needs to complete one library before moving on to the next, and so on. Can we get Plex to be able to scan multiple libraries at a time?
For some of my production code, I determine the number of logical cores installed in the system, then spin up a number of threads based on the number of logical cores in the system, minus 1 (need something for the OS here). Maybe another option is to make it configurable in server settings. Perhaps it could default to 1 but allow you to change the number of simultaneous scans to a number not to exceed your current logical core count?
I think it would make scanning a heck of a lot faster for those of us that have multiple large libraries (I have 10 libraries for just movies, each with 500-1000 movies, not including my Music and TV libraries, which also have thousands of entries).
Additionally, it would make data migrations a whole lot faster. When moving data from location to another (i.e. from one NAS to another), there are a lot of scans to be done to maintain watch history, metadata, etc. I’m running across this tonight as I type this, as I am migrating some of my libraries from one NAS to another, but I basically have to wait for one library to finish before being able to do anything with the others.
Just a thought, though. It wouldn’t really be a feature anyone would notice on playback or from a client side, but it would certainly help those of us whose Plex servers are a labor of love.