Certain files are being analyzed on every scan

It seems that files–especially duplicates, that are already recognized/matched/analyzed are being analyzed again during a library scan, which is seemingly slowing down the scanning process.

These appear with the words, didn't exist, can't skip which is rather ambiguous because these already exist in Plex.

~ $ tail -f /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Logs/Plex\ Media\ Server.log|grep "didn't exist"
Mar 07, 2021 18:41:29.655 [0xffff68ff9190] DEBUG - File '/drive/Movies/The Dark Knight (2008)/The.Dark.Knight.2008.REMUX.1080p.BluRay.TrueHD.5.1.VC-1-LEGi0N.mkv' didn't exist, can't skip.
Mar 07, 2021 18:41:29.678 [0xffff68ff9190] DEBUG - File '/drive/Movies/Iron Man 3 (2013)/Iron.Man.3.2013.BluRay.1080p.DTS-HD.MA.7.1.AVC.REMUX-FraMeSToR.mkv' didn't exist, can't skip.
Mar 07, 2021 18:41:30.258 [0xffff68ff9190] DEBUG - File '/drive/Movies/Casino Royale (2006)/Casino.Royale.2006.REMUX.1080p.Blu-ray.AVC.DTS-HD.MA.5.1-LEGi0N.mkv' didn't exist, can't skip.
Mar 07, 2021 18:41:30.654 [0xffff68ff9190] DEBUG - File '/drive/Movies/The Terminal (2004)/The Terminal 2004 BluRay REMUX 1080p AVC DTS-HD MA5.1 2Audio-CHD.mkv' didn't exist, can't skip.
Mar 07, 2021 18:41:31.112 [0xffff68ff9190] DEBUG - File '/drive/Movies/The Dark Knight Rises (2012)/The Dark Night Rises 2012 BluRay REMUX 1080p AVC DTS-HD MA 5.1-LEGi0N.mkv' didn't exist, can't skip.
...

Which corresponds to FFMPEG processes:

~ $ tail -f /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Logs/Plex\ Media\ Server.log|grep "FFMPEG"
Mar 07, 2021 18:41:29.687 [0xffff7a7fc190] DEBUG - [JobRunner] Job running: FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/367b3d4-3673-linux-aarch64/' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxo' '/usr/lib/plexmediaserver/Plex Media Scanner' '--match' '--type' '1' '--log-file-suffix' ' Matcher' '--files' '/drive/Movies 2/The Dark Knight (2008)/The.Dark.Knight.2008.1080p.BluRay.x264.DTS-HD.MA.5.1-SWTYBLZ.mkv'
Mar 07, 2021 18:41:30.247 [0xffff7a7fc190] DEBUG - [JobRunner] Job running: FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/367b3d4-3673-linux-aarch64/' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxo' '/usr/lib/plexmediaserver/Plex Media Scanner' '--match' '--type' '1' '--log-file-suffix' ' Matcher' '--files' '/drive/Movies 2/Iron Man 3 (2013)/Iron.Man.3.2013.REMASTERED.1080p.BluRay.x264.DTS-SWTYBLZ.mkv'
Mar 07, 2021 18:41:30.642 [0xffff6b7fe190] DEBUG - [JobRunner] Job running: FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/367b3d4-3673-linux-aarch64/' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxo' '/usr/lib/plexmediaserver/Plex Media Scanner' '--match' '--type' '1' '--log-file-suffix' ' Matcher' '--files' '/drive/Movies 2/Casino Royale (2006)/Casino.Royale.2006.REMASTERED.1080p.BluRay.x264.DTS-HD.MA.5.1-SWTYBLZ.mkv'
Mar 07, 2021 18:41:31.101 [0xffff7a7fc190] DEBUG - [JobRunner] Job running: FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/367b3d4-3673-linux-aarch64/' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxo' '/usr/lib/plexmediaserver/Plex Media Scanner' '--match' '--type' '1' '--log-file-suffix' ' Matcher' '--files' '/drive/Movies 2/The Terminal (2004)/The.Terminal.2004.1080p.BluRay.X264-AMIABLE.mkv'
Mar 07, 2021 18:41:31.501 [0xffff797fa190] DEBUG - [JobRunner] Job running: FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/367b3d4-3673-linux-aarch64/' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxo' '/usr/lib/plexmediaserver/Plex Media Scanner' '--match' '--type' '1' '--log-file-suffix' ' Matcher' '--files' '/drive/Movies 2/The Dark Knight Rises (2012)/The.Dark.Knight.Rises.2012.1080p.BluRay.x264.DTS-FGT.mkv'
...

I’m seeing the same issue

I think this should improve when using the recommended file naming & organization conventions. I’m not sure which combination of things triggers it specifically.


Hrmph. Maybe not. I had a couple movies that were behaving that way, and renaming them to be correct addressed the problem.

But I also have a couple of movies that are named correctly, and they’re still exhibiting the “can’t skip” log message.

And renaming some other problem files, even slightly, was enough to stop this from happening.

So it seems like naming isn’t the (primary? only?) issue. Perhaps something to do with the file modification tracking in the database, and/or multi-version detection.

So I’m not sure!


Are there other video files in the same directories as the files getting this message?

OR

Do you have other Versions of these movies?

OR

Do you have other (empty) directories that would match these same movies?

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