Ability to Reattach to Gracenote Metadata - Tvdb messing up everything :)

Okay this a request/am i missing something question :smile: . Please correct my assumptions here if i am incorrect. When you record something the metadata it pulls is Gracenote EPG metadata. This if you select “Enhanced Program Guide” it instead relies upon the initial gracenote information to match to thetvdb.com for their more detailed information. But here there be dragons.

When I was setting up my server to use tv dvr i chose the “Enhanced Program Data” because it was “enhanced” and of course I would choose it :smile: The problem becomes that I mostly use my dvr for PBS kids shows and as many of you know PBS shows follow no rules for naming and numbering. For example we have this show Daniel Tiger.

The issue with this (and many many other PBS shows) is that their ordering station to station seems to be based off nothing at all and always contradicts the tvdb organization

So my main question is for shows that were either manually or through the use of enhanced program data changed from gracenote epg data to thetvdb.com, is there any way to change them back? Since there is no agent for gracenote…and the data is only found when you record an episode…how would i move a list of episodes (like all of my daniel tiger episodes) back to gracenotes incorrect order but correct info for the recorded episodes?

I love my children but i don’t want to manually renumber all these episodes…

http://forums.plex.tv/discussion/303395/manual-recordings-why-not/p1

This conversation makes me think the answer to my question is no…which is a shame

Yes! Thanks for posting this, @mcrommert. I’m having the exact same issue with Daniel Tiger and dug into it a bit because my 3 year-old is not happy if he thinks Daniel is going to fix the trolley and then Daniel ends up doing something entirely different! :smile:

What I found is that the filename descriptions are correct but the episode numbers do not line up with the TVDB. The reason is each 30-minute episode contains multiple stories and, by default, the TVDB numbers each story separately. For example:

Daniel Tiger's Neighborhood (2012) - S01E04 - Daniel Gets Mad; Katerina Gets Mad

contains 2 stories, which are episodes #7 and #8 according to the TVDB. However, this is technically the 4th episode of Season 1. So the filename is correct but can’t be matched to the TVDB.

Interestingly, the MovieDB does number based on the 30-minute episodes but I’m not sure how to leverage that. Reordering the agents doesn’t seem to have any effect when refreshing the show’s metadata.

@aaronwolen I’m about to make your day :slight_smile:

So tvdb has three different ordering systems - absolute, aired order, and dvd order - By default plex pulls aired order but can pull dvd order if selected in edit series

Dvd order for Daniel Tiger (and other children’s shows like Paw Patrol, etc.) has the episodes arranged as you want them…here is an example from that show

The problem is that the default plex tvdb agent won’t reorder the files correctly as the dvd ordering needs the agent to understand 1.1 and 1.2 which is needed. I have successfully used this https://forums.plex.tv/discussion/21141/dvd-order-agent/p1 and added it. You can just run an automatch on daniel tiger using this agent after it has been installed and that should work

I will warn you that there are a handful of daniel tiger episodes that are out of order in gracenote as compared to dvd order tvdb. There are some kids shows (like arthur which i’m currently fixing on tvdb) that do not have this option just to warn you.

This is how mine looks now

Also moviedb can be useful sometimes…but it is often inconsistent, wrong and garbage metadata

Tvdb has problems…but their strength is how consistent their rule implementation is

Thanks for sharing! Reading through that forum I learned that matching based on DVD order is now built in

Turning this on fixed all but one of our episodes. I had no idea those settings even existed. Great tip!

Okay, I take that back. It looked as though it had fixed our episodes but actually most were locked because I had edited them manually. I unlocked a few, unmatched them, then attempted to “fix match” with DVD order selected and it filled in the same ol’ incorrect metadata. I don’t see any evidence that selecting DVD order changed it’s matching strategy.

Also tried the plugin but it returns a “no matches were found using this agent” error. And according to the author, it has been deprecated now that DVD ordering is a built in option.

Yeah if you use plex’s built in agent it won’t work because it won’t renumber the episodes…I had spoken to that in my post…I have a version of the dvd agent bundle that works…may have been forked at some point. You can see if mine is anymore useful. ̶T̶h̶i̶s̶ ̶m̶a̶y̶ ̶a̶l̶s̶o̶ ̶b̶e̶ ̶t̶h̶e̶ ̶d̶e̶f̶a̶c̶t̶o̶ ̶c̶u̶r̶r̶e̶n̶t̶ ̶v̶e̶r̶s̶i̶o̶n̶ ̶o̶f̶ ̶t̶h̶e̶ ̶a̶g̶e̶n̶t̶ ̶h̶t̶t̶p̶s̶:̶/̶/̶g̶i̶t̶h̶u̶b̶.̶c̶o̶m̶/̶H̶u̶g̶g̶a̶b̶l̶e̶S̶q̶u̶a̶r̶e̶/̶D̶V̶D̶O̶r̶d̶e̶r̶A̶g̶e̶n̶t̶.̶b̶u̶n̶d̶l̶e̶.̶. This is the problem with downloading things and not keeping notes on how you got there.

Actually i believe this is the correct current…it says deprecated but i think it is the newest revision

Okay now you’ve officially made my day :smile:

That version worked perfectly (for episodes where the order matches TVDB).

Interesting the github repo also waves users away from the plugin when it obviously includes some functionality lacking in Plex’s builtin agent.

This is the edge case of edge cases…i will let the repo owner know

Good point. Thanks for the help!

I’m glad my replacement TVDB agent bundle remains useful for you in this situation. I have not updated it since PMS 1.4.1.3362-77c6a4f80, and I have no plans to resume updating it. It should continue to work going forward until the PMS agent Python API or the TVDB REST API changes. If it does eventually break on you, the best way to let me know is by opening an issue on github.

@Qwertz thanks for the post - will definitely let you know if there is an issue