PLex I love ya but sometimes your Metadata finder is just broken

Server Version#: 4.92.0
Player Version#:

SO here’s the issue I’m sure some of you have the same issue but this is a bit different too,
Now You know how sometime PMS will find the info for your shows or movie and sometimes its finds everything but the episode title and you end up typing the titles in yourself or have to use another application to type them in per episode just so PLex doesn’t do it again.

Well I say this is different because Plex found the shows metadata all of it when I go to pop in Season 2 dins it all the title, shows info, etc. ok everything is good, but however, this is where it breaks as I went to first season PLex scanned on its own then the episode titles are gone and are titled in a file format i.e.

The Mandalorian- S01E01 - Chapter-One - The Mandalorian.mp4
gets changed to The.Mandalorian.2019.1080p.BlueRay…x264.mp4

Within plex that is the title, It’s not the episode name at all just the file format for some reason when it didn’t do it before, and it did this for the entire series tired refreshing meta, re-scanning library, unmatching and rematching nope wants to use that filename regardless if I have it renamed on my drive dunno wtf happened but it matched everything perfectly when I went to rip it and transfer Plex just decided have a seizure on me and go Oh that’s not the right Title let me retitle it for you!

No Idea why it decided to change it like that but it did and it’s frustrating since I had to retype the ep titles manually…

Blockquote

3 dots next to library –> manage library → edit –> advanced

Uncheck that and rescan the library

.mp4 files sometimes have embedded metadata which you can remove manually or disable Plex from choosing as the title

I actually have that unchecked and was one of the things checked to see if it were off and it was.

If you ever manually change a title inside Plex you have to lock the field so it doesn’t change when you refresh the metadata

You really should never have to do that unless the show itself can’t be matched. If the show matches the show titles should too unless it’s a brand new show that doesn’t have a title yet.

Every title inside your file system needs the “s01e01” format for TV shows
The Mandalorian (2019)/Season 01/The Mandalorian - S01E01 - Chapter-One - The Mandalorian (how it should be on your file system)

I’m not sure where Plex is getting “The.Mandalorian.2019.1080p.BlueRay…x264.mp4” but a title like that shouldn’t exist in or around a TV show folder or you will have problems

If you changed the name on your file system and a rescan/refresh metadata isn’t working you might have to plex dance the show

Please call the Plex Media Info XML of that episode and copy the first ~20 lines from the XML and paste them in here, please.
(don’t worry if they don’t appear at first in the post. I can repair this)

Yeah I’m not sure either, but yeah I lock the title after renaming too it’s just weird because It was fine found the titles even after I uploaded season 2 and it scanned it in found the titles for the second season then 10-15 min. later rescans and gives me that title.

The rest of the metadata info is fine I just find it odd that it just decided to have this hiccup and re-title it to a filemormat

It does it witha couple other too I’ll post it here too this ones Mandalorean eP-1

<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="4" librarySectionTitle="TV Shows" librarySectionUUID="a2640b03-0d19-4673-8705-956d1eb274b1" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1666189868">

<Video ratingKey="18716" key="/library/metadata/18716" parentRatingKey="18715" grandparentRatingKey="18714" guid="plex://episode/5e1621e8b0b6c1003fd4b488" parentGuid="plex://season/602e78671d3358002c424232" grandparentGuid="plex://show/5e1621e7b0b6c1003fd4b475" type="episode" title="Chapter 1: The Mandalorian" grandparentKey="/library/metadata/18714" parentKey="/library/metadata/18715" librarySectionTitle="TV Shows" librarySectionID="4" librarySectionKey="/library/sections/4" grandparentTitle="The Mandalorian" parentTitle="Season 1" contentRating="TV-14" summary="A Mandalorian bounty hunter tracks a target for a well-paying client." index="1" parentIndex="1" audienceRating="7.8" parentYear="2019" thumb="/library/metadata/18716/thumb/1646610175" art="/library/metadata/18714/art/1646610174" parentThumb="/library/metadata/18715/thumb/1646610175" grandparentThumb="/library/metadata/18714/thumb/1646610174" grandparentArt="/library/metadata/18714/art/1646610174" grandparentTheme="/library/metadata/18714/theme/1646610174" duration="2326208" originallyAvailableAt="2019-11-12" addedAt="1576926814" updatedAt="1646610175" audienceRatingImage="themoviedb://image.rating">

<Media id="36855" duration="2326208" bitrate="9225" width="1920" height="1080" aspectRatio="1.78" audioChannels="6" audioCodec="eac3" videoCodec="h264" videoResolution="1080" container="mkv" videoFrameRate="24p" videoProfile="high">

<Part accessible="1" exists="1" id="36857" key="/library/parts/36857/1576926814/file.mkv" duration="2326208" file="E:\TV Shows\The Mandalorian\Season 01\The.Mandalorian.S01E01.INTERNAL.1080p.WEB.H264-DEFLATE.mkv" size="2683138960" container="mkv" deepAnalysisVersion="6" requiredBandwidths="13106,12621,11610,10589,9808,9745,9745,9745" videoProfile="high">

<Stream id="85253" streamType="1" default="1" codec="h264" index="0" bitrate="8456" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="1088" codedWidth="1920" colorPrimaries="bt709" colorRange="tv" colorSpace="bt709" colorTrc="bt709" frameRate="23.976" hasScalingMatrix="0" height="1080" level="40" profile="high" refFrames="4" requiredBandwidths="12337,11852,10841,9820,9039,8982,8982,8982" scanType="progressive" width="1920" displayTitle="1080p (H.264)" extendedDisplayTitle="1080p (H.264)"> </Stream>

<Stream id="85254" streamType="2" selected="1" default="1" codec="eac3" index="1" channels="6" bitrate="768" language="English" languageTag="en" languageCode="eng" audioChannelLayout="5.1(side)" requiredBandwidths="767,767,767,767,767,767,767,767" samplingRate="48000" displayTitle="English (EAC3 5.1)" extendedDisplayTitle="English (EAC3 5.1)"> </Stream>

<Stream id="85255" streamType="3" codec="srt" index="2" bitrate="0" language="English" languageTag="en" languageCode="eng" requiredBandwidths="1,1,1,1,1,1,1,1" title="English" displayTitle="English (SRT)" extendedDisplayTitle="English (SRT)"> </Stream>

<Stream id="85256" streamType="3" codec="srt" index="3" bitrate="0" language="English" languageTag="en" languageCode="eng" requiredBandwidths="1,1,1,1,1,1,1,1" title="English (SDH)" displayTitle="English (SRT)" extendedDisplayTitle="English (SDH) (SRT)"> </Stream>

<Stream id="85257" streamType="3" codec="srt" index="4" bitrate="0" language="Danish" languageTag="da" languageCode="dan" requiredBandwidths="1,1,1,1,1,1,1,1" title="Danish" displayTitle="Danish (SRT)" extendedDisplayTitle="Danish (Danish SRT)"> </Stream>

<Stream id="85258" streamType="3" codec="srt" index="5" bitrate="0" language="Dutch" languageTag="nl" languageCode="nld" requiredBandwidths="1,1,1,1,1,1,1,1" title="Dutch" displayTitle="Dutch (SRT)" extendedDisplayTitle="Dutch (Dutch SRT)"> </Stream>

<Stream id="85259" streamType="3" codec="srt" index="6" bitrate="0" language="Finnish" languageTag="fi" languageCode="fin" requiredBandwidths="1,1,1,1,1,1,1,1" title="Finnish" displayTitle="Finnish (SRT)" extendedDisplayTitle="Finnish (Finnish SRT)"> </Stream>

<Stream id="85260" streamType="3" codec="srt" index="7" bitrate="0" language="French" languageTag="fr" languageCode="fra" requiredBandwidths="1,1,1,1,1,1,1,1" title="French" displayTitle="French (SRT)" extendedDisplayTitle="French (French SRT)"> </Stream>

<Stream id="85261" streamType="3" codec="srt" index="8" bitrate="0" language="German" languageTag="de" languageCode="deu" requiredBandwidths="1,1,1,1,1,1,1,1" title="German" displayTitle="German (SRT)" extendedDisplayTitle="German (German SRT)"> </Stream>

<Stream id="85262" streamType="3" codec="srt" index="9" bitrate="0" language="Italian" languageTag="it" languageCode="ita" requiredBandwidths="1,1,1,1,1,1,1,1" title="Italian" displayTitle="Italian (SRT)" extendedDisplayTitle="Italian (Italian SRT)"> </Stream>

<Stream id="85263" streamType="3" codec="srt" index="10" bitrate="0" language="Norwegian" languageTag="no" languageCode="nor" requiredBandwidths="1,1,1,1,1,1,1,1" title="Norwegian" displayTitle="Norwegian (SRT)" extendedDisplayTitle="Norwegian (Norwegian SRT)"> </Stream>

<Stream id="85264" streamType="3" codec="srt" index="11" bitrate="0" language="Polish" languageTag="pl" languageCode="pol" requiredBandwidths="1,1,1,1,1,1,1,1" title="Polish" displayTitle="Polish (SRT)" extendedDisplayTitle="Polish (Polish SRT)"> </Stream>

<Stream id="85265" streamType="3" codec="srt" index="12" bitrate="0" language="Portuguese" languageTag="pt" languageCode="por" requiredBandwidths="1,1,1,1,1,1,1,1" title="Portuguese" displayTitle="Portuguese (SRT)" extendedDisplayTitle="Portuguese (Portuguese SRT)"> </Stream>

<Stream id="85266" streamType="3" codec="srt" index="13" bitrate="0" language="Portuguese" languageTag="pt" languageCode="por" requiredBandwidths="1,1,1,1,1,1,1,1" title="Portuguese (Brazilian)" displayTitle="Portuguese (SRT)" extendedDisplayTitle="Portuguese (Brazilian) (Portuguese SRT)"> </Stream>

<Stream id="85267" streamType="3" codec="srt" index="14" bitrate="0" language="Spanish" languageTag="es" languageCode="spa" requiredBandwidths="1,1,1,1,1,1,1,1" title="Spanish" displayTitle="Spanish (SRT)" extendedDisplayTitle="Spanish (Spanish SRT)"> </Stream>

<Stream id="85268" streamType="3" codec="srt" index="15" bitrate="0" language="Spanish" languageTag="es" languageCode="spa" requiredBandwidths="1,1,1,1,1,1,1,1" title="Spanish (Latin American)" displayTitle="Spanish (SRT)" extendedDisplayTitle="Spanish (Latin American) (Spanish SRT)"> </Stream>

<Stream id="85269" streamType="3" codec="srt" index="16" bitrate="0" language="Swedish" languageTag="sv" languageCode="swe" requiredBandwidths="1,1,1,1,1,1,1,1" title="Swedish" displayTitle="Swedish (SRT)" extendedDisplayTitle="Swedish (Swedish SRT)"> </Stream>

This one is Big Sky Ep-1
just recently happened to this show too.

MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="4" librarySectionTitle="TV Shows" librarySectionUUID="a2640b03-0d19-4673-8705-956d1eb274b1" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1666189868">

<Video ratingKey="25001" key="/library/metadata/25001" parentRatingKey="25000" grandparentRatingKey="24999" guid="plex://episode/5f645fdffd3b52003f938a0d" parentGuid="plex://season/602e793d91bd55002cf9c563" grandparentGuid="plex://show/5e5fd937c66014003f148d49" type="episode" title="Pilot" grandparentKey="/library/metadata/24999" parentKey="/library/metadata/25000" librarySectionTitle="TV Shows" librarySectionID="4" librarySectionKey="/library/sections/4" grandparentTitle="Big Sky (2020)" parentTitle="Season 1" contentRating="TV-14" summary="While on a road trip to visit her boyfriend in Montana, Danielle Sullivan and her sister Grace are kidnapped by a truck driver on a remote part of the highway, setting off a chain of events that leads private detectives Cody Hoyt and Cassie Dewell to team up with Cody’s estranged wife and ex-cop, Jenny Hoyt, to search for the sisters. But when the investigators discover these are not the only girls who have disappeared in the area, it’s clear they’ve stumbled onto something much bigger than them all." index="1" parentIndex="1" audienceRating="7.5" parentYear="2020" thumb="/library/metadata/25001/thumb/1666384155" art="/library/metadata/24999/art/1666384155" parentThumb="/library/metadata/25000/thumb/1666384156" grandparentThumb="/library/metadata/24999/thumb/1666384155" grandparentArt="/library/metadata/24999/art/1666384155" grandparentTheme="/library/metadata/24999/theme/1666384155" duration="2679403" originallyAvailableAt="2020-11-17" addedAt="1614380544" updatedAt="1666384155" audienceRatingImage="themoviedb://image.rating">

<Media id="145345" duration="2679403" bitrate="2230" width="1920" height="1080" aspectRatio="1.78" audioChannels="6" audioCodec="aac" videoCodec="hevc" videoResolution="1080" container="mp4" videoFrameRate="24p" optimizedForStreaming="0" audioProfile="lc" has64bitOffsets="0" videoProfile="main 10">

<Part accessible="1" exists="1" id="146965" key="/library/parts/146965/1666383652/file.mp4" duration="2679403" file="G:\TV Shows\Big Sky (2020)\Season 01\Big Sky - S01E01 - Pilot.mp4" size="746919979" audioProfile="lc" container="mp4" has64bitOffsets="0" optimizedForStreaming="0" videoProfile="main 10">

<Stream id="357535" streamType="1" default="1" codec="hevc" index="0" bitrate="2001" bitDepth="10" chromaLocation="left" chromaSubsampling="4:2:0" codecID="hev1" codedHeight="1080" codedWidth="1920" colorRange="tv" frameRate="23.976" height="1080" level="120" profile="main 10" refFrames="1" streamIdentifier="1" width="1920" displayTitle="1080p (HEVC Main 10)" extendedDisplayTitle="1080p (HEVC Main 10)"> </Stream>

<Stream id="357536" streamType="2" selected="1" default="1" codec="aac" index="1" channels="6" bitrate="224" language="English" languageTag="en" languageCode="eng" audioChannelLayout="5.1" profile="lc" samplingRate="48000" streamIdentifier="2" displayTitle="English (AAC 5.1)" extendedDisplayTitle="English (AAC 5.1)"> </Stream>

</Part>

</Media>

<Director id="250569" filter="director=250569" tag="Paul McGuigan"/>

<Writer id="250570" filter="writer=250570" tag="David E. Kelley"/>

<Guid id="imdb://tt11871116"/>

<Guid id="tmdb://2179673"/>

<Guid id="tvdb://7941498"/>

<Rating image="themoviedb://image.rating" value="7.5" type="audience"/>

<Role id="198883" filter="actor=198883" tag="Ryan Phillippe" tagKey="5d776828151a60001f24af0d" role="Cody Hoyt" thumb="https://metadata-static.plex.tv/people/5d776828151a60001f24af0d.jpg"/>

<Role id="202872" filter="actor=202872" tag="Terry Chen" tagKey="5d7768254de0ee001fcc84fe" role="Mitchell Banks" thumb="https://metadata-static.plex.tv/people/5d7768254de0ee001fcc84fe.jpg"/>

<Role id="306731" filter="actor=306731" tag="Pasha Ebrahimi" tagKey="5d7769ec51dd69001fe1db83" role="Trucker" thumb="https://metadata-static.plex.tv/people/5d7769ec51dd69001fe1db83.jpg"/>

<Role id="306732" filter="actor=306732" tag="Alexandra Staseson" tagKey="5d77684c6f4521001eaa0410" role="Shelley"/>

<Role id="306733" filter="actor=306733" tag="Arghavan Jenati" tagKey="5ee34bbc9b222e00406a9775" role="Doctor" thumb="https://image.tmdb.org/t/p/original/t2BDANNkJNIHF4L8Y6l2JABF8gW.jpg"/>

<Role id="250590" filter="actor=250590" tag="Camille Hollett-French" tagKey="5d776b2bfb0d55001f55e8dc" role="Melissa"/>

<Role id="250574" filter="actor=250574" tag="Gage Marsh" tagKey="5e40c3fb84cfe5003deb1b07" role="Justin Hoyt" thumb="https://metadata-static.plex.tv/people/5e40c3fb84cfe5003deb1b07.jpg"/>

<Role id="250572" filter="actor=250572" tag="Gabriel Jacob-Cross" tagKey="5e69c6e64a9324003e3187de" role="Kai Dewell" thumb="https://metadata-static.plex.tv/people/5e69c6e64a9324003e3187de.jpg"/>

<Role id="250571" filter="actor=250571" tag="Jeffrey Joseph" tagKey="5d776cab96b655001fe37b69" role="Joseph Dewell" thumb="https://metadata-static.plex.tv/2/people/2fcf9a2d87f5954c5452f9618095b6cf.jpg"/>

<Role id="218547" filter="actor=218547" tag="Brooke Smith" tagKey="5d7768253c3c2a001fbcaca0" role="Merilee Legarski" thumb="https://metadata-static.plex.tv/people/5d7768253c3c2a001fbcaca0.jpg"/>

<Field locked="1" name="title"/>

<Extras size="0"> </Extras>

<Related> </Related>

</Video>

</MediaContainer>

Did you perform a quality upgrade on the Mandalorian episode?
Because it has a correct title and it is even in a MKV container, from where Plex is not reading any embedded titles.

Same goes for the Big Sky episode. It has a perfectly fine title of “Pilot”.
But the XML is also telling us that the title field has been locked. <Field locked="1" name="title"/>

that is probably because I had to copy and paste the ep titles form TVDB,
I will look for other shows too that are similar and send them before I begin retyping the ep titles

That doesn’t sound likely.
The.Mandalorian.2019.1080p.BlueRay…x264.mp4
The wrong title you’ve been citing doesn’t fit the actual file name, which isn’t even using the same container format.
There is no way this could have come from either Plex’s metadata service, nor from embedded meta tags in the MKV file.

So it needs to be examined how it got into your server.
The only explanation I can think of is that these wrong titles used to be embedded into older versions of the video files, which you may have been replacing.

There might also have been a conversion of the tv show library from old to new metadata agent, which could have contributed to the mixup.

that may be it. I am searching for other shows in my library atm to see if the naming scheme is similar to the two shows I’ve provided. I just find it odd how it names them all properly then suddenly it renames it to that format. Because all my shows are titled like this.

Show Title - S01E01 - Episode Title

most of the shows pick up the metadata properly, but some leave the title like what I claim but leave the info and everything else alone. It doesn’t do it tall my shows just some and I end up manually editing the title. But this is a very weird and different issue because the episodes were all titled properly when plex found it then it just scanned it again and went to that format.

Just to rule it out: check the health of your database file.

  1. activate debug logging (not ‘verbose’!)
  2. quit Plex Server
  3. wait 1 minute
  4. start Plex Server
  5. wait 5 minutes
  6. fetch log files and attach them here

Or inspect them yourself. Take a look at the Plex Media Server.log file and seek for messages about database corrupt or malformed.
If you find these, you may have to repair your database.
https://support.plex.tv/articles/repair-a-corrupted-database/

Alright, thank you I appreciate the help

plex_debug.txt (41.0 KB)
Here is the debug log, as requested.

@Tysl332 that appears to be your client debug logs, not the plex server logs that where requested. Please see the linked article and upload the zip. (there are 100+ files normally in the logs)

Plex Media Server Logs_2022-10-22_10-17-17.zip (5.6 MB)
here ya go

With The Mandalorian you have it in two different locations: H:\TV Shows\The Mandalorian and E:\TV Shows\The Mandalorian Can we get a screenshot of the files for season 1? I will also note that I am still seeing naming issues, S##Ep## instead of S##E##

Can you plex dance the entire series and see if the issue persists?