[SOLVED] Plex's movie count and actual number of movies on disk differ

Server Version#: 1.40.1.8120 on linux.server.io docker
Player Version#: 4.125.1
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>

The number of movies that Plex Web shows is two greater than the number on disk. There are no duplicates, no hidden files or directories, and no collections.

Edit:

All my movies are stored in their own individual directory with no other content other than a subtitle file if needed. All of these directories are stored on many hard disks on the machine running PMS. These disks are combined in a mergerfs pool such that entering the pool’s root folder shows all the movies.

Running the following command in the bash shell from the pool root folder displayed two folders, each with the appropriate movie file plus another unintended subdirectory containing another movie file. Plex was able to see the movies in these subdirectories and put them in the library thus “increasing” the movie count to be two higher than the number of directories in the pool. It only took a few seconds to find them.

find . -mindepth 2 -maxdepth 3 -type d

Thanks to all who made suggestions to help solve this.

1 Like

Any items in Trash?

Do you have movies that should have been merged but were not. like a movie spread across two files?

An extra file for a movie (like a featurette) might be misnamed and Plex is trying to treat it as a separate film and not something that should be listed under another title.

I emptied the trash and rescanned that library. No change.

The problem with the other suggestions is how do I find them short of manually opening every directory - there are several tens of thousands of them?

Maybe this 3rd. Party tool?

Have you considered collections, which have been set to hide their members?

Or files which end in -pt1, -disc1, -part1 etc.pp.? https://support.plex.tv/articles/naming-and-organizing-your-movie-media-files#toc-3

But also https://support.plex.tv/articles/201381883-special-keyword-file-folder-exclusion/

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