Refreshing metadata adding incorrect name for Movies

Server Version#: 1.40.4.8679
Player Version#: N/A

With a recent PMS update, it seems Plex has decided to use the wrong name for some movies. Specifically, those that contain “RARBG” in the filename and directory. This does not appear to be an issue with any other files.


What happened

At some point recently, movies that have existed in my library for some time (>12 months) renamed themselves to the filename of the movie file or subdirectory name. In all cases this is where the file has RARBG in it somewhere. These are the only files affected.

Weirdly, upon refreshing metadata the name is unchanged. Choosing to “Fix match” also does not work. The name of the movie is the only wrong information, the description and other metadata is correct and pulls from online sources correctly.


Steps I’ve tried to resolve the issue

Rename all files to remove RARBG from file names
Does nothing, the original file name is preserved as the movie’s title, not the actual title that should be in the metadata. Media change is detected but same name comes back.

Deleted any .nfo files
No change

Optimized database
No change

Prioritise online agents for metadata
No change, have removed using local information.

Restart server
No change

Emptied Trash, Cleaned Bundles
No change


What’s annoying is that even updating the name to be correct (without locking), it will rename back to the wrong name upon metadata refresh. To me this says it’s pulling from something locally rather than going out to the internet to grab.

This is super perplexing, and only seems to happen to these files (no other types or filenaming seems to have this problem. I’m at a loss of what to do, there’s a lot of these and I don’t fancy manually renaming them when there’s perfectly good online metadata.


Screenshots of example behaviour

  1. Showing incorrect title

  2. Fixing match and then manually changing title


  3. Resolved until I refresh metadata again

  4. After refreshing, old name is back - only subdirectory has this name (movie file does not)

Is it the subdirectory? Why is it only these ones? Other movies have other sub-directories equally as complex but it doesn’t affect the naming of the movies themselves.

The file name has nothing to do with this.
This is caused by embedded meta tags in your mp4/m4v files.

Edit the library, go to the Advanced tab, disable “prefer local meta tags”.
Then Refresh Metadata.


If your library still uses the deprecated legacy agents do this:

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 (Legacy)
  • Settings - Server - Agents - Movies - TheMovieDatabase

Afterwards, Refresh Metadata of the affected items.


If you still see no change after this, edit some of the affected items and check if the orange padlock icon is engaged on the Title. This will prevent any changes by agents.

3 Likes

Hi @OttoKerner, thank you that’s fixed it.

Strange that this only recently became an issue, I wonder if this was toggled on somewhere or was previously broken in other versions as I have not ever changed this setting off the default.

This thread can be closed, appreciate your quick response.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.