I need help with a library in plex, constantly scanning it

hello,
Plex Media Server Logs_2022-08-15_10-33-36.zip (4.5 MB)

i have a library in plex that is constantly being scanned, and i have no idea why.

here are the logs

You have the “Scan my library automatically” option selected and each time something in one of your media folders changes it will trigger a scan.

Check your library scanning settings and adjust them accordingly by going to Settings → Library (and make sure “Show Advanced” is selected).

In addition this naming may or may not be causing you problems …

/volume1/media/comedy specials/Chris D'elia No Pain (2020) (tt11987296)

I’d suggest you change this to the following as they way you have the id tag is not correct …

/volume1/media/comedy specials/Chris D'elia No Pain (2020) {imdb-tt11987296}

the library that is constantly scanning has not been touched in weeks, with 1 or 2 items being added to it.

what do you mea nthe id tag is not correct? i use the same id tag on all my movies in all my other libraries.

No, the tag itself is correct but the way you have it in your folder naming is not. ( ) is for year and { } is for tags. So (tt11987296) should be changed to {imdb-tt11987296}. See Naming and organizing your Movie files | Plex Support for additional information.

i was using a program called TinyMediaManager to add the imdb tag, by using this

${title} (${year}) (${imdb})

I don’t use that tool myself but off the top of my head this might do it …

${title} (${year}) {imdb-${imdb}}

Otherwise lets see if someone else from the community who does use it comes along and shows the right syntax.

i used that token, and it was able to rename the file.

looking through my logs did you see anything else that i need to fix?

Nothing objious I could see. I would scan your libraries again after the rename of your media, let plex do it work and see if the situation improves. If not then a fresh set of logs afterwards would probably be best.

sounds good, i will rename all the items in thew comedy specials library and do a rescan and uploads the logs.

thanks so much

As I say, may or may not be related to your original post but will certainly help with matching and the scanner in general.

Does the scan ever stop then restart later?

I have had issues like this before and it has always been something to do with some kind of corruption in one of the last files I placed in the directory

    1. Filter that library to date added
  1. Remove the last few files that you put in the library and place them somewhere else on your file system where Plex doesn’t see it
  2. Manually scan the library after you do that and see if the scan stops by itself

I don’t know if this is your problem I’m only speaking from my past experience
But if you only have a few items to remove since this problem started it might be worth a shot before you try to rename everything in the library

On the naming issues I tried Chris D’elia No Pain (2020) (tt11987296) and it matched fine and stopped scanning. Like Dokuro mentioned, this may or may not be causing a problem if all your files are named that way

My suspicion is that those IMDB tags are just being ignored by the scanner and are matching because you have the files named properly overall. For all I know the (Parenthesis) may work, I’m just guessing

I never used Tiny Media manager but if it’s like Filebot or most other bulk renamers you can just edit the (Parenthesis) for {Curly Brackets}

If you do find a file that is giving you issues you may have to find another source. You can try to change it from .mkv to .mp4 or run it through a program like Handbrake and try it again

the issue is. the library will constantly scan, and if i press cancel, it will stop but then continue right away, i did rename all of the movies to have the
{} curly brackets in the tag, i will get plex to scan the library and see what it does.

And let the scan complete… If you have a lot of content if might take some time. I’m guessing it might not have been matching right which is causing it to attempt to match each time a scan is started. The right format now could be helpful.

ok so i had plex rescan the library called comedy specials and there is only 206 items, and its been scanning for 10 minutes.

so there is something weird happening.
Plex Media Server Logs_2022-08-15_13-30-42.zip (4.3 MB)

Still looking at your logs but you appear to be running out of space …

Aug 15, 2022 13:28:16.294 [0x7f5dd454eb38] ERROR - [Notify] Failed to add watch for "/volume1/media/tv_shows/Bel-Air/Season 01" (28: No space left on device)
Aug 15, 2022 13:28:16.294 [0x7f5dd454eb38] ERROR - [Notify] Failed to add watch for "/volume1/media/tv_shows/Chicago Med" (28: No space left on device)
Aug 15, 2022 13:28:16.294 [0x7f5dd454eb38] ERROR - [Notify] Failed to add watch for "/volume1/media/tv_shows/Tales of the Walking Dead" (28: No space left on device)
Aug 15, 2022 13:28:16.294 [0x7f5dd454eb38] ERROR - [Notify] Failed to add watch for "/volume1/media/tv_shows/Tales of the Walking Dead/Season 01" (28: No space left on device)

EDIT: I also see you are using nfo files so not sure why you have both nfo and have ids in the folders.

Aug 15, 2022 13:30:27.443 [0x7fe3a775a140] DEBUG - Scanner [Plex Movie]: extracted IMDB id 'tt5571712' from "/volume1/media/comedy specials/Jeff Foxworthy && Larry the Cable Guy - We've Been Thinking (2016) {imdb-tt5571712}/Jeff Foxworthy && Larry the Cable Guy - We've Been Thinking (2016) {imdb-tt5571712}.nfo"

Anyhow, might see if a ninja will jump in and see what might be happening.

i think the error, is i need to increase the amount of folders plex can see. there is a post here somwhere.

which log file should i look at to see myself what the issues are?

I would certainly fix that before debugging anything else.

For the logs I typically sort by last modified and start that way. I review Plex Media Server.log and the Plex Media Scanner Matcher.log but it can depend what I’m debugging.