# Plex TV Series Matching

**URL:** <https://forums.plex.tv/t/plex-tv-series-matching/771919>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [January 20, 2022, 2:29pm UTC](https://forums.plex.tv/t/plex-tv-series-matching/771919 "2022-01-20T14:29:55Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![animosity022](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/animosity022/32/83693_2.png) [@animosity022](https://forums.plex.tv/u/animosity022)\
**Post date:** [January 20, 2022, 2:29pm UTC](https://forums.plex.tv/t/plex-tv-series-matching/771919/1 "2022-01-20T14:29:55Z")

</div>

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](https://forums.plex.tv/t/the-plex-dance/197064) (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.

```auto
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:

```auto
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?

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [January 20, 2022, 2:34pm UTC](https://forums.plex.tv/t/plex-tv-series-matching/771919/2 "2022-01-20T14:34:58Z")

</div>

You are missing `Season xx` subfolders.

> **[Naming and Organizing Your TV Show Files | Plex Support](https://support.plex.tv/articles/naming-and-organizing-your-tv-show-files/)**
>
> The scanners and metadata agents used by Plex will work best when your major types of content are separated from...

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.

---

<div class="post-metadata">

**Author:** ![animosity022](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/animosity022/32/83693_2.png) [@animosity022](https://forums.plex.tv/u/animosity022)\
**Post date:** [January 20, 2022, 2:37pm UTC](https://forums.plex.tv/t/plex-tv-series-matching/771919/3 "2022-01-20T14:37:42Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![animosity022](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/animosity022/32/83693_2.png) [@animosity022](https://forums.plex.tv/u/animosity022)\
**Post date:** [January 20, 2022, 2:44pm UTC](https://forums.plex.tv/t/plex-tv-series-matching/771919/4 "2022-01-20T14:44:20Z")

</div>

As expected, that does nothing to change my issue:

```auto
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.

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [January 20, 2022, 2:45pm UTC](https://forums.plex.tv/t/plex-tv-series-matching/771919/5 "2022-01-20T14:45:52Z")

</div>

> [@animosity022](#):
>
> `House of Lies`

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](https://watch.plex.tv/show/house-of-lies)

---

<div class="post-metadata">

**Author:** ![animosity022](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/animosity022/32/83693_2.png) [@animosity022](https://forums.plex.tv/u/animosity022)\
**Post date:** [January 20, 2022, 2:49pm UTC](https://forums.plex.tv/t/plex-tv-series-matching/771919/6 "2022-01-20T14:49:50Z")

</div>

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).

---

<div class="post-metadata">

**Author:** ![animosity022](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/animosity022/32/83693_2.png) [@animosity022](https://forums.plex.tv/u/animosity022)\
**Post date:** [January 20, 2022, 2:52pm UTC](https://forums.plex.tv/t/plex-tv-series-matching/771919/7 "2022-01-20T14:52:12Z")

</div>

So the top level show:

 ![image](https://global.discourse-cdn.com/plex/original/4X/b/7/8/b789773f0c158524ad895a1bdbe4f414f37fa35a.jpeg)

and an example episode that isn’t matched.

![image](https://global.discourse-cdn.com/plex/original/4X/a/d/c/adc3cae1e0b64962b8194e107405bfef2d8752eb.jpeg)

---

<div class="post-metadata">

**Author:** ![anon5074910](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@anon5074910](https://forums.plex.tv/u/anon5074910)\
**Post date:** [January 20, 2022, 2:53pm UTC](https://forums.plex.tv/t/plex-tv-series-matching/771919/8 "2022-01-20T14:53:52Z")

</div>

Ah, the 1900 date 🙂

Try this and see if it works [TV Media showing RELEASED as January 1,1900 - #12 by drzoidberg33](https://forums.plex.tv/t/tv-media-showing-released-as-january-1-1900/739029/12)

---

<div class="post-metadata">

**Author:** ![animosity022](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/animosity022/32/83693_2.png) [@animosity022](https://forums.plex.tv/u/animosity022)\
**Post date:** [January 20, 2022, 2:56pm UTC](https://forums.plex.tv/t/plex-tv-series-matching/771919/9 "2022-01-20T14:56:00Z")

</div>

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

```auto
-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](https://global.discourse-cdn.com/plex/original/4X/d/c/4/dc4e214d6efcd681dd8b3d0e9027647ce1390f01.png)

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [January 20, 2022, 2:57pm UTC](https://forums.plex.tv/t/plex-tv-series-matching/771919/10 "2022-01-20T14:57:56Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![drzoidberg33](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/drzoidberg33/32/4184_2.png) [@drzoidberg33](https://forums.plex.tv/u/drzoidberg33)\
**Post date:** [January 20, 2022, 3:02pm UTC](https://forums.plex.tv/t/plex-tv-series-matching/771919/11 "2022-01-20T15:02:08Z")

</div>

Full [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) please.

---

<div class="post-metadata">

**Author:** ![animosity022](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/animosity022/32/83693_2.png) [@animosity022](https://forums.plex.tv/u/animosity022)\
**Post date:** [January 20, 2022, 3:02pm UTC](https://forums.plex.tv/t/plex-tv-series-matching/771919/12 "2022-01-20T15:02:30Z")

</div>

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.

```auto
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](https://global.discourse-cdn.com/plex/original/4X/7/b/8/7b825765a22eff314de85ca20278cff0fc176ad8.jpeg)

---

<div class="post-metadata">

**Author:** ![animosity022](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/animosity022/32/83693_2.png) [@animosity022](https://forums.plex.tv/u/animosity022)\
**Post date:** [January 20, 2022, 3:04pm UTC](https://forums.plex.tv/t/plex-tv-series-matching/771919/13 "2022-01-20T15:04:31Z")

</div>

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](https://forums.plex.tv/uploads/short-url/AtAl63uZ7y1XHlSMWziqKM9gGu5.zip) (1.2 MB)

---

<div class="post-metadata">

**Author:** ![animosity022](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/animosity022/32/83693_2.png) [@animosity022](https://forums.plex.tv/u/animosity022)\
**Post date:** [January 20, 2022, 3:19pm UTC](https://forums.plex.tv/t/plex-tv-series-matching/771919/14 "2022-01-20T15:19:34Z")

</div>

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

 ![image](https://global.discourse-cdn.com/plex/original/4X/c/6/6/c66de1cabca9c2308a31aecc2c6058f9466428ee.jpeg)

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.

---

<div class="post-metadata">

**Author:** ![anon5074910](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@anon5074910](https://forums.plex.tv/u/anon5074910)\
**Post date:** [January 20, 2022, 4:51pm UTC](https://forums.plex.tv/t/plex-tv-series-matching/771919/15 "2022-01-20T16:51:28Z")

</div>

> [@animosity022](#):
>
> Is there any other steps in the dance I should take / try out?

Just to be 100% sure but when you do the [plex dance](https://forums.plex.tv/t/the-plex-dance/197064) are you doing the entire show on your main TV library ? If not then I’d suggest doing that.

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [January 20, 2022, 4:55pm UTC](https://forums.plex.tv/t/plex-tv-series-matching/771919/16 "2022-01-20T16:55:17Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![animosity022](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/animosity022/32/83693_2.png) [@animosity022](https://forums.plex.tv/u/animosity022)\
**Post date:** [January 20, 2022, 5:10pm UTC](https://forums.plex.tv/t/plex-tv-series-matching/771919/17 "2022-01-20T17:10:16Z")

</div>

> [@anon5074910](#):
>
> Just to be 100% sure but when you do the [plex dance](https://forums.plex.tv/t/the-plex-dance/197064) are you doing the entire show on your main TV library ? If not then I’d suggest doing that.

To be specific:

1. moving the whole directory out of the monitored area:

```auto
 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

> [@OttoKerner](#):
>
> 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.

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.

---

<div class="post-metadata">

**Author:** ![anon5074910](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@anon5074910](https://forums.plex.tv/u/anon5074910)\
**Post date:** [January 20, 2022, 5:55pm UTC](https://forums.plex.tv/t/plex-tv-series-matching/771919/18 "2022-01-20T17:55:03Z")

</div>

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 🙂 I can be sure your naming of media is fine so could be something else which maybe will resolve itself in time 🤔

---

<div class="post-metadata">

**Author:** ![animosity022](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/animosity022/32/83693_2.png) [@animosity022](https://forums.plex.tv/u/animosity022)\
**Post date:** [January 20, 2022, 6:13pm UTC](https://forums.plex.tv/t/plex-tv-series-matching/771919/19 "2022-01-20T18:13:42Z")

</div>

Much appreciated. Thanks for checking/spending your time.

---

<div class="post-metadata">

**Author:** ![VBB](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/vbb/32/333130_2.png) [@VBB](https://forums.plex.tv/u/VBB)\
**Post date:** [January 20, 2022, 8:46pm UTC](https://forums.plex.tv/t/plex-tv-series-matching/771919/20 "2022-01-20T20:46:35Z")

</div>

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

(just saying hi!)

[Next page](https://forums.plex.tv/t/plex-tv-series-matching/771919.md?page=2)
