Server Version#: 1.25.2.5319
Web Player Version#: 4.71.0
I have a fairly old PMS system dating back 8 years or so. During some of that time IMDB was used to gather TV Shows ratings etc. I have now upgraded to the latest Plex TV Show scanner which uses either “The Movie DB” and “TVDB” to get ratings which works fine, however I am still stuck with the IMDB logo. next to the rating number.
All new shows scanned in recent times are fine.
I have tried refreshing, unmatch and fix match etc but the IMDB logo persists.
Any ideas how I can get rid of it (and get The Move DB one) without removing the show, emptying the trash and re-adding the show which loses all the watched info along the way.
Editing the database is feasible but obviously I would prefer not to.
Please post the first ~20 lines from the Plex XML info of an affected item
Here it is - just to make clear though the IMDB logo I am talking about is at the top TV Show level (not at the season or episode level) - see attachment. However here is an epsiode XML. Hope it is enough:
<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="2" librarySectionTitle="TV Shows" librarySectionUUID="3721a74a-50cf-4e1d-92df-8b2b703b5408" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1638943228">
<Video ratingKey="29335" key="/library/metadata/29335" parentRatingKey="29334" grandparentRatingKey="29333" guid="com.plexapp.agents.thetvdb://266398/1/1?lang=en" parentGuid="com.plexapp.agents.thetvdb://266398/1?lang=en" grandparentGuid="com.plexapp.agents.thetvdb://266398?lang=en" type="episode" title="Episode 1" grandparentKey="/library/metadata/29333" parentKey="/library/metadata/29334" librarySectionTitle="TV Shows" librarySectionID="2" librarySectionKey="/library/sections/2" grandparentTitle="Broadchurch" parentTitle="Season 1" contentRating="gb/15" summary="Out-of-town DI Alec Hardy investigates the death of an 11-year-old boy in a seaside community aided by local DS Ellie Miller. The child's parent and other residents of Broadchurch try to cope with the media frenzy surrounding the case." index="1" parentIndex="1" rating="7.8" viewCount="1" lastViewedAt="1394401684" year="2013" thumb="/library/metadata/29335/thumb/1550053005" art="/library/metadata/29333/art/1550053007" parentThumb="/library/metadata/29334/thumb/1550053007" grandparentThumb="/library/metadata/29333/thumb/1550053007" grandparentArt="/library/metadata/29333/art/1550053007" grandparentTheme="/library/metadata/29333/theme/1550053007" duration="2786047" originallyAvailableAt="2013-03-04" addedAt="1392908147" updatedAt="1550053005" chapterSource="media">
<Media id="1559462" duration="2786047" bitrate="2806" width="1920" height="1080" aspectRatio="1.78" audioChannels="2" audioCodec="aac" videoCodec="hevc" videoResolution="1080" container="mkv" videoFrameRate="PAL" audioProfile="lc" videoProfile="main">
<Part accessible="1" exists="1" id="1568736" key="/library/parts/1568736/1535153768/file.mkv" duration="2786047" file="D:\ServerFolders\Videos\Full Size\TV Shows\HD\Broadchurch\Series 1\Broadchurch.s01e01.mkv" size="977328091" audioProfile="lc" container="mkv" deepAnalysisVersion="6" requiredBandwidths="11060,6972,6972,6972,6972,6972,6972,6972" videoProfile="main">
<Stream id="3138006" streamType="1" default="1" codec="hevc" index="0" bitrate="2806" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="1080" codedWidth="1920" colorPrimaries="bt709" colorRange="tv" colorSpace="bt709" colorTrc="bt709" frameRate="25.000" height="1080" level="120" profile="main" refFrames="1" requiredBandwidths="10868,6841,6841,6841,6841,6841,6841,6841" width="1920" displayTitle="1080p (HEVC Main)" extendedDisplayTitle="1080p (HEVC Main)"> </Stream>
<Stream id="3138007" streamType="2" selected="1" default="1" codec="aac" index="1" channels="2" language="English" languageTag="en" languageCode="eng" audioChannelLayout="stereo" profile="lc" requiredBandwidths="193,193,193,193,193,193,193,193" samplingRate="48000" title="Stereo" displayTitle="English (AAC Stereo)" extendedDisplayTitle="Stereo (English AAC)"> </Stream>
<Stream id="3404632" key="/library/streams/3404632" streamType="3" codec="srt" language="English" languageTag="en" languageCode="eng" format="srt" displayTitle="English (SRT External)" extendedDisplayTitle="English (SRT External)"> </Stream>
</Part>
</Media>
This library hasn’t been converted to the new agent.
Or at least the Metadata refresh which is mandatory hasn’t been performed (completely) yet.
Here is advanced settings pic which confirm using new scanner etc
If I do a Metadata Refresh on a series it does not fix this issue.
The British “series” or the Plexian “show”?
Refreshing a single season won’t do. It must be the whole show.
Does this server use a filtered internet access? The new agents use different domain names for metadata access. So make sure you don’t have some outdated filter list lurking somewhere which prevents the new agent from getting its metadata.
Checking the health of your database cannot hurt either:
- activate debug logging (not ‘verbose’!)
- quit Plex Server
- wait 1 minute
- start Plex Server
- wait 5 minutes
- 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/
Only one refresh process can run at once. If this server is still busy with a metadata refresh of a different library, wait a few hours.
Sorry: confusing British “series” = American “Show,”
So I meant I do a refresh on the complete “show”.
I will check DB but I think it is OK.
Internet link is simple.
To me it looks like something is not being updated when I refresh in the DB on these old shows. Shows I might have added 5 years ago or so, I know there have been changes to the ratings within Plex over time (Critic rating/user rating etc.). Probably something I did at some stage
I have kicked of a Refresh of Metadata on all shows… I will see where that gets me.
Out of interest: look again at the XML info.
go to the address bar of your web browser and change the 29335
in the URL to 29333
. Press Enter.
I wonder if there are any locked
fields listed there.
I will check this - I did lock the ratings field in a lot of shows and after the ratings design revamp now that field has effectively dissappeared in the UI - replaced by the user ratings ***** field. which you can’t lock/unlock anyway.
I think the refresh all metadata is certainly sorting some of the shows out.
Yes, and whether that’s the case should be revealed in the XML for the whole show.
Once we have determined this, there might be a way to perform a mass-unlocking with a URL in your web browser.
I am a bit confused by this. The url of the XML file is shown below and there is no 29335 in the URL to replace. There is also no 29335 within the XML file itself that I can see.
Also just to reiterate that this is at the episode level which has the correct logo. The incorrect logo is just at the top TV Show level.
https://192-168-1-13.9a23da8b5e004d1c84b9914713367f90.plex.direct:32400/library/metadata/64296?checkFiles=1&includeAllConcerts=1&includeBandwidths=1&includeChapters=1&includeChildren=1&includeConcerts=1&includeExtras=1&includeFields=1&includeGeolocation=1&includeLoudnessRamps=1&includeMarkers=1&includeOnDeck=1&includePopularLeaves=1&includePreferences=1&includeRelated=1&includeRelatedCount=1&includeReviews=1&includeStations=1&X-Plex-Token=*******
Oh, I’m sorry for misleading you. I wasn’t paying full attention.
You need to take the number which appears as the grandparentRatingKey
in the XML of the episode and put it into the URL at the place of the number which follows after /library/metadata/
, immediately before the question mark.
You are indeed the budding Sherlock Holmes…
So got that to display the XML (attached)
64294.zip (5.2 KB)
and see this:
<Field locked="1" name="rating"/>
and later (see attached) “THUMB”
<Field locked="1" name="thumb"/>
I did the same for a show that had updated OK and the rating
field was NOT locked. However the thumb
field was locked so that’s probably irrelevant.
So possibly: It looks like in making the “ratings” changes to Plex and then hiding the ratings field you could end up with a locked rating field with no way to unlock it through the UI. Of course I could be talking drivel.
PS Thanks for all these prompt replies - it is greatly appreciated
thumb
is just the poster selection. You can change that easily via the GUI if you need to.
Now the rating
is what we’re trying to solve.
We need to unlock this for the whole library, because there is no longer an input field in the edit modal to edit (critic) rating. So being locked in the database prevents it from getting updated by the new agent.
You can use this post as a reference: Remove poster lock in database - #2 by OttoKerner
Only you need to change the query a bit.
First, you need to determine the library ID of your tv show library. It’s actually contained in the XML already. librarySectionID="2"
You want to change something in a tv show, so type=2
.
You want to remove the lock on the rating field, so &rating.locked=0
which gives us
curl -X PUT "me.local:32400/library/sections/2/all?type=2&rating.locked=0&X-Plex-Token=XXXXX"
to unlock all ratings of tv shows within library number 2.
If you want to, you can unlock all the poster selections as well – with
curl -X PUT "me.local:32400/library/sections/2/all?type=2&thumb.locked=0&X-Plex-Token=XXXXX"
I have actually not tested this, but I am confident that it’ll work.
Call up again the show’s XML afterwards, to verify the success of the command.
Outstanding - it just all worked perfectly. I now have a nice shiny updated TV Show library.
Thank you Otto for all your expert help today!
Have a great Christmas and a Happy New Year!
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.