Plex keeps rescanning folders with tvdb ID in it

Server Version#: 1.41.3.9314

Short version: after some data loss, system reimaging, and poor decisions, I thought I’d save myself some headaches in case I ever lose both my Sonarr and Plex db again and have my show level folder be Title (Year) {tvdbid}. I do this with filebot and it makes readding shows to Sonarr blazing fast.

It appears that Plex scanner (set to only pick up changed folders) keeps scanning these as well whenever a scan is triggered, and the log says something like this for every show and season folder:

Feb 01, 2025 16:10:18.382 [40776] DEBUG - Updating directory 'Arrested Development (2003) {tvdb-72173}\Season 02' (ID 36270) to time 2025-02-01 11:46:18.

Sonarr does NOT connect to Plex, it only downloads media to the drive plex monitors.

OS is Windows 11 running a large Stablebit Drivepool volume with duplication off.

Why does this rescan happen? My series foldername is appropriate per official Plex documentation.

The automatic scan is triggered by a change in the folder, probably caused by some *arr app.
These tend to perform write operations very often, thus triggering the change of the “modified” time stamp.

1 Like

Continue what @OttoKerner said, it is not recommended to have media downloaded directly to where Plex monitors. You should have it download to a staging folder and then you should be able to have the *arr move the file once it completes all the processing.

-Shark2k

1 Like

Well I turned off Sonarr completely, changed a foldername, and it triggered a scan of a few thousand folders, some with my new show naming convention, some regular. I’ve let this cycle a couple of times now with all applications that could have any chance of modiying these files turned off. All these shows and the episodes within being scanned are matched. I’m open to other suggestions but I have to assume either I’ve got a corrupt DB or something about this folder naming convention is bugging out.

You can always try @ChuckPa’s tool to check/repair your DB (even if your DB is not messed up, it does tend to help speed certain aspects up such as searching).

-Shark2k

With regard to naming convention, do what it says.

I have a QA test library of almost 900 full series.
Only 3 are deliberately named incorrectly to confirm how PMS handles these
situations.

Recommendations about scanning:

  1. Make certain “SHOW ADVANCED” is enabled in Settings - Library

  2. Make certain “Partial Scan” is enabled

  3. For reference, I use the following settings.

  4. Also for reference, you can see some of the names in this library along with the dummy episode-file count.

./The Good Wife/Season 07/The Good Wife - S07E14 - Monday.mkv
./The Good Wife/Season 07/The Good Wife - S07E15 - Targets.mkv
./The Good Wife/Season 07/The Good Wife - S07E16 - Hearing.mkv
./The Good Wife/Season 07/The Good Wife - S07E17 - Shoot.mkv
./The Good Wife/Season 07/The Good Wife - S07E18 - Unmanned.mkv
./The Good Wife/Season 07/The Good Wife - S07E19 - Landing.mkv
./The Good Wife/Season 07/The Good Wife - S07E20 - Party.mkv
./The Good Wife/Season 07/The Good Wife - S07E21 - Verdict.mkv
./The Good Wife/Season 07/The Good Wife - S07E22 - End.mkv
^C
[chuck@lizum tv.2030]$ pwd
/glock/qa/tv
[chuck@lizum tv.2031]$ find . -type f -print | wc -l
119856
[chuck@lizum tv.2032]$ 

I am creating, for benchmark purposes, a new library section:

  • 465 of the series are complete
  • almost 65000 episodes are complete
  • Elapsed time 75 minutes.

My scan settings mirror yours, and I haven’t ever changed them.

Everything is conventionally named outside of the year and tvdb being appended to the show name folder

\Arrested Development (2003) {tvdb-72173}\Season 01\Arrested Development - S01E01 - Pilot.mkv

To confirm the rest of the settings:

I use TMDB ordering for this (default).

In all my media and test media, I don’t have a problem with it rescanning anything.

Would it be possible to get your server debug log files ?

The idea logs would be:

  1. Restart Plex
  2. Wait 60 seconds (completely idle) for PMS to startup
  3. Scan files for a TV library section where this occurs
  4. Let it finish
  5. Download the Logs ZIP file
  6. Attach / upload that ZIP file here

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.