# "Prefer local metadata" library setting needs refinement

**URL:** <https://forums.plex.tv/t/prefer-local-metadata-library-setting-needs-refinement/724125>\
**Category:** Metadata & Adding Files\
**Tags:** server-mac, library-management\
**Created:** [June 22, 2021, 10:26pm UTC](https://forums.plex.tv/t/prefer-local-metadata-library-setting-needs-refinement/724125 "2021-06-22T22:26:13Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![tangentsoft](https://avatars.discourse-cdn.com/v4/letter/t/ad7895/32.png) [@tangentsoft](https://forums.plex.tv/u/tangentsoft)\
**Post date:** [June 22, 2021, 10:26pm UTC](https://forums.plex.tv/t/prefer-local-metadata-library-setting-needs-refinement/724125/1 "2021-06-22T22:26:13Z")

</div>

Server Version#: 1.23.3.4707  
Player Version#: n/a

On updating to this version of PMS, I noticed that doing a Refresh Metadata on a title that previously had cast images downloaded from a metadata source causes all of them to disappear, giving the “gray initials in a bubble” fallback.

I traced this to the above setting in my movie’s Library → Advanced tab. Apparently the fact that I have a cast list in this movie’s MP4 metadata causes it to no longer pull actor images from IMDB and TMDB as it used to.

I tried unchecking that setting, and the cast images came back after another Refresh Metadata call, but it’s now ignoring values from my MP4 tags entirely on matched movies.

That led me to my second workaround attempt: uncheck this setting, then use Subler to remove the Cast tag from one of the MP4 files exhibiting the problem. That worked, allowing the remaining tags to appear as-is in Plex after a Refresh Metadata call, since the cast list and their images now could come only from the metadata source. Still, it seems a _little_ drastic to throw away the local cast list just to force Plex to download the cast images.

Even if that’s desirable behavior for some users, which I can understand, surely there’s also a call for merging metadata as it used to? MP4 metadata can’t provide cast images, so even if you take the cast names from the MP4 file, there seems to be no good reason to then ignore cast images from the metadata source for matched movies.

If I’m dreaming, what I really want is per-field tristate control over all this, letting me say something like:

- Studio comes from only the local metadata; no local Studio, no value, even if the metadata source provides it
- Ditto cast list, but give separate control for cast _images_: for each local name that matches the name in the remote metadata, give me that cast member’s images, but don’t add any additional cast beyond what I’ve listed locally.
- Release Date is overwritten with the remote value if available; I’ve decided it’s more likely correct than my value
- Merge others: crew lists, etc.

This is with Scanner & Agent set to “Plex Movie”, if that matters.

---

<div class="post-metadata">

**Author:** ![SE56](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/se56/32/222425_2.png) [@SE56](https://forums.plex.tv/u/SE56)\
**Post date:** [June 22, 2021, 10:57pm UTC](https://forums.plex.tv/t/prefer-local-metadata-library-setting-needs-refinement/724125/2 "2021-06-22T22:57:31Z")

</div>

Where do you have you Metadata agents ranked, if you prefer local over TMDB

[https://support.plex.tv/articles/200241558-agents/\\\https://support.plex.tv/articles/200241558-agents/](https://support.plex.tv/articles/200241558-agents/%5C%5C%5Chttps://support.plex.tv/articles/200241558-agents/)

 ![Screen Shot 2021-06-23 at 8.57.07 am](https://global.discourse-cdn.com/plex/original/3X/f/a/fa71f6a9320ce77e8671f2b6e9993a27c789106c.jpeg)

---

<div class="post-metadata">

**Author:** ![tangentsoft](https://avatars.discourse-cdn.com/v4/letter/t/ad7895/32.png) [@tangentsoft](https://forums.plex.tv/u/tangentsoft)\
**Post date:** [June 22, 2021, 11:02pm UTC](https://forums.plex.tv/t/prefer-local-metadata-library-setting-needs-refinement/724125/3 "2021-06-22T23:02:48Z")

</div>

By “rank” do you refer to the “Source Priority” section of the linked article? (Your link’s broken, but I figured out what you meant.) The word “rank” doesn’t appear on that page, so I’m reduced to guessing here.

The web UI appears to have changed significantly since that article was published, because “Plex Movie” doesn’t appear in the settings menus at all now:

 ![movie agent priorities](https://global.discourse-cdn.com/plex/original/3X/4/3/438b3ced5ce0f7cd00f9e6a8839bb3046a87426d.jpeg)

Is there some way I’m supposed to get “Plex Media” in the list, and if so, should it go below “Personal Media” or what?

If you’re suggesting that I switch from the “Plex Movie” agent to “The Movie Database”, I tried that, and it doesn’t really help. While I do want TMDB data to supplement my local MP4 tags, I _also_ want IMDB data when TMDB doesn’t have the data I want. There appears to be no way to control those priorities with the new “Plex Movie” agent.

---

<div class="post-metadata">

**Author:** ![SE56](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/se56/32/222425_2.png) [@SE56](https://forums.plex.tv/u/SE56)\
**Post date:** [June 22, 2021, 11:30pm UTC](https://forums.plex.tv/t/prefer-local-metadata-library-setting-needs-refinement/724125/4 "2021-06-22T23:30:37Z")

</div>

You can use the Legacy Agent

---

<div class="post-metadata">

**Author:** ![tangentsoft](https://avatars.discourse-cdn.com/v4/letter/t/ad7895/32.png) [@tangentsoft](https://forums.plex.tv/u/tangentsoft)\
**Post date:** [June 22, 2021, 11:41pm UTC](https://forums.plex.tv/t/prefer-local-metadata-library-setting-needs-refinement/724125/5 "2021-06-22T23:41:11Z")

</div>

The legacy agent appears to have the same bug.

I tried it with the following priority list and with the first two values swapped, both of which resulted in gray initials in gray bubbles:

 ![legacy Plex agent priority](https://global.discourse-cdn.com/plex/original/3X/f/d/fdcc92889ecf3be08f414b3d2cc5b610538d7e53.jpeg)

Even had it worked, I don’t especially wish to miss out on [all the new features](https://support.plex.tv/articles/advanced-settings-plex-movie-agent/) or gamble on this old agent remaining available.

---

<div class="post-metadata">

**Author:** ![Scott-M](https://avatars.discourse-cdn.com/v4/letter/s/d2c977/32.png) [@Scott-M](https://forums.plex.tv/u/Scott-M)\
**Post date:** [June 26, 2021, 3:17am UTC](https://forums.plex.tv/t/prefer-local-metadata-library-setting-needs-refinement/724125/6 "2021-06-26T03:17:32Z")

</div>

I am having the same issue.

A brief history: Prior to the new movie agent, cast images would **never** get pulled if a mp4 contained a metadata tag for Cast. So switching back to the Legacy Agent won’t pull the cast images because it never did.  
When the new Plex agent was released this changed. Most local mp4 metadata tags would be honored, and the cast list/images would be brought in (finally!!! I’ve wanted this for so long!)

Something changed in the past few weeks (at/or prior to PMS **1.23.3.4707** ), and now I’m back to cast images getting wiped away when refreshing metadata on movies.

I have tried a few suggestions (Clearing agent cache, turning off intro detection, etc.) with no change. This appears to be a regression, something has changed in the Plex Movie agent recently.

Plex Movie is no longer an editable agent in the server settings. The support article that explains Agent Settings shows it as an option, but it is no longer there. [Metadata Agents | Plex Support](https://support.plex.tv/articles/200241558-agents/#toc-1)

---

<div class="post-metadata">

**Author:** ![Scott-M](https://avatars.discourse-cdn.com/v4/letter/s/d2c977/32.png) [@Scott-M](https://forums.plex.tv/u/Scott-M)\
**Post date:** [July 7, 2021, 2:51pm UTC](https://forums.plex.tv/t/prefer-local-metadata-library-setting-needs-refinement/724125/7 "2021-07-07T14:51:14Z")

</div>

@BigWheel is this a known issue?

~~1. The _Plex Movie Agent_ not showing in the metadata agent settings.~~  
2. Cast images not being populated if the _Cast_ tag exists in the mp4/m4v file (which was how the old _Legacy_ agent functioned)

Edit: Removed first point because I found in the support article where the new agent is now managed at the library level.

---

<div class="post-metadata">

**Author:** ![wingcomm](https://avatars.discourse-cdn.com/v4/letter/w/958977/32.png) [@wingcomm](https://forums.plex.tv/u/wingcomm)\
**Post date:** [July 7, 2021, 8:43pm UTC](https://forums.plex.tv/t/prefer-local-metadata-library-setting-needs-refinement/724125/8 "2021-07-07T20:43:58Z")

</div>

Yes, its an intentional change it seems and the Plex staff seems pretty insistent that the issue is that I’m not following their prescribed library management hierarchy…

> [@Plex 1.23.3.4707 not processing Album Compilations with Various Artists anymore. Assigns Track Artist to Album Artist](https://forums.plex.tv/t/plex-1-23-3-4707-not-processing-album-compilations-with-various-artists-anymore-assigns-track-artist-to-album-artist/726043):
>
> Server Version#: 1.23.3.4707 Player Version#: N/A I just upgraded to 1.23.3.4707 and Plex is no longer processing Albums with Various Artists anymore. Instead, it is creating a new Album with each Track Artist being the Album Artist… I have 100+ new albums for what should just be 3 albums…

> [@Manual Album Artist Changes Unmatches Music](https://forums.plex.tv/t/manual-album-artist-changes-unmatches-music/725307):
>
> Background: I’ve manually added album artists for a large number of albums in order to have them appear in certain “artists” when browsing by artist. Examples being Soundtracks, Video Games, Kids Music, Broadway, Disney, etc, etc. I know it’s an odd way to organize, but the family enjoys being able to go to a particular artist to hit all soundtracks for example. The Issue: I am no longer able to update the Album Artist for an album without the entire album unmatching and losing other metadata…

---

<div class="post-metadata">

**Author:** ![Scott-M](https://avatars.discourse-cdn.com/v4/letter/s/d2c977/32.png) [@Scott-M](https://forums.plex.tv/u/Scott-M)\
**Post date:** [July 7, 2021, 8:59pm UTC](https://forums.plex.tv/t/prefer-local-metadata-library-setting-needs-refinement/724125/9 "2021-07-07T20:59:21Z")

</div>

Respectfully, the discussion here is about the new Plex Movie agent, not music.

After skimming through those links, I can see some similarities in terms of how matching has changed. However, I do not think the issues are directly related aside from it involving _Prefer Local Metadata_.

---

<div class="post-metadata">

**Author:** ![tangentsoft](https://avatars.discourse-cdn.com/v4/letter/t/ad7895/32.png) [@tangentsoft](https://forums.plex.tv/u/tangentsoft)\
**Post date:** [July 20, 2021, 9:07pm UTC](https://forums.plex.tv/t/prefer-local-metadata-library-setting-needs-refinement/724125/10 "2021-07-20T21:07:58Z")

</div>

Bump. Still an issue in 1.23.5.4841, just now downloaded.

---

<div class="post-metadata">

**Author:** ![Scott-M](https://avatars.discourse-cdn.com/v4/letter/s/d2c977/32.png) [@Scott-M](https://forums.plex.tv/u/Scott-M)\
**Post date:** [August 4, 2021, 2:59pm UTC](https://forums.plex.tv/t/prefer-local-metadata-library-setting-needs-refinement/724125/11 "2021-08-04T14:59:54Z")

</div>

I think we have our answer 😞

> [@New Plex TV Show agents](https://forums.plex.tv/t/new-plex-tv-show-agents/723392/16):
>
> @Scott-M If you have prefer Embedded metadata enabled the new agent will use the cast list in the file. It cannot grab images for those.

Which would mean the original behavior we were seeing from the new Plex Agent was a bug and not intentional.

---

<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:** [August 4, 2021, 3:27pm UTC](https://forums.plex.tv/t/prefer-local-metadata-library-setting-needs-refinement/724125/12 "2021-08-04T15:27:37Z")

</div>

The previous behaviour was mixing in our cloud tags with local tags, and using those images.

The issue with this was that it was also adding actors to the list that weren’t from the embedded tags which most people using embedded tags would find to be undesirable behaviour.

The “Prefer local metadata” will now use only the things passed in from the local file.

You may want to throw your vote into a feature request that handles the behaviour you want, there is one here for allowing edits to the cast lists: [Feature Request: Edit Cast Lists](https://forums.plex.tv/t/feature-request-edit-cast-lists/55727)

---

<div class="post-metadata">

**Author:** ![Scott-M](https://avatars.discourse-cdn.com/v4/letter/s/d2c977/32.png) [@Scott-M](https://forums.plex.tv/u/Scott-M)\
**Post date:** [August 4, 2021, 3:29pm UTC](https://forums.plex.tv/t/prefer-local-metadata-library-setting-needs-refinement/724125/13 "2021-08-04T15:29:54Z")

</div>

Good to know. Thanks for that clarity.  
I will definitely cast my vote.

---

<div class="post-metadata">

**Author:** ![tangentsoft](https://avatars.discourse-cdn.com/v4/letter/t/ad7895/32.png) [@tangentsoft](https://forums.plex.tv/u/tangentsoft)\
**Post date:** [August 5, 2021, 8:16pm UTC](https://forums.plex.tv/t/prefer-local-metadata-library-setting-needs-refinement/724125/14 "2021-08-05T20:16:08Z")

</div>

I don’t mind if the local cast list takes precedence over the remote one, but why should use of a local cast list cause remote cast _images_ to be disregarded? If both sides agree that Joe Blow is in the cast, and the remote metadata source has a profile photo for Joe Blow, why is the only way to get that to delete my local cast list?

---

<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:** [November 3, 2021, 8:17pm UTC](https://forums.plex.tv/t/prefer-local-metadata-library-setting-needs-refinement/724125/15 "2021-11-03T20:17:06Z")

</div>

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