Plex TV Series Matching

Server Version#: 1.25.4.5426
Player Version#: 4.73.2

I went through the process of adding in the TVDB ID into my files per the new agent/matching methodology and cleaned up my library to help avoid mismatches.

I have 2 shows that match on the top level, but the episodes are not matching.

I did the Plex Dance (moved out, scan/delete/clean bundles/optmize db/move back) on these two items and cleaned out the Plug In cache to make sure that wasn’t stopping something either. The TVDB are correct and episodes are named identical to my other 52k TV items that all match without issue.

Jan 20, 2022 09:24:29.515 [0x7f2667022b38] WARN - Scanner [Plex TV Series]: unable to find cloud match for item file '/media/TV/House of Lies (2012) {tvdb-247909}/House of Lies (2012) - S05E01.mkv'

as that’s the same error for all episodes in that series.

And Homeland does the same thing:

Plex Media Server.log:Jan 20, 2022 09:22:56.104 [0x7f2667022b38] WARN - Scanner [Plex TV Series]: unable to find cloud match for item file '/media/TV/Homeland (2011) {tvdb-247897}/Homeland (2011) - S02E01.mkv'
Plex Media Server.log:Jan 20, 2022 09:22:57.101 [0x7f2667dbab38] WARN - Scanner [Plex TV Series]: unable to find cloud match for item file '/media/TV/Homeland (2011) {tvdb-247897}/Homeland (2011) - S03E01.mkv'
Plex Media Server.log:Jan 20, 2022 09:22:58.149 [0x7f2667dbab38] WARN - Scanner [Plex TV Series]: unable to find cloud match for item file '/media/TV/Homeland (2011) {tvdb-247897}/Homeland (2011) - S04E01.mkv'
Plex Media Server.log:Jan 20, 2022 09:22:59.194 [0x7f2666fdcb38] WARN - Scanner [Plex TV Series]: unable to find cloud match for item file '/media/TV/Homeland (2011) {tvdb-247897}/Homeland (2011) - S05E01.mkv'
Plex Media Server.log:Jan 20, 2022 09:23:00.267 [0x7f2666fdcb38] WARN - Scanner [Plex TV Series]: unable to find cloud match for item file '/media/TV/Homeland (2011) {tvdb-247897}/Homeland (2011) - S06E01.mkv'
Plex Media Server.log:Jan 20, 2022 09:23:05.782 [0x7f2667022b38] WARN - Scanner [Plex TV Series]: unable to find cloud match for item file '/media/TV/Homeland (2011) {tvdb-247897}/Homeland (2011) - S07E01.mkv'
Plex Media Server.log:Jan 20, 2022 09:23:07.201 [0x7f2666fffb38] WARN - Scanner [Plex TV Series]: unable to find cloud match for item file '/media/TV/Homeland (2011) {tvdb-247897}/Homeland (2011) - S08E01.mkv'

I’m not sure what’s special about those 2 series as my other 1008 match with the same format based on the guidelines.

Anything else I should try to fix those 2 shows?

You are missing Season xx subfolders.

Also very important: only the folder /media/TV must be added to the Plex library.
Not the individual folders for each show. And also not any of the folder levels above of /TV.

The plugin cache is not used with the new “Plex TV Series” agent.

So my 1008 other TV series / 58,000 episodes that do match are flukes and the 2 shows that don’t match are correct?

I’m happy to test that now and report with results for those two shows.

As expected, that does nothing to change my issue:

Jan 20, 2022 09:43:40.399 [0x7f2666b21b38] WARN - Scanner [Plex TV Series]: unable to find cloud match for item file '/media/TV/House of Lies (2012) {tvdb-247909}/Season 05/House of Lies (2012) - S05E01.mkv'
Jan 20, 2022 09:43:40.689 [0x7f2668614b38] WARN - Scanner [Plex TV Series]: unable to find cloud match for item file '/media/TV/House of Lies (2012) {tvdb-247909}/Season 04/House of Lies (2012) - S04E01.mkv'

Same two shows still have the same problem. Didn’t think the season folder was required.

Are you employing any type of DNS-based blacklist filter in your network or on the Plex server?
Did you ever insert any records of plex.tv servers into your hosts file?

This show is definitely present in the metadata proxy of plex.tv https://watch.plex.tv/show/house-of-lies

No, there is nothing blocked going out at all.

I’ve redid my Movie and TV to match the new formats with the IMDB ID / TVDB ID respectively over the last few days.

No movies issues.
Out of all my TV shows, I have 1008 that worked/matched (format is the same as it’s renamed by Sonarr) and those 2 outliers so it’s something specific for those two items for me.

Those two shows match top level as that looks right. It’s the per episode detail that does not match.

If there is more logging to grab on the payload out, I’m happy to test that?

I also just refeshed metadata manually on the TV library and that had no issues (minus these 2 shows).

So the top level show:

and an example episode that isn’t matched.

image

Ah, the 1900 date :slight_smile:

Try this and see if it works TV Media showing RELEASED as January 1,1900 - #12 by drzoidberg33

I think that’s a red herring as the file isn’t that date as it isn’t updating the data there:

-rw-rw-r-- 1 felix felix 1117179888 Mar 16  2017 'House of Lies (2012) - S01E01.mkv'

I do not have prefer local metadata enabled (never had it on):

image

Do the other shows (which do match) have the same file owner and access permissions?

Full server logs please.

100% no permission issues. I run plex overrides and it runs as my user felix. I have a standalone server that is only used by me so it’s simplified in terms of that to avoid any permission issues as it all runs as the same user.

felix@gemini:/media/TV/House of Lies (2012) {tvdb-247909}/Season 01$ id
uid=1000(felix) gid=1000(felix) groups=1000(felix),4(adm),24(cdrom),27(sudo),30(dip),44(video),46(plugdev),109(render),116(lxd)
felix@gemini:/media/TV/House of Lies (2012) {tvdb-247909}/Season 01$ ls -al House\ of\ Lies\ \(2012\)\ -\ S01E03.mkv
-rw-rw-r-- 1 felix felix 991910024 Mar 17  2017 'House of Lies (2012) - S01E03.mkv'
felix@gemini:/media/TV/House of Lies (2012) {tvdb-247909}/Season 01$ mediainfo House\ of\ Lies\ \(2012\)\ -\ S01E01.mkv  | head -3
General
Unique ID                                : 251367484877895447253654699094366097676 (0xBD1B9DDA9F5B7A1EBDFEFBBB58AA110C)
Complete name                            : House of Lies (2012) - S01E01.mkv
felix@gemini:/media/TV/House of Lies (2012) {tvdb-247909}/Season 01$ ps -ef | grep -i plex
felix        812       1  2 07:23 ?        00:03:52 /usr/bin/python3 /opt/Tautulli/PlexPy.py --nolaunch --config /opt/Tautulli/config.ini --datadir /opt/Tautulli
felix      19727       1 32 08:08 ?        00:36:21 /usr/lib/plexmediaserver/Plex Media Server
felix      19762   19727  0 08:08 ?        00:00:07 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-eb46d070e/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.25.4.5426-eb46d070e /usr/lib/plexmediaserver/Resources/Plug-ins-eb46d070e/System.bundle
felix      19825   19727  0 08:08 ?        00:00:06 /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexmediaserver/Resources/Tuner/Private /usr/lib/plexmediaserver/Resources/Tuner/Shared 1.25.4.5426-eb46d070e 32600
felix      57293   19727  1 09:06 ?        00:00:39 Plex EAE Service
felix      65193   19727  0 09:54 ?        00:00:00 Plex Plug-in [tv.plex.agents.series] /usr/lib/plexmediaserver/Resources/Plug-ins-eb46d070e/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.25.4.5426-eb46d070e /usr/lib/plexmediaserver/Resources/Plug-ins-eb46d070e/PlexSeries.bundle
felix      65893    3129  0 10:00 pts/0    00:00:00 grep --color=auto -i plex

I just test played the first file as well to validate it can play:

image

Yep, wasn’t sure if it was something simple or not.

Here are the full logs.

Plex Media Server Logs_2022-01-20_10-04-01.zip (1.2 MB)

I did another test and copied that one file and made a new library and that one episode matched properly.

So even after the ‘dance’ in my main TV library, I’d imagine I have something going wrong but not sure what as it doesn’t seem to be an agent issue.

Is there any other steps in the dance I should take / try out?

I ran through the move the folder, scan/empty trash, clean bundles, optimize db, move back, rescan as the process I used before.

Just to be 100% sure but when you do the plex dance are you doing the entire show on your main TV library ? If not then I’d suggest doing that.

Just to make sure: if you do the dance, you must perform all steps of it, in the noted order, or it’ll be in vain.

To be specific:

  1. moving the whole directory out of the monitored area:
 2194  mv Homeland\ \(2011\)\ \{tvdb-247897\}/ ..
 2195  mv House\ of\ Lies\ \(2012\)\ \{tvdb-247909\}/ ..
  1. Scan TV Library
  2. Empty Trash
  3. Clean Bundles
  4. Optimize DB
  5. Move back into folder
  6. Rescan

I’m a skilled dancer and have done it numerous times. If you see an error in my process, please let me know. I have a directory monitored /media/TV and I’m moving the entire directory to /media which is not monitored.

Took a peek at your logs and don’t see anything that would explain this but I’m sure others are more skilled than I. I do however wonder if you just leave well enough alone for 24/48 hrs would it sort itself out :slight_smile: I can be sure your naming of media is fine so could be something else which maybe will resolve itself in time :thinking:

Much appreciated. Thanks for checking/spending your time.

1 Like

I can vouch for @animosity022. He knows what he’s doing :wink:

(just saying hi!)

1 Like