Some content comes and goes when scanning, some content is simply skipped

Server Version#: Version 1.32.6.7557

I am looking for ideas to understand why the Plex scanning operation does not consistently pick up all *.mkv files that are accessible to it in the libraries, and what I can do about it.

The scanning will randomly:

  • Skip for instance episodes 4, 8 and 12 of a show in a TV Shows library, or
  • Skip random movies in a Movies library

And then, when new files are added to the libraries and the Scan is run again, some of the old stuff will suddenly re-appear as newly added again.

Only to disappear again, on the next scan, and other old movies showing up again.

The problem became persistent recently when I added around 170 Kamen Rider movies to a Movies library, each having a tmdb id in the folder and file name. I.e.:

Birth of the 10th! Kamen Riders All Together!! {tmdb-270721} [1984]\Birth of the 10th! Kamen Riders All Together!! {tmdb-270721} [1984].mkv

So far I have tried to:

For instance, for a season with 12 .mkv files in it, only 9 of them will be detected, according to the Scanner log. Episodes 4, 8 and 12 appears to be simply skipped or missing for some reason.

# tail -f /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Logs/Plex\ Media\ Server.log  | grep Bxxxxxx
Oct 29, 2023 23:11:04.350 [140457614170936] VERBOSE - Adding subdirectory for scanner: "/plex/series/Bxxxxxx [2016]"
Oct 29, 2023 23:11:07.215 [140457614170936] DEBUG - Scanner: Processing directory /plex/series/Bxxxxxx [2016] (parent: yes)
Oct 29, 2023 23:11:07.217 [140457614170936] VERBOSE -     * Noting that 'Bxxxxxx [2016]' was updated at 2023-10-28 13:35:44
Oct 29, 2023 23:11:07.217 [140457614170936] VERBOSE -     * Taking directory 'Bxxxxxx [2016]' (198239) out of the map (16318 left)
Oct 29, 2023 23:11:07.219 [140457614170936] VERBOSE - Adding subdirectory for scanner: "/plex/series/Bxxxxxx [2016]/Season 07"
Oct 29, 2023 23:11:07.222 [140457614170936] DEBUG - Skipping over directory 'Bxxxxxx [2016]', as nothing has changed; removing 0 media items from map.
Oct 29, 2023 23:11:07.226 [140457614170936] DEBUG - Scanner: Processing directory /plex/series/Bxxxxxx [2016]/Season 07 (parent: yes)
Oct 29, 2023 23:11:07.229 [140457614170936] VERBOSE -     * Noting that 'Bxxxxxx [2016]/Season 07' was updated at 2023-10-28 10:48:01
Oct 29, 2023 23:11:07.229 [140457614170936] VERBOSE -     * Taking directory 'Bxxxxxx [2016]/Season 07' (404506) out of the map (16317 left)
Oct 29, 2023 23:11:07.239 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E02.mkv"
Oct 29, 2023 23:11:07.240 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E01.da.srt"
Oct 29, 2023 23:11:07.240 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E01.en.srt"
Oct 29, 2023 23:11:07.240 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E01.fi.srt"
Oct 29, 2023 23:11:07.240 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E01.mkv"
Oct 29, 2023 23:11:07.240 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E01.no.srt"
Oct 29, 2023 23:11:07.240 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E01.sv.srt"
Oct 29, 2023 23:11:07.240 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E02.da.srt"
Oct 29, 2023 23:11:07.240 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E02.en.srt"
Oct 29, 2023 23:11:07.240 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E02.fi.srt"
Oct 29, 2023 23:11:07.241 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07.nfo"
Oct 29, 2023 23:11:07.241 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E02.no.srt"
Oct 29, 2023 23:11:07.241 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E02.sv.srt"
Oct 29, 2023 23:11:07.241 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E03.da.srt"
Oct 29, 2023 23:11:07.241 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E03.en.srt"
Oct 29, 2023 23:11:07.241 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E03.fi.srt"
Oct 29, 2023 23:11:07.242 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E03.mkv"
Oct 29, 2023 23:11:07.242 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E03.no.srt"
Oct 29, 2023 23:11:07.242 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E03.sv.srt"
Oct 29, 2023 23:11:07.242 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E04.da.srt"
Oct 29, 2023 23:11:07.242 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E04.en.srt"
Oct 29, 2023 23:11:07.242 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E04.fi.srt"
Oct 29, 2023 23:11:07.242 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E04.no.srt"
Oct 29, 2023 23:11:07.242 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E04.sv.srt"
Oct 29, 2023 23:11:07.242 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E05.da.srt"
Oct 29, 2023 23:11:07.242 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E05.en.srt"
Oct 29, 2023 23:11:07.243 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E05.fi.srt"
Oct 29, 2023 23:11:07.243 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E05.mkv"
Oct 29, 2023 23:11:07.243 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E05.no.srt"
Oct 29, 2023 23:11:07.243 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E05.sv.srt"
Oct 29, 2023 23:11:07.243 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E06.da.srt"
Oct 29, 2023 23:11:07.243 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E06.en.srt"
Oct 29, 2023 23:11:07.244 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E06.fi.srt"
Oct 29, 2023 23:11:07.244 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E06.mkv"
Oct 29, 2023 23:11:07.244 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E06.no.srt"
Oct 29, 2023 23:11:07.244 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E06.sv.srt"
Oct 29, 2023 23:11:07.244 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E07.da.srt"
Oct 29, 2023 23:11:07.244 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E07.en.srt"
Oct 29, 2023 23:11:07.244 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E07.fi.srt"
Oct 29, 2023 23:11:07.245 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E07.mkv"
Oct 29, 2023 23:11:07.245 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E07.no.srt"
Oct 29, 2023 23:11:07.245 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E07.sv.srt"
Oct 29, 2023 23:11:07.245 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E08.da.srt"
Oct 29, 2023 23:11:07.245 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E08.en.srt"
Oct 29, 2023 23:11:07.245 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E08.fi.srt"
Oct 29, 2023 23:11:07.245 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E08.no.srt"
Oct 29, 2023 23:11:07.245 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E08.sv.srt"
Oct 29, 2023 23:11:07.245 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E09.da.srt"
Oct 29, 2023 23:11:07.245 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E09.en.srt"
Oct 29, 2023 23:11:07.245 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E09.fi.srt"
Oct 29, 2023 23:11:07.246 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E09.mkv"
Oct 29, 2023 23:11:07.246 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E09.no.srt"
Oct 29, 2023 23:11:07.246 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E09.sv.srt"
Oct 29, 2023 23:11:07.247 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E10.da.srt"
Oct 29, 2023 23:11:07.247 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E10.en.srt"
Oct 29, 2023 23:11:07.247 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E10.fi.srt"
Oct 29, 2023 23:11:07.247 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E10.mkv"
Oct 29, 2023 23:11:07.247 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E10.no.srt"
Oct 29, 2023 23:11:07.248 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E10.sv.srt"
Oct 29, 2023 23:11:07.248 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E11.da.srt"
Oct 29, 2023 23:11:07.248 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E11.en.srt"
Oct 29, 2023 23:11:07.248 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E11.fi.srt"
Oct 29, 2023 23:11:07.248 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E11.mkv"
Oct 29, 2023 23:11:07.248 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E11.no.srt"
Oct 29, 2023 23:11:07.248 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E11.sv.srt"
Oct 29, 2023 23:11:07.248 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E12.da.srt"
Oct 29, 2023 23:11:07.248 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E12.en.srt"
Oct 29, 2023 23:11:07.248 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E12.fi.srt"
Oct 29, 2023 23:11:07.249 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E12.no.srt"
Oct 29, 2023 23:11:07.249 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E12.sv.srt"
Oct 29, 2023 23:11:07.268 [140457614170936] DEBUG - Skipping over directory 'Bxxxxxx [2016]/Season 07', as nothing has changed; removing 9 media items from map.

However, all the 12 .mkv files are readily accessible in the file system by the plex user.

# su - plex -s /bin/bash
Last login: Sun Oct 29 22:57:23 CET 2023 on pts/0
-bash-4.2$ whoami
plex
-bash-4.2$ ps -ef | grep "Plex Media Server"
plex      6643  5924  0 23:01 pts/0    00:00:00 grep --color=auto Plex Media Server
plex      7185     1 51 05:52 ?        08:53:46 /usr/lib/plexmediaserver/Plex Media Server
-bash-4.2$ tree /plex/series/Bxxxxxx\ \[2016\]/
/plex/series/Bxxxxxx\ [2016]/
└── Season\ 07
    β”œβ”€β”€ Bxxxxxx.S07E01.da.srt
    β”œβ”€β”€ Bxxxxxx.S07E01.en.srt
    β”œβ”€β”€ Bxxxxxx.S07E01.fi.srt
    β”œβ”€β”€ Bxxxxxx.S07E01.mkv
    β”œβ”€β”€ Bxxxxxx.S07E01.no.srt
    β”œβ”€β”€ Bxxxxxx.S07E01.sv.srt
    β”œβ”€β”€ Bxxxxxx.S07E02.da.srt
    β”œβ”€β”€ Bxxxxxx.S07E02.en.srt
    β”œβ”€β”€ Bxxxxxx.S07E02.fi.srt
    β”œβ”€β”€ Bxxxxxx.S07E02.mkv
    β”œβ”€β”€ Bxxxxxx.S07E02.no.srt
    β”œβ”€β”€ Bxxxxxx.S07E02.sv.srt
    β”œβ”€β”€ Bxxxxxx.S07E03.da.srt
    β”œβ”€β”€ Bxxxxxx.S07E03.en.srt
    β”œβ”€β”€ Bxxxxxx.S07E03.fi.srt
    β”œβ”€β”€ Bxxxxxx.S07E03.mkv
    β”œβ”€β”€ Bxxxxxx.S07E03.no.srt
    β”œβ”€β”€ Bxxxxxx.S07E03.sv.srt
    β”œβ”€β”€ Bxxxxxx.S07E04.da.srt
    β”œβ”€β”€ Bxxxxxx.S07E04.en.srt
    β”œβ”€β”€ Bxxxxxx.S07E04.fi.srt
    β”œβ”€β”€ Bxxxxxx.S07E04.mkv
    β”œβ”€β”€ Bxxxxxx.S07E04.no.srt
    β”œβ”€β”€ Bxxxxxx.S07E04.sv.srt
    β”œβ”€β”€ Bxxxxxx.S07E05.da.srt
    β”œβ”€β”€ Bxxxxxx.S07E05.en.srt
    β”œβ”€β”€ Bxxxxxx.S07E05.fi.srt
    β”œβ”€β”€ Bxxxxxx.S07E05.mkv
    β”œβ”€β”€ Bxxxxxx.S07E05.no.srt
    β”œβ”€β”€ Bxxxxxx.S07E05.sv.srt
    β”œβ”€β”€ Bxxxxxx.S07E06.da.srt
    β”œβ”€β”€ Bxxxxxx.S07E06.en.srt
    β”œβ”€β”€ Bxxxxxx.S07E06.fi.srt
    β”œβ”€β”€ Bxxxxxx.S07E06.mkv
    β”œβ”€β”€ Bxxxxxx.S07E06.no.srt
    β”œβ”€β”€ Bxxxxxx.S07E06.sv.srt
    β”œβ”€β”€ Bxxxxxx.S07E07.da.srt
    β”œβ”€β”€ Bxxxxxx.S07E07.en.srt
    β”œβ”€β”€ Bxxxxxx.S07E07.fi.srt
    β”œβ”€β”€ Bxxxxxx.S07E07.mkv
    β”œβ”€β”€ Bxxxxxx.S07E07.no.srt
    β”œβ”€β”€ Bxxxxxx.S07E07.sv.srt
    β”œβ”€β”€ Bxxxxxx.S07E08.da.srt
    β”œβ”€β”€ Bxxxxxx.S07E08.en.srt
    β”œβ”€β”€ Bxxxxxx.S07E08.fi.srt
    β”œβ”€β”€ Bxxxxxx.S07E08.mkv
    β”œβ”€β”€ Bxxxxxx.S07E08.no.srt
    β”œβ”€β”€ Bxxxxxx.S07E08.sv.srt
    β”œβ”€β”€ Bxxxxxx.S07E09.da.srt
    β”œβ”€β”€ Bxxxxxx.S07E09.en.srt
    β”œβ”€β”€ Bxxxxxx.S07E09.fi.srt
    β”œβ”€β”€ Bxxxxxx.S07E09.mkv
    β”œβ”€β”€ Bxxxxxx.S07E09.no.srt
    β”œβ”€β”€ Bxxxxxx.S07E09.sv.srt
    β”œβ”€β”€ Bxxxxxx.S07E10.da.srt
    β”œβ”€β”€ Bxxxxxx.S07E10.en.srt
    β”œβ”€β”€ Bxxxxxx.S07E10.fi.srt
    β”œβ”€β”€ Bxxxxxx.S07E10.mkv
    β”œβ”€β”€ Bxxxxxx.S07E10.no.srt
    β”œβ”€β”€ Bxxxxxx.S07E10.sv.srt
    β”œβ”€β”€ Bxxxxxx.S07E11.da.srt
    β”œβ”€β”€ Bxxxxxx.S07E11.en.srt
    β”œβ”€β”€ Bxxxxxx.S07E11.fi.srt
    β”œβ”€β”€ Bxxxxxx.S07E11.mkv
    β”œβ”€β”€ Bxxxxxx.S07E11.no.srt
    β”œβ”€β”€ Bxxxxxx.S07E11.sv.srt
    β”œβ”€β”€ Bxxxxxx.S07E12.da.srt
    β”œβ”€β”€ Bxxxxxx.S07E12.en.srt
    β”œβ”€β”€ Bxxxxxx.S07E12.fi.srt
    β”œβ”€β”€ Bxxxxxx.S07E12.mkv
    β”œβ”€β”€ Bxxxxxx.S07E12.no.srt
    β”œβ”€β”€ Bxxxxxx.S07E12.sv.srt
    └── Bxxxxxx.S07.nfo

1 directory, 73 files
-bash-4.2$ file  /plex/series/Bxxxxxx\ \[2016\]/Season\ 07/Bxxxxxx.S07E12.mkv
/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E12.mkv: EBML file, creator matroska
-bash-4.2$ cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
-bash-4.2$

Any input is welcome, I’m all out of ideas here :smiley:

Btw, is there perhas a kind of β€œdiff” utility available that will help match what is in the folders in the filesystem, with what is in the database?

I’m looking for an easy way to get a list of what media files are still available in the file system, but has not yet been picked up by the Scanner.

Such as for instance episodes 4, 8 and 12 in the example above :slight_smile:

I am going to point to one issue with your naming [2016] is BAD, anything inside sqaure brackets gets ignored. in your case you should use (2016)

as for matching plex vs file system:

Can you plex dance a movie that is missing, provide the server logs shortly afterwords and provide the exact filename and path for it?

EDIT:
For old stuff re-appearing disable empty trash on scan.

Thanks! I never had a problem with using square brackets until recently, and it doesn’t seem to do any difference in this case either.

In this case changing from square brackets to standard brackets made the Scanner pick up two of the three missing episodes - however, episode 8 is still not picked up correctly.

(Renaming generally does this, changing what files are picked up by the Scanner).

# tail -f /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Logs/Plex\ Media\ Server.log  | grep Bxxxxxx
Oct 29, 2023 23:54:07.875 [140457614170936] VERBOSE - Adding subdirectory for scanner: "/plex/series/Bxxxxxx (2016)"
Oct 29, 2023 23:54:08.574 [140457614170936] DEBUG - Scanner: Processing directory /plex/series/Bxxxxxx (2016) (parent: yes)
Oct 29, 2023 23:54:08.577 [140457614170936] VERBOSE -     * Noting that 'Bxxxxxx (2016)' was updated at 2023-10-28 13:35:44
Oct 29, 2023 23:54:08.577 [140457614170936] VERBOSE -     * Taking directory 'Bxxxxxx (2016)' (198239) out of the map (16318 left)
Oct 29, 2023 23:54:08.579 [140457614170936] VERBOSE - Adding subdirectory for scanner: "/plex/series/Bxxxxxx (2016)/Season 07"
Oct 29, 2023 23:54:08.583 [140457614170936] DEBUG - Skipping over directory 'Bxxxxxx (2016)', as nothing has changed; removing 0 media items from map.
Oct 29, 2023 23:54:08.588 [140457614170936] DEBUG - Scanner: Processing directory /plex/series/Bxxxxxx (2016)/Season 07 (parent: yes)
Oct 29, 2023 23:54:08.599 [140457614170936] VERBOSE -     * Noting that 'Bxxxxxx (2016)/Season 07' was updated at 2023-10-29 23:53:17
Oct 29, 2023 23:54:08.599 [140457614170936] VERBOSE -     * Taking directory 'Bxxxxxx (2016)/Season 07' (404506) out of the map (16317 left)
Oct 29, 2023 23:54:08.615 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07.nfo"
Oct 29, 2023 23:54:08.615 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E01.mkv"
Oct 29, 2023 23:54:08.619 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E01.da.srt"
Oct 29, 2023 23:54:08.619 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E01.en.srt"
Oct 29, 2023 23:54:08.619 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E01.fi.srt"
Oct 29, 2023 23:54:08.619 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E01.no.srt"
Oct 29, 2023 23:54:08.619 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E01.sv.srt"
Oct 29, 2023 23:54:08.619 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E02.mkv"
Oct 29, 2023 23:54:08.619 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E02.da.srt"
Oct 29, 2023 23:54:08.619 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E02.en.srt"
Oct 29, 2023 23:54:08.619 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E02.fi.srt"
Oct 29, 2023 23:54:08.619 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E02.no.srt"
Oct 29, 2023 23:54:08.619 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E02.sv.srt"
Oct 29, 2023 23:54:08.619 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E03.mkv"
Oct 29, 2023 23:54:08.619 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E03.da.srt"
Oct 29, 2023 23:54:08.619 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E03.en.srt"
Oct 29, 2023 23:54:08.619 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E03.fi.srt"
Oct 29, 2023 23:54:08.619 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E03.no.srt"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E03.sv.srt"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E04.mkv"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E04.da.srt"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E04.en.srt"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E04.fi.srt"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E04.no.srt"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E04.sv.srt"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E05.mkv"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E05.da.srt"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E05.en.srt"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E05.fi.srt"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E05.no.srt"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E05.sv.srt"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E06.mkv"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E06.da.srt"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E06.en.srt"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E06.fi.srt"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E06.no.srt"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E06.sv.srt"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E07.mkv"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E07.da.srt"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E07.en.srt"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E07.fi.srt"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E07.no.srt"
Oct 29, 2023 23:54:08.620 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E07.sv.srt"
Oct 29, 2023 23:54:08.621 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E08.da.srt"
Oct 29, 2023 23:54:08.621 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E08.en.srt"
Oct 29, 2023 23:54:08.621 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E08.fi.srt"
Oct 29, 2023 23:54:08.621 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E08.no.srt"
Oct 29, 2023 23:54:08.621 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E08.sv.srt"
Oct 29, 2023 23:54:08.621 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E09.mkv"
Oct 29, 2023 23:54:08.621 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E09.da.srt"
Oct 29, 2023 23:54:08.621 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E09.en.srt"
Oct 29, 2023 23:54:08.621 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E09.fi.srt"
Oct 29, 2023 23:54:08.621 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E09.no.srt"
Oct 29, 2023 23:54:08.622 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E09.sv.srt"
Oct 29, 2023 23:54:08.622 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E10.mkv"
Oct 29, 2023 23:54:08.622 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E10.da.srt"
Oct 29, 2023 23:54:08.622 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E10.en.srt"
Oct 29, 2023 23:54:08.622 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E10.fi.srt"
Oct 29, 2023 23:54:08.622 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E10.no.srt"
Oct 29, 2023 23:54:08.622 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E10.sv.srt"
Oct 29, 2023 23:54:08.622 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E11.mkv"
Oct 29, 2023 23:54:08.622 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E11.da.srt"
Oct 29, 2023 23:54:08.622 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E11.en.srt"
Oct 29, 2023 23:54:08.622 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E11.fi.srt"
Oct 29, 2023 23:54:08.622 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E11.no.srt"
Oct 29, 2023 23:54:08.622 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E11.sv.srt"
Oct 29, 2023 23:54:08.622 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E12.mkv"
Oct 29, 2023 23:54:08.622 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E12.da.srt"
Oct 29, 2023 23:54:08.622 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E12.en.srt"
Oct 29, 2023 23:54:08.622 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E12.fi.srt"
Oct 29, 2023 23:54:08.622 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E12.no.srt"
Oct 29, 2023 23:54:08.622 [140457614170936] VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E12.sv.srt"
Oct 29, 2023 23:54:08.635 [140457614170936] DEBUG - File '/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E01.mkv' didn't exist, can't skip.
Oct 29, 2023 23:54:08.662 [140457290558264] DEBUG - Checking descendants of Bxxxxxx (2016)
Oct 29, 2023 23:54:08.669 [140457290558264] DEBUG -  -> Searching down into Bxxxxxx (2016)/Season 05
Oct 29, 2023 23:54:08.669 [140457290558264] DEBUG - Checking descendants of Bxxxxxx (2016)/Season 05
Oct 29, 2023 23:54:08.686 [140457290558264] DEBUG -  -> We found a local media item with rooted metadata in Bxxxxxx (2016)/Season 05
Oct 29, 2023 23:54:09.329 [140457290558264] DEBUG - Scanner [Plex TV Series]: found cloud match for file '/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E01.mkv': 'Bxxxxxx'
Oct 29, 2023 23:54:09.334 [140457290558264] DEBUG - Looking for path match for [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E01.mkv]
Oct 29, 2023 23:54:09.477 [140457290558264] DEBUG - We found a hash match for [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E01.mkv] which was [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E01.mkv].
Oct 29, 2023 23:54:09.491 [140457290558264] INFO - Part rename detected [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E01.mkv] was renamed [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E01.mkv]
Oct 29, 2023 23:54:09.497 [140457290558264] DEBUG - Updating part with ID=1787791 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E01.mkv]
Oct 29, 2023 23:54:09.497 [140457290558264] DEBUG - Turbo analysis on modified item 1743083 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E01.mkv]
Oct 29, 2023 23:54:09.506 [140457290558264] DEBUG - Updating part with ID=1787791 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E01.mkv]
Oct 29, 2023 23:54:09.508 [140457290558264] VERBOSE - Added new media part with ID=1787998 [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E01.mkv]
Oct 29, 2023 23:54:09.513 [140457290558264] DEBUG - Looking for path match for [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E02.mkv]
Oct 29, 2023 23:54:09.570 [140457290558264] DEBUG - We found a hash match for [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E02.mkv] which was [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E02.mkv].
Oct 29, 2023 23:54:09.591 [140457290558264] INFO - Part rename detected [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E02.mkv] was renamed [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E02.mkv]
Oct 29, 2023 23:54:09.597 [140457290558264] DEBUG - Updating part with ID=1787792 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E02.mkv]
Oct 29, 2023 23:54:09.597 [140457290558264] DEBUG - Turbo analysis on modified item 1743084 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E02.mkv]
Oct 29, 2023 23:54:09.608 [140457290558264] DEBUG - Updating part with ID=1787792 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E02.mkv]
Oct 29, 2023 23:54:09.610 [140457290558264] VERBOSE - Added new media part with ID=1787999 [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E02.mkv]
Oct 29, 2023 23:54:09.614 [140457290558264] DEBUG - Looking for path match for [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E03.mkv]
Oct 29, 2023 23:54:09.666 [140457290558264] DEBUG - We found a hash match for [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E03.mkv] which was [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E03.mkv].
Oct 29, 2023 23:54:09.680 [140457290558264] INFO - Part rename detected [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E03.mkv] was renamed [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E03.mkv]
Oct 29, 2023 23:54:09.684 [140457290558264] DEBUG - Updating part with ID=1787793 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E03.mkv]
Oct 29, 2023 23:54:09.684 [140457290558264] DEBUG - Turbo analysis on modified item 1743085 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E03.mkv]
Oct 29, 2023 23:54:09.693 [140457290558264] DEBUG - Updating part with ID=1787793 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E03.mkv]
Oct 29, 2023 23:54:09.697 [140457290558264] VERBOSE - Added new media part with ID=1788000 [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E03.mkv]
Oct 29, 2023 23:54:09.702 [140457290558264] DEBUG - Looking for path match for [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E04.mkv]
Oct 29, 2023 23:54:09.772 [140457290558264] VERBOSE - Added new media item with ID=1743290 (=&episode=4&episodic=1&season=7&show=Bxxxxxx&show_name=Bxxxxxx&year=2016)
Oct 29, 2023 23:54:09.808 [140457290558264] VERBOSE - Added new media part with ID=1788001 [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E04.mkv]
Oct 29, 2023 23:54:09.809 [140457290558264] DEBUG - Looking for path match for [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E05.mkv]
Oct 29, 2023 23:54:09.845 [140457290558264] DEBUG - We found a hash match for [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E05.mkv] which was [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E05.mkv].
Oct 29, 2023 23:54:09.859 [140457290558264] INFO - Part rename detected [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E05.mkv] was renamed [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E05.mkv]
Oct 29, 2023 23:54:09.864 [140457290558264] DEBUG - Updating part with ID=1787794 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E05.mkv]
Oct 29, 2023 23:54:09.865 [140457290558264] DEBUG - Turbo analysis on modified item 1743086 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E05.mkv]
Oct 29, 2023 23:54:09.872 [140457290558264] DEBUG - Updating part with ID=1787794 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E05.mkv]
Oct 29, 2023 23:54:09.874 [140457290558264] VERBOSE - Added new media part with ID=1788002 [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E05.mkv]
Oct 29, 2023 23:54:09.877 [140457290558264] DEBUG - Looking for path match for [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E06.mkv]
Oct 29, 2023 23:54:09.915 [140457290558264] DEBUG - We found a hash match for [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E06.mkv] which was [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E06.mkv].
Oct 29, 2023 23:54:09.927 [140457290558264] INFO - Part rename detected [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E06.mkv] was renamed [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E06.mkv]
Oct 29, 2023 23:54:09.947 [140457290558264] DEBUG - Updating part with ID=1787795 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E06.mkv]
Oct 29, 2023 23:54:09.948 [140457290558264] DEBUG - Turbo analysis on modified item 1743087 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E06.mkv]
Oct 29, 2023 23:54:09.967 [140457290558264] DEBUG - Updating part with ID=1787795 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E06.mkv]
Oct 29, 2023 23:54:09.976 [140457290558264] VERBOSE - Added new media part with ID=1788003 [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E06.mkv]
Oct 29, 2023 23:54:09.979 [140457290558264] DEBUG - Looking for path match for [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E07.mkv]
Oct 29, 2023 23:54:10.040 [140457290558264] DEBUG - We found a hash match for [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E07.mkv] which was [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E07.mkv].
Oct 29, 2023 23:54:10.064 [140457290558264] INFO - Part rename detected [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E07.mkv] was renamed [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E07.mkv]
Oct 29, 2023 23:54:10.072 [140457290558264] DEBUG - Updating part with ID=1787796 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E07.mkv]
Oct 29, 2023 23:54:10.073 [140457290558264] DEBUG - Turbo analysis on modified item 1743088 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E07.mkv]
Oct 29, 2023 23:54:10.114 [140457290558264] DEBUG - Updating part with ID=1787796 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E07.mkv]
Oct 29, 2023 23:54:10.116 [140457290558264] VERBOSE - Added new media part with ID=1788004 [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E07.mkv]
Oct 29, 2023 23:54:10.124 [140457290558264] DEBUG - Looking for path match for [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E09.mkv]
Oct 29, 2023 23:54:10.207 [140457290558264] DEBUG - We found a hash match for [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E09.mkv] which was [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E09.mkv].
Oct 29, 2023 23:54:10.217 [140457290558264] INFO - Part rename detected [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E09.mkv] was renamed [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E09.mkv]
Oct 29, 2023 23:54:10.225 [140457290558264] DEBUG - Updating part with ID=1787797 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E09.mkv]
Oct 29, 2023 23:54:10.227 [140457290558264] DEBUG - Turbo analysis on modified item 1743089 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E09.mkv]
Oct 29, 2023 23:54:10.236 [140457290558264] DEBUG - Updating part with ID=1787797 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E09.mkv]
Oct 29, 2023 23:54:10.238 [140457290558264] VERBOSE - Added new media part with ID=1788005 [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E09.mkv]
Oct 29, 2023 23:54:10.242 [140457290558264] DEBUG - Looking for path match for [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E10.mkv]
Oct 29, 2023 23:54:10.345 [140457290558264] DEBUG - We found a hash match for [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E10.mkv] which was [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E10.mkv].
Oct 29, 2023 23:54:10.441 [140457290558264] INFO - Part rename detected [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E10.mkv] was renamed [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E10.mkv]
Oct 29, 2023 23:54:10.453 [140457290558264] DEBUG - Updating part with ID=1787798 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E10.mkv]
Oct 29, 2023 23:54:10.453 [140457290558264] DEBUG - Turbo analysis on modified item 1743090 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E10.mkv]
Oct 29, 2023 23:54:10.458 [140457290558264] DEBUG - Updating part with ID=1787798 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E10.mkv]
Oct 29, 2023 23:54:10.458 [140457290558264] VERBOSE - Added new media part with ID=1788006 [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E10.mkv]
Oct 29, 2023 23:54:10.460 [140457290558264] DEBUG - Looking for path match for [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E11.mkv]
Oct 29, 2023 23:54:10.532 [140457290558264] DEBUG - We found a hash match for [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E11.mkv] which was [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E11.mkv].
Oct 29, 2023 23:54:10.563 [140457290558264] INFO - Part rename detected [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E11.mkv] was renamed [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E11.mkv]
Oct 29, 2023 23:54:10.571 [140457290558264] DEBUG - Updating part with ID=1787799 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E11.mkv]
Oct 29, 2023 23:54:10.572 [140457290558264] DEBUG - Turbo analysis on modified item 1743091 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E11.mkv]
Oct 29, 2023 23:54:10.580 [140457290558264] DEBUG - Updating part with ID=1787799 [/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E11.mkv]
Oct 29, 2023 23:54:10.581 [140457290558264] VERBOSE - Added new media part with ID=1788007 [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E11.mkv]
Oct 29, 2023 23:54:10.584 [140457290558264] DEBUG - Looking for path match for [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E12.mkv]
Oct 29, 2023 23:54:10.668 [140457290558264] VERBOSE - Added new media item with ID=1743291 (=&episode=12&episodic=1&season=7&show=Bxxxxxx&show_name=Bxxxxxx&year=2016)
Oct 29, 2023 23:54:10.712 [140457290558264] VERBOSE - Added new media part with ID=1788008 [/plex/series/Bxxxxxx (2016)/Season 07/Bxxxxxx.S07E12.mkv]

There is simply no line in the log touching on why the file β€œBxxxxxx.S07E08.mkv” was skipped at all - I would have expected to see a line like this:

VERBOSE - Adding file for scanner: "/plex/series/Bxxxxxx [2016]/Season 07/Bxxxxxx.S07E08.mkv

The problem for the movies is precisely the same - the files that gets skipped in a scan are not mentioned in the log file at all.

For that file, do the Plex Dance <–click

I will repeat what Jays, says, also before you do that please disable verbose logging and once complete please upload a copy of your Server logs (Not an excerpt like above)

Thanks - I understand, and I see how there is a chance that that might work for this particular season.

But, that would do me little good, as I have thousands of seasons in the library and each season might have the same hidden problem with missing episodes. And so far I have no way of knowing which seasons are hit by the problem.

This will not work for me, so I am in need of a generic solution to this problem.

Another way forward would be to simply batch-rename all the Season folders a couple of times, like renaming them from β€œSeason 01” to β€œSeason 001” and back again a few times. And perform a scan in between each rename.

As each rename tends to trigger that the Scanner will pick up a few more items, I could be lucky that at one point it will finally have picked up all the episodes.

As the scanner adds a β€œAdded new media item” to the log when it finds previously ignored files, I could watch the log also, seeing if the message stops being added.

But, I would be forced to do this over and over for the future, as new seasons are added - and I am not super interested in that.

I would much rather have the bug fixed - or, at least have the verbose logging extended, so that I will be able to see in the log how all files get picked up from the filesystem - and see why some of them are subsequently ignored / not added to Plex.

Plex dancing one file is only meant to be a test. Whether or not it works tells you if you have some other sort of larger problem that needs more investigation

If it works and you’re able to reproduce it repeatedly I’m afraid there might not be a better option
I’ve never used them but I think there are some 3rd party tools like WebTools-NG, Tatulli or Sonarr that can find missing episodes

The only other option is to rename all your files and recreate the library. There are renaming tools that do this reasonably fast

I am sure it would work, eventually. Just as renaming some folders arbitrarily probably also would.

Sorry, I am not following - I don’t see any of these tools offering any help with matching what is on the disk with what is in the Plex database?

But, this problem is in all my libraries? I am not sure I understand why this option should result in a library that wouldn’t have the problem. In my experience, I would just end up with yet another library with the same problem.

Also, I have not yet found any indication that the file naming does any difference. Seasons with file names that follow the naming standard 100% correctly also experience the problem.

Do you know if there is a way to add a feature suggestion somewhere? I feel that just adding the tinyest little amount of more detailed debug output for the Scanner would help me so immensely in understanding this issue.

If I may add here?

This approach,

is harsh, wasteful, with no guarantee of success.

I would like to suggest the following method.

  1. In Library settings
    – Turn off Scan automatically
    – Turn off Include Music (if enabled)
    – TURN OFF β€œEMPTY TRASH” (most important)

  2. Create a new top-level directory for the TV Shows

  3. ADD that new top-level directory to Plex

  4. Manual Scan and let PMS acknowledge the empty directory

Now the work begins.

  1. Using a renaming tool
    – Destination directory pointing to the new directory
    – With renaming rules in full Plex-spec format
  2. Drag & Drop a few problematic series from the old directory into it
  3. Have it perform its search/match/renaming proposal
  4. Having confirmed the new names are correct - RENAME
    – (This renames and moves in one step)
  5. Have Plex β€œScan Files” for the section.
    – Confirm PMS has now properly matched the media.
    – Examine the XML / info for the media to confirm PMS has the new location
  6. Repeat until all media done

When done,

  1. All media will now have been properly renamed and matched
  2. All media will now exist in the new top-level-directory

Choice:

  1. Switch to using the new top-level directory for the section
    -or-
  2. Move ALL the files back to the original directory

As final steps

  1. Scan files one last time
  2. Check the problematic media to confirm
  3. Empty trash
  4. Clean Bundles
  5. Optimize Database
  6. Turn the PMS β€œLibrary” options back on

Referring to tools – I use FileBot and will share my renaming rules for this task.

1 Like

Thanks! - I actually do utilize a couple of β€œIncoming” libraries for this purpose, I never move stuff to my main libraries until everything has been matched properly there, without any manual intervention.

I have actually never seen the problem with missing episodes or movies at all in these smaller libraries (<1k entries), the problem seems to arise only when I move the files to the final destination libraries (100k+ entries).

So while I follow your suggestion, my problem is that the underlying assumption doesn’t hold, at least in my experience: A scan simply doesn’t give the same result, even given two 100% equally configured libraries.

And I agree; it really should :slight_smile:

I’m doing some research on your content.
Is this the series or the pilot movie

https://www.imdb.com/title/tt0157881/

IMDB has it as a standlone movie – not a series

You’ve made some mistakes with naming.
While I don’t know the extent of the mistakes, what is visible implies you’re consistent. That consistency works both for and against.

Your alternative here is to create a whole new section based on fully, properly, renamed media and starting over with the section.

In all the support I’ve given, I see no benefit from β€œbatch renaming” (BLIND renaming) back and forth a few times HOPING it’ll fix itself.

Sorry, I just can’t accept that assumption.
Changing the Season directory name does not address the root issue which is bad naming of the media file.

Regarding this one. It IS a movie

Compare being listed as a series (as you have)

With what Plex has

With IMDB

In addition to curation (TV vs Movies) problem, there is also a naming problem.

Did you accidentally confuse the movie with a different series ?

Yeah, I agree, better get the extent visible so we can see what mistakes/bugs we are talking about.

I have now done a comparison between what is in the filesystem and what is in plex.

I see that the pattern from above with E04, E08 and E12 being skipped repeats a lot(!) for other seasons as well.

And as can be seen below, there is an almost mathematical pattern to what episodes are being skipped.

In my mind I imagine that a possible bug could be that the Scanner splits a job for a folder in multiple parts, and then sometimes erroneously skips or overwrites an episode from a job part when it is time to combine the results.

This could explain these interesting skip patterns that has these strangely similar intervals, like E04-E08-E12, E21-E43-E65, E18-E037-E056, E01-E32-E65, etc.

Also, when a show has multiple seasons, the skipped episode(s) in each season are often the same or almost the same.

Ha ha, how I wish I could have a look at that Scanner code already! :slight_smile:

Mixed shows: E04, E08, E12 skipped

Billions [2016]/Season 07/Billions.S07E04.mkv (was picked up after the show folder was renamed)
Billions [2016]/Season 07/Billions.S07E08.mkv (is still being skipped)
Billions [2016]/Season 07/Billions.S07E12.mkv (was picked up after the show folder was renamed)

About Sasha [2022]/Season 01/About.Sasha.S01E04.NORDiC.1080p.WEB-DL.DDP5.1.H.264-GRANiTEN.mkv
About Sasha [2022]/Season 01/About.Sasha.S01E08.NORDiC.1080p.WEB-DL.DDP5.1.H.264-GRANiTEN.mkv

According to Jim [2001]/Season 03/According.To.Jim.S03E04.NORDiC.720p.WEB.H264.AAC2.0-TWASERiES.mkv
According to Jim [2001]/Season 03/According.To.Jim.S03E08.NORDiC.720p.WEB.H264.AAC2.0-TWASERiES.mkv
According to Jim [2001]/Season 03/According.To.Jim.S03E12.NORDiC.720p.WEB.H264.AAC2.0-TWASERiES.mkv

Bupkis [2023]/Season 01/Bupkis.S01E04.NORDiC.1080p.WEB-DL.DDP2.0.x264-ROCKETRACCOON.mkv
Bupkis [2023]/Season 01/Bupkis.S01E08.NORDiC.1080p.WEB-DL.DDP2.0.x264-ROCKETRACCOON.mkv

Django [2023]/Season 01/Django.S01E04.NORDiC.1080p.WEB-DL.DDP2.0.x264-ROCKETRACCOON.mkv
Django [2023]/Season 01/Django.S01E08.NORDiC.1080p.WEB-DL.DDP2.0.x264-ROCKETRACCOON.mkv

Luck [2011]/Season 01/Luck.2012.S01E04.NORDiC.1080p.WEB-DL.H.264.DDP5.0-SHOWTiME.mkv
Luck [2011]/Season 01/Luck.2012.S01E08.NORDiC.1080p.WEB-DL.H.264.DDP5.0-SHOWTiME.mkv

My Family [2022]/Season 01/My.Family.S01E04.NORDiC.1080p.WEB-DL.AAC2.0.H.264-GRANiTEN.mkv
My Family [2022]/Season 01/My.Family.S01E08.NORDiC.1080p.WEB-DL.AAC2.0.H.264-GRANiTEN.mkv

Al Hayba [2017]: E26 skipped.

Al Hayba [2017]/Season 01/Al Hayba S01E26 1080p NF WEB-DL DD+2.0 x264-cfandora.mkv
Al Hayba [2017]/Season 02/Al Hayba S02E26 1080p NF WEB-DL DD+2.0 x264-cfandora.mkv
Al Hayba [2017]/Season 03/Al Hayba S03E26 1080p NF WEB-DL DD+2.0 x264-cfandora.mkv
Al Hayba [2017]/Season 04/Al Hayba S04E26 1080p NF WEB-DL DD+2.0 x264-cfandora.mkv

All Saints [1998]: E22, E23, E24, E31 skipped.

All Saints [1998]/Season 01/All Saints - s01e24 - The Price You Pay [PAL DVD][x264][Ch0].m4v 
All Saints [1998]/Season 02/All Saints - s02e31 - Time Bombs.mp4 
All Saints [1998]/Season 03/All Saints - s03e23 - Blood, Sweat And Tears [PAL DVD][x264][Ch0].m4v 
All Saints [1998]/Season 04/All Saints - S04E22 of 43 - The Sign [PAL DVD][x264][Ch0].m4v 
All Saints [1998]/Season 05/All Saints - S05E23 - Running On Empathy [PAL DVD][x264][KCRT+Ch0].m4v
All Saints [1998]/Season 06/All Saints - S06E24 - Suspicious Minds [PAL DVD][x264][Ch0].m4v
All Saints [1998]/Season 07/All Saints - S07E25 - Mind Over Matter [PAL DVD][x264][Ch0].m4v
All Saints [1998]/Season 08/All Saints - S08E24 - Love Me, Love Me Not [PAL DVD][x264][Ch0].m4v
All Saints [1998]/Season 09/All Saints - S09E24 - Truth Hurts [PAL DVD][x264][Ch0].m4v
All Saints [1998]/Season 10/All Saints - S10E24 - Push Me, Pull Me [PAL DVD][x264][Ch0].m4v
All Saints [1998]/Season 11/All Saints - S11E24 - Sons And Lovers [PAL DVD][x264][Ch0].m4v
All Saints [1998]/Season 12/All Saints - S12E24 - In Trust [PAL DVD][x264][Ch0].m4v

Beverly Hills 90210 [1990]: E20, E21 skipped.

Beverly Hills 90210 [1990]/Season 01/Beverly.Hills.90210.S01E20.NORDiC.576p.WEB-DL.H.264.DD2.0-TWASERiES.mkv
Beverly Hills 90210 [1990]/Season 02/Beverly.Hills.90210.S02E20.NORDiC.576p.WEB-DL.H.264.DD2.0-TWASERiES.mkv
Beverly Hills 90210 [1990]/Season 03/Beverly.Hills.90210.S03E20.NORDiC.576p.WEB-DL.H.264.DD2.0-TWASERiES.mkv
Beverly Hills 90210 [1990]/Season 04/Beverly.Hills.90210.S04E20.NORDiC.576p.WEB-DL.H.264.DD2.0-TWASERiES.mkv
Beverly Hills 90210 [1990]/Season 05/Beverly.Hills.90210.S05E20.NORDiC.576p.WEB-DL.H.264.DD2.0-TWASERiES.mkv
Beverly Hills 90210 [1990]/Season 06/Beverly.Hills.90210.S06E20.NORDiC.576p.WEB-DL.H.264.DD2.0-TWASERiES.mkv
Beverly Hills 90210 [1990]/Season 07/Beverly.Hills.90210.S07E20.NORDiC.576p.WEB-DL.H.264.DD2.0-TWASERiES.mkv
Beverly Hills 90210 [1990]/Season 08/Beverly.Hills.90210.S08E21.NORDiC.576p.WEB-DL.H.264.DD2.0-TWASERiES.mkv
Beverly Hills 90210 [1990]/Season 09/Beverly.Hills.90210.S09E20.NORDiC.576p.WEB-DL.H.264.DD2.0-TWASERiES.mkv
Beverly Hills 90210 [1990]/Season 10/Beverly.Hills.90210.S10E20.NORDiC.576p.WEB-DL.H.264.DD2.0-TWASERiES.mkv

Big Wolf on Campus [1999]: E19 skipped.

Big Wolf on Campus [1999]/Season 01/Big.Wolf.on.Campus.S01E19.Hair.Today.Gone.Tomorrow.1080p.WEBRip.AAC.2.0.H.265.-EDGE2020.mkv
Big Wolf on Campus [1999]/Season 02/Big.Wolf.on.Campus.S02E19.Butch.Is.Back.1080p.WEBRip.AAC.2.0.H.265.-EDGE2020.mkv
Big Wolf on Campus [1999]/Season 03/Big.Wolf.on.Campus.S03E19.Whats.The.Story.Mourning.Corey.1080p.WEBRip.AAC.2.0.H.265.-EDGE2020.mkv

Cougar Town [2009]: E19 skipped.

Cougar Town [2009]/Season 01/Cougar.Town.S01E19.Everything.Man.1080p.DSNP.WEB-DL.DDP5.1.H.264-playWEB.mkv
Cougar Town [2009]/Season 02/Cougar.Town.S02E19.Damaged.by.Love.1080p.DSNP.WEB-DL.DDP5.1.H.264-playWEB.mkv

Criminal Minds [2015]: E09, E19 skipped.

Criminal Minds [2015]/Season 01/Criminal.Minds.S01E09.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 01/Criminal.Minds.S01E19.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 02/Criminal.Minds.S02E09.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 02/Criminal.Minds.S02E19.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 03/Criminal.Minds.S03E09.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 03/Criminal.Minds.S03E19.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 04/Criminal.Minds.S04E09.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 04/Criminal.Minds.S04E19.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 05/Criminal.Minds.S05E09.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 05/Criminal.Minds.S05E19.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 06/Criminal.Minds.S06E09.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 06/Criminal.Minds.S06E19.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 07/Criminal.Minds.S07E09.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 07/Criminal.Minds.S07E19.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 08/Criminal.Minds.S08E09.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 08/Criminal.Minds.S08E19.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 09/Criminal.Minds.S09E19.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 10/Criminal.Minds.S10E09.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 11/Criminal.Minds.S11E09.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 11/Criminal.Minds.S11E19.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 12/Criminal.Minds.S12E09.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 12/Criminal.Minds.S12E19.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 13/Criminal.Minds.S13E09.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 13/Criminal.Minds.S13E19.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 14/Criminal.Minds.S14E09.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Criminal Minds [2015]/Season 15/Criminal.Minds.S15E09.NORDiC.1080p.DSNP.WEB-DL.DDP5.1.H.264-ROCKETRACCOON.mkv

Dallas [1978]: E20 and E21 skipped.

Dallas [1978]/Season 02/Dallas.S02E21.Royal.Marriage.1080p.AMZN.WEB-DL.x265.HEVC.DDP.2.0-PHOCiS.mkv
Dallas [1978]/Season 03/Dallas.S03E20.Second.Thoughts.1080p.AMZN.WEB-DL.x265.HEVC.DDP.2.0-PHOCiS.mkv
Dallas [1978]/Season 04/Dallas.S04E20.Ewing.vs.Ewing.1080p.AMZN.WEB-DL.x265.HEVC.DDP.2.0-PHOCiS.mkv
Dallas [1978]/Season 05/Dallas.S05E21.The.Prodigal.1080p.AMZN.WEB-DL.x265.HEVC.DDP.2.0-PHOCiS.mkv
Dallas [1978]/Season 06/Dallas.S06E21.Caribbean.Connection.1080p.AMZN.WEB-DL.x265.HEVC.DDP.2.0-PHOCiS.mkv
Dallas [1978]/Season 07/Dallas.S07E21.True.Confessions.1080p.AMZN.WEB-DL.x265.HEVC.DDP.2.0-PHOCiS.mkv
Dallas [1978]/Season 08/Dallas.S08E21.Shattered.Dreams.1080p.AMZN.WEB-DL.x265.HEVC.DDP.2.0-PHOCiS.mkv
Dallas [1978]/Season 09/Dallas.S09E21.Dire.Straits.1080p.AMZN.WEB-DL.x265.HEVC.DDP.2.0-PHOCiS.mkv
Dallas [1978]/Season 10/Dallas.S10E20.Olio.1080p.AMZN.WEB-DL.x265.HEVC.DDP.2.0-PHOCiS.mkv
Dallas [1978]/Season 11/Dallas.S11E20.Farlow's.Follies.1080p.AMZN.WEB-DL.x265.HEVC.DDP.2.0-PHOCiS.mkv
Dallas [1978]/Season 12/Dallas.S12E20.April.Showers.1080p.AMZN.WEB-DL.x265.HEVC.DDP.2.0-PHOCiS.mkv
Dallas [1978]/Season 13/Dallas.S13E20.Paradise.Lost.1080p.AMZN.WEB-DL.x265.HEVC.DDP.2.0-PHOCiS.mkv
Dallas [1978]/Season 14/Dallas.S14E21.The.Decline.and.Fall.of.the.Ewing.Empire.1080p.AMZN.WEB-DL.x265.HEVC.DDP.2.0-PHOCiS.mkv

Devious Maids [2013]: E09 skipped.

Devious Maids [2013]/Season 01/Devious.Maids.S01E09.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Devious Maids [2013]/Season 02/Devious.Maids.S02E09.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Devious Maids [2013]/Season 03/Devious.Maids.S03E09.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Devious Maids [2013]/Season 04/Devious.Maids.S04E09.NORDiC.1080p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv

Falcon Crest [1981]: E23 skipped.

Falcon Crest [1981]/Season 03/Falcon.Crest.S03E23.Final.Countdown.AMZN.WEB-DL.DDP2.0.H.264-BTW.mkv
Falcon Crest [1981]/Season 04/Falcon.Crest.S04E23.The.Trial.AMZN.WEB-DL.DDP2.0.H.264-BTW.mkv
Falcon Crest [1981]/Season 05/Falcon.Crest.S05E23.In.Absentia.AMZN.WEB-DL.DDP2.0.H.264-BTW.mkv
Falcon Crest [1981]/Season 06/Falcon.Crest.S06E23.Cold.Hands.AMZN.WEB-DL.DDP2.0.H.264-BTW.mkv
Falcon Crest [1981]/Season 07/Falcon.Crest.S07E23.Flying.Blind.AMZN.WEB-DL.DDP2.0.H.264-BTW.mkv

Farscape [1999]: E22 skipped.

Farscape [1999]/Season 01/Farscape.S01E22.Retail.DKsubs.720p.WEB-DL.H.264.DTS5.1-TWASERiES.mkv
Farscape [1999]/Season 02/Farscape.S02E22.Retail.DKsubs.720p.WEB-DL.H.264.DTS5.1-TWASERiES.mkv
Farscape [1999]/Season 03/Farscape.S03E22.Retail.DKsubs.720p.WEB-DL.H.264.DTS5.1-TWASERiES.mkv
Farscape [1999]/Season 04/Farscape.S04E22.Retail.DKsubs.720p.WEB-DL.H.264.DTS5.1-TWASERiES.mkv

Impuros [2018]: E05 skipped.

Impuros [2018]/Season 01/Impuros.S01E05.NORDiC.720p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Impuros [2018]/Season 02/Impuros.S02E05.NORDiC.720p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Impuros [2018]/Season 03/Impuros.S03E05.NORDiC.720p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv
Impuros [2018]/Season 04/Impuros.S04E05.NORDiC.720p.WEB-DL.H.264.DD+5.1-TWASERiES.mkv

King's Daughter, Soo Baek Hyang [2013]: E018, E037, E056, E082, E101 skipped

King's Daughter, Soo Baek Hyang [2013]/Season 01/The.Kings.Daughter.Soo.Baek-Hyang.S01E018.1080p.WAVVE.WEB-DL.AAC2.0.H.264-PandaMoon.mkv
King's Daughter, Soo Baek Hyang [2013]/Season 01/The.Kings.Daughter.Soo.Baek-Hyang.S01E037.1080p.WAVVE.WEB-DL.AAC2.0.H.264-PandaMoon.mkv
King's Daughter, Soo Baek Hyang [2013]/Season 01/The.Kings.Daughter.Soo.Baek-Hyang.S01E056.1080p.WAVVE.WEB-DL.AAC2.0.H.264-PandaMoon.mkv
King's Daughter, Soo Baek Hyang [2013]/Season 01/The.Kings.Daughter.Soo.Baek-Hyang.S01E082.1080p.WAVVE.WEB-DL.AAC2.0.H.264-PandaMoon.mkv
King's Daughter, Soo Baek Hyang [2013]/Season 01/The.Kings.Daughter.Soo.Baek-Hyang.S01E101.1080p.WAVVE.WEB-DL.AAC2.0.H.264-PandaMoon.mkv

Lady Revenge [2016]: E12, E44, E77 skipped in S01, E32 and E65 skipped in S02.

Lady Revenge [2016]/Season 01/la.dona.s01e12.720p.web.h264-skyfire.mkv
Lady Revenge [2016]/Season 01/la.dona.s01e44.720p.web.h264-skyfire.mkv
Lady Revenge [2016]/Season 01/la.dona.s01e77.720p.web.h264-skyfire.mkv
Lady Revenge [2016]/Season 02/la.dona.s02e32.720p.web.h264-skyfire.mkv
Lady Revenge [2016]/Season 02/la.dona.s02e65.720p.web.h264-skyfire.mkv

Meet the Browns [2009]: E21, E22, E43 skipped.

Meet the Browns [2009]/Season 02/Meet.the.Browns.S02E22.Meet.the.Real.Dad.1080p.Web.HEVC.x265-JBee.mkv
Meet the Browns [2009]/Season 03/Meet.the.Browns.S03E22.Meet.the.Fake.I.D.1080p.Web.HEVC.x265-JBee.mkv
Meet the Browns [2009]/Season 04/Meet.the.Browns.S04E21.Meet.the.Forgiveness.1080p.Web.HEVC.x265-JBee.mkv
Meet the Browns [2009]/Season 04/Meet.the.Browns.S04E43.Meet.the.Old.Fling.1080p.Web.HEVC.x265-JBee.mkv

Miracle Workers [2019]: E09 skipped.

Miracle Workers [2019]/Season 02/Miracle.Workers.S02E09.NORDiC.1080p.WEB-DL.H.264.DD5.1-TWASERiES.mkv
Miracle Workers [2019]/Season 03/Miracle.Workers.S03E09.NORDiC.1080p.WEB-DL.H.264.DD5.1-TWASERiES.mkv
Miracle Workers [2019]/Season 04/Miracle.Workers.S04E09.NORDiC.1080p.WEB-DL.H.264.DD5.1-TWASERiES.mkv

The Goldbergs [2013]: E19, E20 skipped.

The Goldbergs [2013]/Season 01/The.Goldbergs.2013.S01E20.Youre.Not.Invited.1080p.WEBRip.DDP.5.1.H.265.-iVy.mkv
The Goldbergs [2013]/Season 02/The.Goldbergs.2013.S02E20.Just.Say.No.1080p.WEBRip.DDP.5.1.H.265.-iVy.mkv
The Goldbergs [2013]/Season 03/The.Goldbergs.2013.S03E20.Dungeons.and.Dragons.Anyone.1080p.WEBRip.DDP.5.1.H.265.-iVy.mkv
The Goldbergs [2013]/Season 04/The.Goldbergs.2013.S04E20.The.Dynamic.Duo.1080p.WEBRip.DDP.5.1.H.265.-iVy.mkv
The Goldbergs [2013]/Season 05/The.Goldbergs.2013.S05E20.The.Opportunity.of.a.Lifetime.1080p.WEBRip.DDP.5.1.H.265.-iVy.mkv
The Goldbergs [2013]/Season 06/The.Goldbergs.2013.S06E20.This.is.This.is.Spinal.Tap.1080p.WEBRip.DDP.5.1.H.265.-iVy.mkv
The Goldbergs [2013]/Season 07/The.Goldbergs.2013.S07E20.The.Return.of.the.Formica.King.1080p.WEBRip.DDP.5.1.H.265.-iVy.mkv
The Goldbergs [2013]/Season 08/The.Goldbergs.2013.S08E20.Poker.Night.1080p.WEBRip.DDP.5.1.H.265.-iVy.mkv
The Goldbergs [2013]/Season 09/The.Goldbergs.2013.S09E19.Grand.Theft.Scooter.1080p.WEBRip.DDP.5.1.H.265.-iVy.mkv
The Goldbergs [2013]/Season 10/The.Goldbergs.2013.S10E20.Uptown.Boy.1080p.WEBRip.DDP.5.1.H.265.-iVy.mkv

The Jamie Foxx Show [1996]: E17, E18 skipped.

The Jamie Foxx Show [1996]/Season 01/The.Jamie.Foxx.Show.S01E18.The.Young.and.the.Meatless.1080p.AMZN.WEB-DL.x265.HEVC.DDP.2.0-PHOCiS.mkv
The Jamie Foxx Show [1996]/Season 02/The.Jamie.Foxx.Show.S02E17.Ain't.Nothin'.Happenin'.Cap'n.1080p.AMZN.WEB-DL.x265.HEVC.DDP.2.0-PHOCiS.mkv
The Jamie Foxx Show [1996]/Season 03/The.Jamie.Foxx.Show.S03E18.Fire.and.Desire.(1).1080p.AMZN.WEB-DL.x265.HEVC.DDP.2.0-PHOCiS.mkv
The Jamie Foxx Show [1996]/Season 04/The.Jamie.Foxx.Show.S04E18.Hot.Coco.on.a.Cold.Night.1080p.AMZN.WEB-DL.x265.HEVC.DDP.2.0-PHOCiS.mkv

Vengeance of the Bride [2022]: E21, E43, E65, E94 skipped.

Vengeance of the Bride [2022]/Season 01/Vengeance.of.the.Bride.S01E021.1080p.AMZN.WEB-DL.DDP2.0.H.264-RSG.mkv
Vengeance of the Bride [2022]/Season 01/Vengeance.of.the.Bride.S01E043.1080p.AMZN.WEB-DL.DDP2.0.H.264-RSG.mkv
Vengeance of the Bride [2022]/Season 01/Vengeance.of.the.Bride.S01E065.1080p.AMZN.WEB-DL.DDP2.0.H.264-RSG.mkv
Vengeance of the Bride [2022]/Season 01/Vengeance.of.the.Bride.S01E094.1080p.AMZN.WEB-DL.DDP2.0.H.264-RSG.mkv

Yep, I agree, indeed it is, at least according to tmdb :smiley: - I just wanted to highlight that the problem I am having relates to both Movies and TV Shows libraries, so I mentioned a movie example also. Sorry for the confusion :slight_smile:

Regarding your TV series naming, simply put, you have a lot of work to do.

There’s no easy way around it. Series by series (or drag+drop a few series at a time)
– Drag + Drop
– Match
– Let it rename per Plex naming
– Have Plex Scan files again

I just made this in about 15 seconds to demonstrate

[chuck@lizum tv.2007]$ make-series Billions 7 12
Making "Billions/Season 01"
Making "Billions/Season 02"
Making "Billions/Season 03"
Making "Billions/Season 04"
Making "Billions/Season 05"
Making "Billions/Season 06"
Making "Billions/Season 07"
Done
[chuck@lizum tv.2008]$ ll Billions/*01
total 52
drwxr-xr-x 2 chuck chuck 4096 Oct 30 21:20 ./
drwxr-xr-x 9 chuck chuck  157 Oct 30 21:20 ../
-rw-r--r-- 1 chuck chuck  264 Oct 30 21:20 Billions - S01E01.mkv
-rw-r--r-- 1 chuck chuck  264 Oct 30 21:20 Billions - S01E02.mkv
-rw-r--r-- 1 chuck chuck  264 Oct 30 21:20 Billions - S01E03.mkv
-rw-r--r-- 1 chuck chuck  264 Oct 30 21:20 Billions - S01E04.mkv
-rw-r--r-- 1 chuck chuck  264 Oct 30 21:20 Billions - S01E05.mkv
-rw-r--r-- 1 chuck chuck  264 Oct 30 21:20 Billions - S01E06.mkv
-rw-r--r-- 1 chuck chuck  264 Oct 30 21:20 Billions - S01E07.mkv
-rw-r--r-- 1 chuck chuck  264 Oct 30 21:20 Billions - S01E08.mkv
-rw-r--r-- 1 chuck chuck  264 Oct 30 21:20 Billions - S01E09.mkv
-rw-r--r-- 1 chuck chuck  264 Oct 30 21:20 Billions - S01E10.mkv
-rw-r--r-- 1 chuck chuck  264 Oct 30 21:20 Billions - S01E11.mkv
-rw-r--r-- 1 chuck chuck  264 Oct 30 21:20 Billions - S01E12.mkv
[chuck@lizum tv.2009]$ 

PMS responded within a minute with

When you don’t try to over control it but give it what it wants, it works.

This is done using the default library settings.

Out of curiosity, are you using hard links with the libraries and episodes in question? I ask because you mentioned moving items between staging and permanent libraries. Hard links can affect Plex’s scanning and can cause potentially unexpected behavior, at least in certain circumstances.

See the last 5-6 posts of this thread for information on one such circumstance.

Ah, but if it is so consistent, according to you - that should mean that you would have no problem recreating the problem I am seeing, right? (Simulating NOT putting in the hard work and NOT fixing the naming).

I foresee that even If you do use the bad naming I have (or even much worse naming), you will see precisely the very same result that you got by using the perfect naming you did - Plex just chews it all in and sets it up correctly, happy-happy. This is what happens in my small β€œIncoming” libraries all the time - no problems at all. It just works.

I have never seen the problem in smaller libraries. This problem appears to only pertain to larger ones.

But that make-series utility does indeed look really helpful. Where is it found?

Could you try to bump up the numbers a bit? Like make some large shows (make-series <100 shows> <10 seasons> <60 episodes>) and some smaller shows (make-series <4900 shows> <3 seasons> <12 episodes>), just to establish a starting point? (60k + 176,4k = 236,4k episodes).

# Let's create 100 large shows
#!/bin/bash
for i in {1..100}
do
   show=`cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' `
   mkdir $show
   pushd $show
   make-series $show 10 60
   popd
done

# And 4900 smaller ones
for i in {1..4900}
do
   show=`cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' `
   mkdir $show
   pushd $show
   make-series $show 3 12
   popd
done

I don’t think it matters one bit if the shows can be matched or not, this is about the mechanics of how the Scanner picks up the files, not the end result.

And then, after this initial set of 5000 shows has been Scanned and imported, import one large final show, like simulating i.e. the Guiding Light show?

mkdir "Guiding Light (1952)"
cd "Guiding Light (1952)"
make-series "Guiding Light" 58 254

It would be this last imported show that I expect to be missing some episodes, not the 5000 initial shows that were imported.

This would be a test that would much more correctly simulate the scenario that I am seeing :slight_smile:

Thanks! - No, no hard links is used in my setup.

I guess the guy could just hide the hard links simply by exposing the files over a protocol that would hide them. But interesting find, it appears to me again that there is some very strange magic going on in the Scanner :smiley:

In my case everything is mounted in over CIFS from a Synology NAS; there are no local media files at the Plex server.

The move between the staging and the final libraries is a simple file move inside the same CIFS mount.

I am very aware that CIFS mounts sometimes do come with caching issues, especially with files being edited, but this is not the problem here. The problem is that the Scanner consistently skips particular files that are very present and accessible in the file system.

CIFS mount parameters:
type cifs (rw,relatime,vers=default,cache=strict,uid=0,noforceuid,gid=0,noforcegid,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=1048576,wsize=1048576,echo_interval=60,actimeo=1)