# Plex unmatches movies randomly

**URL:** <https://forums.plex.tv/t/plex-unmatches-movies-randomly/191874>\
**Category:** General Discussions\
**Created:** [May 13, 2017, 5:30pm UTC](https://forums.plex.tv/t/plex-unmatches-movies-randomly/191874 "2017-05-13T17:30:02Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![aporzio1](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@aporzio1](https://forums.plex.tv/u/aporzio1)\
**Post date:** [May 13, 2017, 5:30pm UTC](https://forums.plex.tv/t/plex-unmatches-movies-randomly/191874/1 "2017-05-13T17:30:02Z")

</div>

Server version: Version 1.5.5.3634  
OS: MacOS 10.12.4

Some (132 that i saw, maybe more) of the 1400+ movies were no longer matched to a movie. The video was there and you could play it. but all movie information was missing. If you update the library, it will rematch the movies, but issue will happen again

Matched: [http://imgur.com/QzC30T8](http://imgur.com/QzC30T8)  
Un-Matched: [http://imgur.com/9voqvGZ](http://imgur.com/9voqvGZ)

---

<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:** [May 13, 2017, 6:52pm UTC](https://forums.plex.tv/t/plex-unmatches-movies-randomly/191874/2 "2017-05-13T18:52:03Z")

</div>

1. how is the file of this particular movie named?

2. Where are your movie files actually stored? Locally on your server device or on an external device or even a network share?

3. Settings - Server - Library - ‘Empty trash automatically after every scan’ should be **dis** abled

---

<div class="post-metadata">

**Author:** ![aporzio1](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@aporzio1](https://forums.plex.tv/u/aporzio1)\
**Post date:** [May 14, 2017, 3:00pm UTC](https://forums.plex.tv/t/plex-unmatches-movies-randomly/191874/3 "2017-05-14T15:00:20Z")

</div>

1. The Big Green (1995).avi
2. They are on a network share (Drobo)
3. I had this on, Just turned it off

---

<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:** [May 14, 2017, 5:27pm UTC](https://forums.plex.tv/t/plex-unmatches-movies-randomly/191874/4 "2017-05-14T17:27:56Z")

</div>

> @aporzio1 said:
> 
> 1. The Big Green (1995).avi

That is fine.

> 1. They are on a network share (Drobo)
> 2. I had this on, Just turned it off

This might have been the issue.  
Sometimes Plex rescans a library, either manually or automatically triggered. Or by schedule.  
If it cannot access a particular movie’s file during this, the movie is marked with a trash can icon.  
If 3) is set however, it makes Plex immediately erase this movie - including all customized metadata.

At next library update, the movie then gets added again to the library, this time with all default settings. Why it doesn’t immediately fetch fresh metadata for the movie remains to be investigated. It should do it, as long as the Plex server has working internet access.

---

<div class="post-metadata">

**Author:** ![aporzio1](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@aporzio1](https://forums.plex.tv/u/aporzio1)\
**Post date:** [May 15, 2017, 7:14pm UTC](https://forums.plex.tv/t/plex-unmatches-movies-randomly/191874/5 "2017-05-15T19:14:00Z")

</div>

@OttoKerner Not sure if this is new or If I just never noticed, But there are a couple hundred movies at the bottom of the list that only show the movie name and no other info. I have the option to unmatch them though, so I would assume that plex believes they are matched to a movie.

They all look similar to this one - [http://imgur.com/9voqvGZ](http://imgur.com/9voqvGZ)

---

<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:** [May 15, 2017, 7:46pm UTC](https://forums.plex.tv/t/plex-unmatches-movies-randomly/191874/6 "2017-05-15T19:46:33Z")

</div>

> @aporzio1 said:  
> @OttoKerner Not sure if this is new or If I just never noticed, But there are a couple hundred movies at the bottom of the list that only show the movie name and no other info. I have the option to unmatch them though, so I would assume that plex believes they are matched to a movie.

Please post the [Plex XML info](https://support.plex.tv/hc/en-us/articles/201998867-Investigate-Media-Information-and-Formats "Plex XML info") of such a movie.

---

<div class="post-metadata">

**Author:** ![aporzio1](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@aporzio1](https://forums.plex.tv/u/aporzio1)\
**Post date:** [May 16, 2017, 12:25pm UTC](https://forums.plex.tv/t/plex-unmatches-movies-randomly/191874/7 "2017-05-16T12:25:10Z")

</div>

@OttoKerner

```auto
<Video ratingKey="259557" key="/library/metadata/259557" guid="com.plexapp.agents.imdb://tt1392190?lang=en" librarySectionID="20" librarySectionKey="/library/sections/20" type="movie" title="Mad Max: Fury Road" summary="" thumb="/library/metadata/259557/thumb/1494812417" art="/library/metadata/259557/art/1494812417" duration="7221184" addedAt="1435010393" updatedAt="1494812417" chapterSource="media">
<Media videoResolution="1080" id="485981" duration="7221184" bitrate="4831" width="1912" height="792" aspectRatio="2.35" audioChannels="6" audioCodec="ac3" videoCodec="h264" container="mkv" videoFrameRate="24p" videoProfile="high">
<Part accessible="1" exists="1" id="521335" key="/library/parts/521335/1435010393/file.mkv" duration="7221184" file="/Volumes/Drobo/Movies/Mad Max - Fury Road (2015)/Mad Max - Fury Road (2015) 1080p.mkv" size="4360689063" container="mkv" hasThumbnail="1" indexes="sd" videoProfile="high">
<Stream id="1097472" streamType="1" default="1" codec="h264" index="0" bitrate="4447" language="English" languageCode="eng" bitDepth="8" chromaSubsampling="4:2:0" colorRange="tv" colorSpace="bt709" frameRate="23.976" hasScalingMatrix="0" height="792" level="40" profile="high" refFrames="5" scanType="progressive" title="Mad.Max.Fury.Road.2015.1080p.WEB-DL.DD5.1.H264-RARBG" width="1912"/>
<Stream id="1097473" streamType="2" selected="1" default="1" codec="ac3" index="1" channels="6" bitrate="384" language="English" languageCode="eng" audioChannelLayout="5.1(side)" samplingRate="48000" title="Mad.Max.Fury.Road.2015.1080p.WEB-DL.DD5.1.H264-RARBG"/>
<Stream id="1097474" streamType="3" default="1" codec="srt" index="2" language="English" languageCode="eng"/>
</Part>
</Media>
<Extras size="0"></Extras>
</Video>
</MediaContainer>

```

---

<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:** [May 16, 2017, 12:51pm UTC](https://forums.plex.tv/t/plex-unmatches-movies-randomly/191874/8 "2017-05-16T12:51:07Z")

</div>

Ah yes, I see the problem:  
These are indeed matched with Plex Movie.  
But: these are mp4 files. (or they were at least at one time previously. Perhaps you did a quality upgrade? Or did you simply rename an mp4 into mkv?!!!)

This tells the story:  
`title="Mad.Max.Fury.Road.2015.1080p.WEB-DL.DD5.1.H264-RARBG"`  
This was read from embedded metadata and then used.

You need to reorder your agents.  
Go to Settings - Server - Agents - Shows - TheTVDB  
In there, grab the line ‘Local Media Assets’ with your mouse and drag it downwards, so it ends up being at the bottom of the stack of active agents.  
Repeat the same under  
Settings - Server - Agents - Shows - TheMovieDatabase  
+  
Settings - Server - Agents - Movies - Plex Movie  
+  
Settings - Server - Agents - Movies - TheMovieDatabase

Then, refresh one of the affected movies.  
Let’s see how that goes.

---

<div class="post-metadata">

**Author:** ![aporzio1](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@aporzio1](https://forums.plex.tv/u/aporzio1)\
**Post date:** [May 17, 2017, 2:35pm UTC](https://forums.plex.tv/t/plex-unmatches-movies-randomly/191874/9 "2017-05-17T14:35:25Z")

</div>

So i did that and now none of my movies have any info. I even unchecked everthing but. Same thing if I try “The Movie Database” instead of “Plex Movie”

 ![](https://sea1.discourse-cdn.com/plex/uploads/default/original/3X/d/1/d17313bd89b11466e98155fe2342f692952578dd.png)  
 ![](https://sea1.discourse-cdn.com/plex/uploads/default/original/3X/1/9/19cf8563109598f40e1916c19165791d20d2665f.png)  
  

Here is the XML

````auto
<Video ratingKey="263683" key="/library/metadata/263683" guid="com.plexapp.agents.imdb://tt1392190?lang=en" librarySectionID="21" librarySectionKey="/library/sections/21" type="movie" title="Mad Max: Fury Road" summary="" thumb="/library/metadata/263683/thumb/1494964577" art="/library/metadata/263683/art/1494964577" duration="7221184" addedAt="1435010393" updatedAt="1494964577" chapterSource="media">
<Media videoResolution="1080" id="495091" duration="7221184" bitrate="4831" width="1912" height="792" aspectRatio="2.35" audioChannels="6" audioCodec="ac3" videoCodec="h264" container="mkv" videoFrameRate="24p" videoProfile="high">
<Part accessible="1" exists="1" id="530561" key="/library/parts/530561/1435010393/file.mkv" duration="7221184" file="/Volumes/Drobo/Movies/Mad Max - Fury Road (2015)/Mad Max - Fury Road (2015) 1080p.mkv" size="4360689063" container="mkv" hasThumbnail="1" indexes="sd" videoProfile="high">
<Stream id="1118526" streamType="1" default="1" codec="h264" index="0" bitrate="4447" language="English" languageCode="eng" bitDepth="8" chromaSubsampling="4:2:0" colorRange="tv" colorSpace="bt709" frameRate="23.976" hasScalingMatrix="0" height="792" level="40" profile="high" refFrames="5" scanType="progressive" title="Mad.Max.Fury.Road.2015.1080p.WEB-DL.DD5.1.H264-RARBG" width="1912"/>
<Stream id="1118527" streamType="2" selected="1" default="1" codec="ac3" index="1" channels="6" bitrate="384" language="English" languageCode="eng" audioChannelLayout="5.1(side)" samplingRate="48000" title="Mad.Max.Fury.Road.2015.1080p.WEB-DL.DD5.1.H264-RARBG"/>
<Stream id="1118528" streamType="3" default="1" codec="srt" index="2" language="English" languageCode="eng"/>
</Part>
</Media>
<Extras size="0"></Extras>
</Video>
</MediaContainer>```
````

---

<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:** [May 17, 2017, 6:16pm UTC](https://forums.plex.tv/t/plex-unmatches-movies-randomly/191874/10 "2017-05-17T18:16:29Z")

</div>

> @aporzio1 said:  
> I even unchecked everthing but.

This wouldn’t have been necessary.  
The point of the reordering is that you can keep them active.  
And I recommended you to only try this with _one_ movie.

I think we have established now that the Plex Movie agent doesn’t work for you.  
For further investigation, we need log files.

1. [activate debug](https://support.plex.tv/hc/en-us/articles/201643703 "activate debug") logging ( **not** ‘verbose’!)
2. quit Plex Server
3. wait 1 minute
4. start Plex Server
5. wait 2 minutes
6. either [refresh](https://support.plex.tv/hc/en-us/articles/200289306 "refresh") **one** movie or add **one** movie into your library
7. wait 3 minutes
8. [fetch log files](https://support.plex.tv/hc/en-us/articles/200250417 "fetch log files") and [attach them here](https://support.plex.tv/hc/en-us/articles/202756326-How-do-I-attach-files-in-the-forums- "attach them here")

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 7, 2020, 11:15pm UTC](https://forums.plex.tv/t/plex-unmatches-movies-randomly/191874/11 "2020-01-07T23:15:22Z")

</div>


