I have few series, where Plex TV Series agent (new one) miss-matches, this can be acceptable, but if i do fix match manually, and there is a new episode added into same folder, why is the new episode miss-matched exactly same as it was before my fix? I will have two series in the same folder, this should not be possible, right?
What can I do to prohibit that? Is there a way you can fix it?
Would you mind sharing some more details? I’m not sure I understand what you mean by „the new episode miss-matched exactly same as it was before your fix“.
How are your files for this show organized and named?
I have a folder with name “Comedy.Central” where are files in subfolders like: “Season.2022”, etc.
The Plex library is set to use “Plex TV Series”, language: “Czech”.
Plex agent matched the series automatically as “Comedy Club (Russia)” year 2005.
Then I fixed match to proper “Comedy Club” Czech, year 2016.
So far so good, troubles start when I add a new episode, Plex TV Series agent will match it again as “Comedy Club (Russia)” and generates a new series in the lib, so i have to find the new wrongly matched and fix match to get it merged under the proper one.
What’s makes me wonder is, why agent generate a new series out of one folder with proper structure, where metadata already exists and even manually “fix matched”.
My expectation would be to respect the metadata of already matched folder.
TV libraries don’t support arbitrary subfolders. Your naming should always be something like <tv root path>/Show Name (Year)/Season 1/Show Name - S01E01 - Optional Episode Title.ext
A season folder isn’t technically required but is recommended, but you should never have other subfolders.
But still, this is not about wrong match, this is something i can live with.
What bothers me is the fact it can create several “metadata” shows out of one folder structure.
How it can be…
this is part of one show:
/media/tv/Comedy.Club/Season.06/comedy.club.6x25.czech.1080p.hdtv.x265.mkv
But this is in another?
/media/tv/Comedy.Club/Season.06/comedy.club.6x26.czech.1080p.hdtv.x265.mkv
One would think, once there is a new file / new episode, in already matched TV show folder, there will be no more matching, only add of new episode and then perhaps metadata refresh.
May 20, 2022 10:51:20.180 [41952] DEBUG - Looking for path match for [R:\SiTE\TV\Comedy.Club\Season.06\comedy.club.6x21.czech.1080p.hdtv.x265-iczi.mkv]
May 20, 2022 10:51:20.182 [41952] DEBUG - Path matched, we're reusing media item 1106374
May 20, 2022 10:51:20.183 [41952] DEBUG - Looking for path match for [R:\SiTE\TV\Comedy.Club\Season.06\comedy.club.6x22.czech.1080p.hdtv.x265-iczi.mkv]
May 20, 2022 10:51:20.185 [41952] DEBUG - Path matched, we're reusing media item 1106786
May 20, 2022 10:51:20.186 [41952] DEBUG - Looking for path match for [R:\SiTE\TV\Comedy.Club\Season.06\comedy.club.6x23.czech.1080p.hdtv.x265-iczi.mkv]
May 20, 2022 10:51:20.188 [41952] DEBUG - Path matched, we're reusing media item 1109090
May 20, 2022 10:51:20.188 [41952] DEBUG - Looking for path match for [R:\SiTE\TV\Comedy.Club\Season.06\comedy.club.6x24.czech.1080p.hdtv.x265-iczi.mkv]
May 20, 2022 10:51:20.190 [41952] DEBUG - Path matched, we're reusing media item 1109091
May 20, 2022 10:51:20.191 [41952] DEBUG - Looking for path match for [R:\SiTE\TV\Comedy.Club\Season.06\comedy.club.6x25.czech.1080p.hdtv.x265-iczi.mkv]
May 20, 2022 10:51:20.193 [41952] DEBUG - Path matched, we're reusing media item 1109645
May 20, 2022 10:51:20.193 [41952] DEBUG - Looking for path match for [R:\SiTE\TV\Comedy.Club\Season.06\comedy.club.6x26.czech.1080p.hdtv.x265-iczi.mkv]
May 20, 2022 10:51:20.196 [41952] DEBUG - Checking by hash to see if we can find a match with 03cdea8aa87f2aec5cee44eb5fcaa80445e3311e (display offset: 0, not part -1)
May 20, 2022 10:51:20.196 [41952] DEBUG - We found a hash match for [R:\SiTE\TV\Comedy.Club\Season.06\comedy.club.6x26.czech.1080p.hdtv.x265-iczi.mkv] which was [R:\SiTE\TV\Comedy.Club\Season.06\comedy.club.20x16.czech.1080p.hdtv.x265-iczi.mkv].
May 20, 2022 10:51:20.198 [41952] INFO - Part rename detected [R:\SiTE\TV\Comedy.Club\Season.06\comedy.club.20x16.czech.1080p.hdtv.x265-iczi.mkv] was renamed [R:\SiTE\TV\Comedy.Club\Season.06\comedy.club.6x26.czech.1080p.hdtv.x265-iczi.mkv]
May 20, 2022 10:51:20.199 [41952] DEBUG - Updating media item 1112235, size=482027882, metadata_item_id=624526
May 20, 2022 10:51:20.199 [41952] DEBUG - Updating part with ID=1133072 [R:\SiTE\TV\Comedy.Club\Season.06\comedy.club.20x16.czech.1080p.hdtv.x265-iczi.mkv]
May 20, 2022 10:51:20.200 [41952] DEBUG - Hint episode didn't match ('26' != '16') for DB media item 1112235
May 20, 2022 10:51:20.203 [41952] DEBUG - Checking descendants of Comedy.Club
May 20, 2022 10:51:20.204 [41952] DEBUG - -> Searching down into Comedy.Club/Season.02
May 20, 2022 10:51:20.204 [41952] DEBUG - Checking descendants of Comedy.Club/Season.02
May 20, 2022 10:51:20.206 [41952] DEBUG - -> FOUND metadata item (show)
May 20, 2022 10:51:20.206 [41952] DEBUG - -> We found a local media item with rooted metadata in Comedy.Club/Season.02
May 20, 2022 10:51:20.207 [41952] DEBUG - Creating show 'Comedy Club (Russia)'
May 20, 2022 10:51:20.210 [41952] DEBUG - Added new metadata item (Comedy Club (Russia)) with ID 625852
May 20, 2022 10:51:20.211 [38112] DEBUG - [LibraryTimeline] Scanner activity on section 3: 1 added, 0 deleted
May 20, 2022 10:51:20.211 [41952] DEBUG - Creating season 6 for show 'Comedy Club (Russia)'
There was a file with “wrong” name. 20x16 but fixed to 6x26 :-/
Any hint?
I’ve added another episode with the same results
May 23, 2022 10:19:59.307 [26556] DEBUG - Path matched, we're reusing media item 1109645
May 23, 2022 10:19:59.308 [26556] DEBUG - Looking for path match for [R:\SiTE\TV\Comedy.Club\Season.06\comedy.club.6x26.czech.1080p.hdtv.x265-iczi.mkv]
May 23, 2022 10:19:59.310 [26556] DEBUG - Path matched, we're reusing media item 1119103
May 23, 2022 10:19:59.311 [26556] DEBUG - Looking for path match for [R:\SiTE\TV\Comedy.Club\Season.06\comedy.club.6x27.czech.1080p.hdtv.x265-iczi.mkv]
May 23, 2022 10:19:59.325 [26556] DEBUG - Checking by hash to see if we can find a match with 03cdea8aa87f2aec5cee44eb5fcaa80445e3311e (display offset: 0, not part -1)
May 23, 2022 10:19:59.325 [26556] DEBUG - We found a hash match for [R:\SiTE\TV\Comedy.Club\Season.06\comedy.club.6x27.czech.1080p.hdtv.x265-iczi.mkv] which was [R:\SiTE\TV\Comedy.Club\Season.06\comedy.club.6x26.czech.1080p.hdtv.x265-iczi.mkv].
May 23, 2022 10:19:59.327 [26556] WARN - Duplicate media part detected [R:\SiTE\TV\Comedy.Club\Season.06\comedy.club.6x26.czech.1080p.hdtv.x265-iczi.mkv], but we'll scan it anyway.
May 23, 2022 10:19:59.327 [26556] DEBUG - Hint episode didn't match ('27' != '26') for DB media item 1119103
May 23, 2022 10:19:59.329 [26556] DEBUG - Checking descendants of Comedy.Club
May 23, 2022 10:19:59.330 [26556] DEBUG - -> Searching down into Comedy.Club/Season.02
May 23, 2022 10:19:59.330 [26556] DEBUG - Checking descendants of Comedy.Club/Season.02
May 23, 2022 10:19:59.333 [26556] DEBUG - -> FOUND metadata item (show)
May 23, 2022 10:19:59.333 [26556] DEBUG - -> We found a local media item with rooted metadata in Comedy.Club/Season.02
May 23, 2022 10:19:59.333 [26556] DEBUG - Creating show 'Comedy Club (Russia)'
May 23, 2022 10:19:59.336 [26556] DEBUG - Added new metadata item (Comedy Club (Russia)) with ID 626338
May 23, 2022 10:19:59.337 [26556] DEBUG - Creating season 6 for show 'Comedy Club (Russia)'
May 23, 2022 10:19:59.338 [32940] DEBUG - [LibraryTimeline] Scanner activity on section 3: 1 added, 0 deleted
May 23, 2022 10:19:59.338 [32940] DEBUG - HubCache: Expiring '1/continueWatching/1/hubs/continueWatching/en-GBexternal-media,indirect-media/contentDirectoryID=2%2C1%2C17%2C6%2C13%2C7%2C4%2C18%2C16%2C3%2C5%2Cplaylists&excludeFields=summary&includeMeta=1' because of event plex.event.item.created.
May 23, 2022 10:19:59.339 [32940] DEBUG - HubCache: Expiring '1/tv.recentlyadded.3/1/hubs/promoted/en-GBexternal-media,indirect-media/contentDirectoryID=3&count=12&excludeContinueWatching=1&excludeFields=summary&includeGames=1&includeLibraryPlaylists=1&includeMeta=1&includeRecentChannels=1&includeStations=1&pinnedContentDirectoryID=2%2C1%2C17%2C6%2C13%2C7%2C4%2C18%2C16%2C3%2C5%2Cplaylists' because of event plex.event.item.created.
May 23, 2022 10:19:59.339 [26556] DEBUG - Added new metadata item () with ID 626339
May 23, 2022 10:19:59.342 [26556] DEBUG - Added new metadata item () with ID 626340
May 23, 2022 10:19:59.345 [32940] DEBUG - [LibraryTimeline] Scanner activity on section 3: 2 added, 0 deleted
May 23, 2022 10:19:59.347 [32940] DEBUG - [LibraryTimeline] Scanner activity on section 3: 3 added, 0 deleted
Verify that the library has been pointed to the folder R:\SiTE\TV\. No folder level above nor below it.
Episodes which have been mismatched due to a naming issue, usually require you to perform the Plex Dance to resolve the mismatch. Even after renaming them.