Scanning library takes hours just for a couple of movies/shows

Hey everyone.
The last couple of days my PMS took way too much time to scan a couple of movies. Most of the time the movies wouldn’t even get a cover even if they received every other metadata. I tried various tipps that I found in this board and on reddit without any success (plex dance etc.).
Naming scheme is correct. Media folder is well organized.
Media
-Movies
–Title (year)
—Title
-Series
–Title
—Season 0X
----Title SXXEXX
So today I decided to uninstall PMS and reinstall everything.

My Setup is
Device: Synology 718+ (at 4% CPU and 9% RAM while scanning)
Server Version#: 1.18.8.2468
Player Version#: all up to date

Long story short, problems:

  • scraping/scanning takes a lot of time compared to like one week ago
  • no covers most of the time
  • no pictures for any actor

This is an example of how it looks on most of the movies:

Anyone got a clue what I’m missing here? Thanks!

1 Like

I believe there is a bug. My issue is with music but same issue as you. Incredibly slow scans. I submitted logs. I was asked for my database. This was days ago. I’ve not heard anything as of yet.

May I please have DEBUG logs (VERBOSE turned OFF, DEBUG turned ON – which is the default)

  1. Restart the server
  2. Let it stabilize for a minute
  3. Force refresh metadata for the smallest section missing metadata
  4. Let it complete
  5. Settings - Server - Troubleshooting - Download Logs
  6. Attach the ZIP file

I have two suspicions already based on the symptoms. The logs will hopefully be definititive

@DJ-BrianC Yeah I really hope it’s something like this and not on my end.

@ChuckPa I started the process right after your post and it took until now for 22 movies. Here’s the log.

Plex Media Server Logs_2020-03-05_21-07-07.zip (4.2 MB)

I’ll send mine in an hour or so. Need to let DVR finish.

But they were sent previously in another post.

Ok, I think I see what’s happening here.

Fundamental issue is timeouts are occurring when attempting to access TheMovieDB.

Let’s take what this looks like on the surface and proceed from there.

  1. Stop Plex
  2. Open File Station
  3. Navigate into the Plex share
  4. Navigate down into Library/Application Support/Plex Media Server/Plug-in Support/Caches
  5. Delete all you see here. (These are the agent caches)
  6. Now navigate back upward and down into Plugin Support/Data (not Databases)
  7. Again, delete all you see here.

As confirmation, here are the two places you are going to delete from.

When deletions are complete,

Start Plex
Refresh all metadata for the one section.

If the caches were compromised and impeding the data retrieval (which can become compromised if interrupted), these steps will clear them out so they can now retrieve the data as they would have initially.

Does this affect music as well?

Does nothing for music. Here’s my info from previous unanswered post.

Logs show nothing (not surprised)

How is the media named & structured (ignore tags for one moment).

Is it?

Artist/
  Album/
    Number - Track title

This is one library it gets stuck on. Old scanner never had a problem.

Would it be possible to have copy/paste of text from the computer please?

From what I can see in that screenshot, there is no track number.

Thank you so far.
Did this but it went on being slow and it didn’t match the missing metadata. Here’s the log again.

Plex Media Server Logs_2020-03-06_06-33-27.zip (4.6 MB)

Question please.

Is this scanning movies/television or music?

The OP is about shows, I’ve seen m4a (audio files), and the logs show matching video.

I’m a bit confused.

Is the media mixed together? (Audio intermixed with Video)?

There is no single audio file in my whole library. Everything in there is mp4/mkv/avi.

Correct there is no track number. It’s artist - title

I don’t like having threads with mixed topics but that’s my fault for not speaking up sooner.

Regarding music:

  1. The old Premium Music didn’t require track numbers
  2. With the new mechanism, while not required either there is a big penalty if track numers aren’t provided. The penalty is that all songs in the album must be scanned and fingerprinted then match-tested as a composite unit to find the album,
  3. Current music matching fingerprints first and last numbered track. It then performs the lookup. If a candidate album is found using those two track numbers, the other tracks are checked (not fingerprinted) to finalize the match. If a match cannot be made using fist & last tracks of the album (that directory) then the entire directory contents are fingerprinted and searching begins. It will continue to search until it finds a match score high enough.
  4. This is why I stay with conventional (basic)
Artist / Album-Artist
  Album
   Number - Title
  1. I can perform a full, library build, from cold, over my 40 Mbps internet (slow), in under 2 hours for all 15,000+ tracks I have

I therefore assert: Curation technique is critical. I use MusicBrainz Picard for that curation. No fancy tagging is needed.


Movie matching being slow

@reap

I just did “28 Days Later”

[chuck@lizum ~.503]$ date
Fri 06 Mar 2020 12:57:57 PM EST
[chuck@lizum ~.504]$ make-movie "28 Days Later (2002)"
Making "28 Days Later (2002)}"
Done
[chuck@lizum ~.505]$

In the time it took me to open PMS in the browser

Have you cleared out ALL the data and agents as instructed above THEN
moved a movie OUT from where monitored, Scan files, Empty Trash, Clean Bundles , move the file back INTO position, Scanned again (Plex Dance) and see if it will match again as new?

Just finished this progress again, just to be sure I didn’t miss anything.
As I type its scanning one movie for 5 minutes without any visible progress. Meanwhile another movie “finished” scanning without any metadata.
So the problem continues to ruin the start of the weekend for me :grinning:

Let me be certain I understand?

  1. It is attempting to import (add) the movie to the library
    -or-
  2. It is attempting to play the movie

If need be, you and I can make alternative arrangements for to resolve this.

It’s trying to add/scrape the movie(s):

Anything that’s helping is welcome. Thanks again.