Prevent data from unmatching on library scan

Server Version#: Version 1.28.0.5973
Player Version#: Plex Web - General Version 4.85.1

I know this is similar to other questions I found when searching. But in reading previous posts and the FAQ I did not find an explanation or answer to my core question.

I haven’t noticed this in the past but maybe I just wasn’t paying attention. Whenever plex scans my movies directory, anything that the scanner can’t match automatically gets unmatched. I manually match it, then on the next scan it’s back to being unmatched.

Can you lock metadata for a movie or show after manually making a match so it doesn’t unmatch on the next library scan? I understand that I can (and likely will) rename files so the scanner matches them automatically. But is there a way so it doesn’t unmatch already matched data?

Thank you

https://support.plex.tv/articles/201272763-edit-details/

In the edit screen for the show or movie you can click the little lock icon next to it. When it turns orange it’s locked

Bingo bango thank you. I was looking for the lock elsewhere.

Solved

Hmm. maybe not solved. I can lock each field but I don’t see a way to lock the “match” or the whole thing. I locked the title and I still ended up with an unmatched movie, just with the correct title displayed instead of the filename.

Likely your best option is going to be to determine why it isn’t able to be matched automatically and correct that. Usually this has to do with naming and organization (but certainly not always). Some common things to look for:

  • The file name should contain the name of the movie as it is listed on one of the online data sources Plex utilizes (TMDB, IMDB);
  • Include the year, in parentheses, immediately following the movie name;
  • If extra information is included in the file name (source, resolution, etc…) include it as one string enclosed in square brackets after the year;

There are other guidelines, but these are the low-hanging fruit. And there’re also ways to force an automatic match (include the TMDB or IMDB ID for the item in the file name, in curly brackets).

The general guidelines are described here:

In general, if it can be manually matched it can also be automatically matched. The trick is to find out what it isn’t and correct it.

Thank you for your detailed reply. I’ll highlight from my original post

My question is specifically if there is a way to lock a match once it is made manually so plex scanner doesn’t try to match it automatically next time.

The lock buttons on the edit page seem to lock individual fields of metadata, but doesn’t seem to be locking the match.

The act of matching it is supposed to lock it. So there’s no manual movie-level lock, at least not that I’m aware of. The behavior you’re describing suggests that it’s actually being temporarily removed from the library and subsequently added back, in its state of being unmatched again.

Check the state of the setting Settings -> Library -> Empty trash automatically after every scan. If it’s enabled, disable it:

image

This will cause Plex to keep data around about items in your libraries if they temporarily disappear.

That is was I was wondering. Maybe I’m seeing a bug, then. Empty Trash... was checked, now is not, same behavior.

Define “manual match”. Can you provide the GUID of something after the manual match. How exactly are you doing it manually. What is the agent for the library?

I am using the Match... option to manual match.

How do I provide the GUID of something? Scanner and Agent are Plex Movie.

You can get the GUID from viewing the plex media info xml

Never heard of “Intensity Night Two” ? I can’t find that movie anywhere? do you have a link to it on IMDB or similar

The only thing I can find for that is the second episode of a two episode TV show. where “Night Two” is the second episode. I’mm not sure how you are finding a match for that in a movie library.

https://thetvdb.com/series/intensity/episodes/7163089

or is it this. Intensity (1997) — The Movie Database (TMDB)

It is (or was, at one time) listed as a mini-series. Intensity (TV Movie 1997) - IMDb
A running time of 173 minutes is a strong indicator of a mini-series.

Thank you again for looking and I apologize for being afk and not helping you identify what that file is.

“Intensity Night Two” is an example of a badly named file. I can rename the file so the agent can match it automatically and I understand how to do that. My question is about if I don’t rename it and instead if I match it manually. I am seeing it get unmatched on the next library scan. Is this the expected behavior? Or should matching it manually lock the match?

After matching there are several GUID in the xml found via the link you included:
guid="plex://movie/5d776866eb5d26001f1e9bdb"
<Guid id="imdb://tt0118350"/>
<Guid id="tmdb://35608"/>
<Guid id="tvdb://35414"/>
guid="plex://movie/5d7770ddfb0d55001f5fab6a"

Those are proper GUIDs so it should be a successful match and stick like any other movie. Only possibly unmatching if it somehow lost access to the file, or possibly if file was moved, ( bad file organization possibly could cause it too)

likely would need to see the server logs after the manual match and after it becomes unmatched.

The logs I provided in my first post were taken just after a scan, but I imagine won’t do you any good without a before/after to compare.

I’m heading on vacation and will be back next week. I’ll provide more logs then.

Thanks again

Attached are 3 sets of log files.

  1. pre-match after a scan
    https://i.imgur.com/5Xz7aZK.png
  2. after a manual match
    https://i.imgur.com/Jf8L2Es.png
  3. after a new scan
    https://i.imgur.com/NrYewVJ.png

I matched a different movie, also named poorly. Pics included of how it looks in plex.
/media/hex/ZEUS/media/movies/Wyvern.2009.1080p.BluRay.x264.REPACK-THUGLiNE/tl-wyv.1080p.repack.mkv
Admittedly, logs 1 and 3 are likely the same so you probably wont need them all.

edit: the site is throwing an error attaching my log files.
here is a wetransfer link that expires in a week.

bumping for the new week.

How is this volume mounted on host system? seems to think it is unavailable

Jul 22, 2022 20:30:58.334 [0x7f12d4645b38] DEBUG - Performing a scan with 'Plex Movie' (language: en-US virtual: 0).
Jul 22, 2022 20:30:58.334 [0x7f12d4645b38] DEBUG -   * Scanning /media/hex/ZEUS/media/movies
Jul 22, 2022 20:30:58.334 [0x7f12d4645b38] DEBUG -   * Marking media not available in /media/hex/ZEUS/media/movies
Jul 22, 2022 20:30:58.353 [0x7f12d4645b38] DEBUG -   * Taking 622 items out of the map (which has 622 items) for being unavailable.
Jul 22, 2022 20:30:58.371 [0x7f12d4645b38] DEBUG -   * Taking 307 directories out of the map (which has 371 dirs) for being unavailable.

It is a USB external but it does not get unmounted.