Agent/Scraper Question: Which information provider is used for Plex DVR?

Which information provider is used for Plex DVR?

I record The Daily Show (aka The Daily Show with Trevor Noah) on Comedy Central.

Plex DVR is using meta data that has the show starting in the year 2015, so all seasons are numbered starting in 2015. In 2022, Season 7 is the current season.

Multiple information providers (aka agents, aka scrapers) used by both Plex and other media center software (Kodi) such as TheTVDB.com and TheMovieDB.org use meta data that has the show starting in the year 1996.

The problem is that Plex DVR is creating folder names and file names with the show starting in 2015, and thus the the current episodes from 2022 are labeled as Season 7. But all the agents/scrapers believe it is season 27, so the meta data (posters, guests) are from episodes back in 2002.

Has anyone else encountered this issue with The Daily Show or another show? If so, how have you dealt with it? Have you had to use a different agent in Plex and other media centers so that the DVR information provider matches?

I believe it is Gracenote

Is there a way to use Gracenote as an agent in Plex so that the meta in Plex Web matches what is used by the DVR?

In short, No.

By default, the Plex TV Series agent uses the episode ordering based on TMDB. However, if you know that your files are named according TVDB, you can change the Episode Ordering preference (under Advanced) when creating or editing your TV library. Examples of the file naming/organization mentioned can be found at the end of the article.

Are you rematching the show for some reason? When the DVR places it in your library it should do so with (EPG) metadata intact, and already matched.

Also, do you have a separate DVR TV library, or are you recording to a single TV shows library, mixed with your non-DVR content?

That is part of the problem. Plex DVR is not creating folder names and file names according to TVDB.

I am not rematching the show. The DVR is creating the directory structure, and the Plex agents are discovering them accordingly.

media@livingroom:~/storage/dvr$ pwd
/home/media/storage/dvr

media@livingroom:~/storage/dvr$ ls -lah
total 1.5M
drwxrwsrwx 17 media media 4.0K Feb 14 15:38  .
drwxrwxr-x  6 media media 4.0K Jan 13 10:36  ..
drwxr-sr-x  3 media media 4.0K Jan 26 22:01 'Resident Alien (2021)'
drwxr-sr-x  3 media media 4.0K Jan 24 22:02 'Snowpiercer (2020)'
drwxr-sr-x  3 media media 4.0K Jan 18 23:48 'The Daily Show With Trevor Noah (2015)'

I have 1 TV show library with 2 folders: A DVR folder and a non-DVR folder.

Would you mind sharing the XML info for one of these episodes? It really feels like these are being unmatched/rematched (understood that you’re not doing this intentionally).

Here you go.

Here are my settings, which I am pretty sure I have not changed from defaults. Would you recommend toggling one of these settings?

image

Yeah… I don’t think changing this value will make a difference, as both MovieDB and TVdb have the same meta with respect to season and episode numbering, and both are different than what is being used by the DVR.

They’ve got a single library, not specific to DVR.

Though I generally recommend keeping them separated myself.

@dugiehowsa Thanks for the XML (though you don’t need to upload to a separate site, you can just drag/drop it here).

It seems like it’s definitely being rematched. Normally for DVR’d content you would see mediaGrabBeginsAt and mediaGrabDevice elements (denoting when the recording was started and what device made the recording, respectively). Those are not present in your XML data.

I’m not sure why this would occur though. I guess it could just be a metadata refresh, but I don’t think that would remove the elements above.

Could you create a test DVR library and record just to that? See if the EPG metadata is retained that way.

Sure. Do you want me to record any show to that library, or do you want me to record the specific show?

I’d suggest this specific show, since you know there are issues with it.

Sounds good. It is recording tonight, so I will have an update tomorrow morning.

1 Like

Not sure if it matters, but the information in the Plex DVR → GUIDE looks to match with what is in TVdb, EXCEPT for season number.

I think that makes sense, based on what you’re seeing. Gracenote is treating this as an entirely new show; TVDB is treating it as an ongoing show. The split occurred at season 21 (1) so everything else (episode numbering) should line up. So I don’t think this is inconsistent with the idea that the EPG metadata is being dropped and replaced.

I setup a new TV Show library called Test DVR. The library contained the following path: /home/media/storage/testdvr/

I set “The Daily Show” recording to save to this library. Here is the XML from the 11 PM recording.

<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="4" librarySectionTitle="Test DVR" librarySectionUUID="f877633a-deff-495c-b110-34a23616d115" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1643704412">
<Video ratingKey="8966" key="/library/metadata/8966" parentRatingKey="8965" grandparentRatingKey="8964" guid="plex://episode/61e9c791538a012d061fb106" parentGuid="plex://season/5fc6ae1a2f220e002d5700f7/7" grandparentGuid="plex://show/5fc6ae1a2f220e002d5700f7" type="episode" title="The Daily Show With Trevor Noah" titleSort="Daily Show With Trevor Noah" grandparentKey="/library/metadata/8964" parentKey="/library/metadata/8965" librarySectionTitle="Test DVR" librarySectionID="4" librarySectionKey="/library/sections/4" grandparentTitle="The Daily Show With Trevor Noah" parentTitle="Season 7" contentRating="TV14" summary="Jessica Kingdon, director - "Ascension" & Willie O'Ree, NHL Diversity Ambassador." index="60" parentIndex="7" year="2022" thumb="/library/metadata/8966/thumb/1645073302" art="/library/metadata/8966/art/1645073302" grandparentThumb="/library/metadata/8964/thumb/1645073302" grandparentArt="/library/metadata/8964/art/1645073302" duration="2016611" originallyAvailableAt="2022-02-16" addedAt="1645073299" updatedAt="1645073302">
<Media id="22302" duration="2016611" bitrate="21265" width="1920" height="1080" aspectRatio="1.78" audioChannels="6" audioCodec="ac3" videoCodec="mpeg2video" videoResolution="1080" container="mpegts" videoFrameRate="NTSC" channelIdentifier="5fc76e2317b7aa002d062f30-5fc70600598c41002da3dcfc" mediaGrabBeginsAt="1645070400" mediaGrabDevice="device://tv.plex.grabbers.hdhomerun/131995C9" mediaGrabOriginalDuration="2697773" mediaGrabPostProcessed="1" mediaGrabStatus="complete" origin="dvr" videoProfile="main">
<Part accessible="1" exists="1" id="22304" key="/library/parts/22304/1645073297/file.ts" duration="2016611" file="/home/media/storage/testdvr/The Daily Show With Trevor Noah (2015)/Season 07/The Daily Show With Trevor Noah (2015) - S07E60 - The Daily Show With Trevor Noah.ts" size="2820110168" container="mpegts" deepAnalysisVersion="6" packetLength="188" requiredBandwidths="13868,12456,11540,11540,11540,11540,11540,11540" videoProfile="main">
<Stream id="45402" streamType="1" codec="mpeg2video" index="0" bitrate="10409" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" closedCaptions="1" codedHeight="1080" codedWidth="1920" colorRange="tv" frameRate="29.970" height="1080" level="4" profile="main" refFrames="1" requiredBandwidths="13421,12008,11106,11106,11106,11106,11106,11106" scanType="interlaced" streamIdentifier="256" width="1920" displayTitle="1080i (MPEG2VIDEO)" extendedDisplayTitle="1080i (MPEG2VIDEO)"> </Stream>
<Stream id="45404" streamType="2" selected="1" codec="ac3" index="1" channels="6" bitrate="384" language="English" languageTag="en" languageCode="eng" audioChannelLayout="5.1(side)" requiredBandwidths="384,384,384,384,384,384,384,384" samplingRate="48000" streamIdentifier="257" displayTitle="English (AC3 5.1)" extendedDisplayTitle="English (AC3 5.1)"> </Stream>
<Stream id="45405" streamType="2" codec="ac3" index="2" channels="1" bitrate="64" language="Spanish" languageTag="es" languageCode="spa" audioChannelLayout="mono" requiredBandwidths="64,64,64,64,64,64,64,64" samplingRate="48000" streamIdentifier="258" displayTitle="Spanish (AC3 Mono)" extendedDisplayTitle="Spanish (AC3 Mono)"> </Stream>
<Stream id="45403" streamType="3" codec="eia_608" index="0" bitrate="10409" embeddedInVideo="1" requiredBandwidths="13421,12008,11106,11106,11106,11106,11106,11106" streamIdentifier="256" displayTitle="Unknown (Closed Captions)" extendedDisplayTitle="Unknown (Closed Captions)"> </Stream>
</Part>
</Media>
<Genre id="29217" filter="genre=29217" tag="Talk"/>
<Genre id="29218" filter="genre=29218" tag="Interview"/>
<Genre id="257" filter="genre=257" tag="Comedy"/>
<Genre id="29570" filter="genre=29570" tag="Entertainment"/>
<Genre id="29161" filter="genre=29161" tag="News + Opinion"/>
<Channel id="29219" filter="channel=29219" tag="190 COMEDY (Comedy Central)"/>
<Channel id="29220" filter="channel=29220" tag="690 CCHD (Comedy Central HD)"/>
<Field locked="1" name="art"/>
<Extras size="0"> </Extras>
<Related> </Related>
</Video>
</MediaContainer>

I’ve found the key is to tell Plex to not match anything from DVR to a known metadata agent.
Which means
Scanner: Plex Series Scanner
Agent: Personal Media Shows

EPG metadata are quite volatile. Avoid performing Refresh Metadata or Match/Unmatch after recording, too.

I am pretty sure that neither condition is happening, but here are the
logs (4.8 MB) to check in case the preconfigured automation is doing it.

What “preconfigured automation”?

Any scheduled tasks that are part of the Plex Media Server default configuration, such as periodically scanning a library for new content.