"Lock" item, library, or folder to speed up scans

Problem: Some of my libraries are very large. I have tens of thousands of photos, for example. I’ve had to break these into decades to keep the library sizes down, but even then scanning one takes a very looooong time.

I have similarly had to break my movie, music, and TV libraries up by genre, and have quite a few of them. Even then, some genres are quite large and take a very long time to scan. I’ve had to disable periodic scans, but even then when I add an item it can take a very long time. I moved a video an hour ago and it is still scanning the library.

Proposal: It would be very helpful if I could “lock” an item, library, or folder to indicate that it is no longer changing and shouldn’t be re-scanned.

Examples:

  • I don’t need “The Wizard of Oz” to be scanned again and again - it’s not 1939 any more, the video isn’t changing. In the unlikely event I change some of the art or something in its folder, or move it, or add another resolution, I could manually select it to be scanned or unlock it. So if I scan the library of “fantasy” films, it could be skipped to make the scan go faster.
  • I’m not adding photos to my 1970s photo library on a daily basis. I could “lock” it and it could be skipped in automatic scans to make them go faster.
  • If I am no longer adding anything to d:\video\homevideos and am now only adding them to e:\video\homevideos I could “lock” the former folder within its library and it could be ignored for scans.
  • If I do change something that’s locked I could manually have it re-scanned. For example, if I moved The Wizard Of Oz from d:\video\fantasy to e:\video\fantasy I could either right click it in the library and select “scan metadata” or I could right click it and select “unlock”, then scan the library, then right click the video and select “lock” when it’s done.

The “lock” feature could be implemented on the individual item, folder, or library level. Locking a higher level (Library>folder>item) thing could be implemented by simply locking the things it contains, so “unlocking” such a thing could simply unlock the things it contains. (Thus, if I had locked some movies within a library, couldn’t remember which, but wanted them all unlocked, for example if I was moving things around on disc, I could just select “unlock” on the library and it would unlock them.)

The general concept here is that most Plex users add content and then leave it - they aren’t constantly changing the stuff in their content. (A movie doesn’t often change once you get it on video.) So the re-scans of libraries waste a lot of time re-scanning stuff that hasn’t changed and won’t. There are some obvious exceptions, such as TV libraries of people using the DVR features, and so those libraries could be left unlocked.

i like what your talking about it so would be easy to just tell plex to scan one tv folder if you know how big it is but not have it scan all of the folders for the tv
~richard

I would love to have a solution to speed up library updates. This feature would be great.

I would really love something like this.

My libraries are huge, it would be nice to be able to configure the scanner such that items can be “imported” rather than a full library scan .

very interested in reducing workload of resource intensive tasks (rasberry pi 4 x64 server)

i recently re-organised the music folder into an A, B C etc… type structure and this improved the scanner performance slightly.

When using Plex server with G Suite account, it is recommended to turn off automatic scan. However that would affect other libraries that are running on your local storage. So it would be nice to be able to turn off scanning for individual libraries you created.

I second this request,

So this question has been asked before in a diffrent way see feature request here However I have 2 servers of which my movie library is split between. Both servers share the drives to the plex server. Because I have 2 seprate locations when i do a movie update/scan for new movies it will scan every single item on both drives. I have almost 10k movies and this takes for freaking ever. I only ever add new movies to my new server and the other folder where movies are stored does not ever get updated.

Can you PLEASE add an option to either turn on/off scanning on certain folders or add the option to chose which folder of the media type you want to scan.

Example:
MOVIES
|- U:\Movies
|- X:\Movies

I want it to ONLY scan U:\Movies

Another option would be add flags to the “Plex Media Scanner.exe” file so that I can make a scheduled task to scan that folder periodically.

Example: “C:\Progra~2\Plex Media Server\Plex Media Scanner.exe” /D U:\Movies

If someone mentions the option to “Run a partial scan when changes are detected” this does not work the way you think it should. it does not scan newly added folders.