Prioritize matching by Original Broadcast Date not working

I’m having a number of reboot series (and some new ones using old names) being matched with the wrong series. I started to add to the metadata correction table, but it is becoming unwieldly. So, I am looking to the “Prioritize matching by Original Broadcast Date” setting to help.

My expectation for this setting is that it will use the original broadcast date available in the NPVR metadata to correctly find the correct series during the MCEbuddy metadata lookups. What I am finding is that MCEbuddy will first search TVDB and find the wrong match using season and ep, which in turn overwrites the original broadcast date in the metadata cache, so when it comes to TMDB to look up by original broadcast date, it is using the wrong date and finding the same wrong series that was found in TVDB.

Some of the series I encounter this with include: Happy Together, S.W.A.T., New Amsterdam, MacGyver, and others. I’ve uploaded the logs for S.W.A.T. and MacGyver.

The only reason I have the metadata lookup enabled, since NPVR metadata is already available, is that I want the premiere year available to name the file correctly for Plex to use for it’s lookups.

Can anyone confirm that perhaps the order of the lookups is the culprit?

MacGyver.S03E04.Guts Fuel Hope.ts-Convert to MKV-2018-10-20T00-39-16.8461433-04-00.log (895.9 KB)
S.W.A.T.S02E04.Saving Face.ts-Convert to MKV-2018-10-19T02-28-04.6374786-04-00.log (899.4 KB)

I would recommend using the latest 2.4.9 beta version which has many improvements to metadata matching. If you’re still seeing an issue post back when the new logs and we can look into them.

There is an inherent issue to which source of data is the “truth”. TVDB, IMDB, etc. We have tried to address this conflict in many ways but it’s an ongoing process since no single source is perfect.

Ok, I updated to the Oct 15 release yesterday and the results are different, but still incorrect.

First example is Magnum PI.

  1. TS no data
  2. Found NPVR XML has SD data
  3. Found TVDB by Original Broadcast Date
  4. Found match by ep and season → changes the original broadcast date to 1981, but leaves other metadata intact
    The rest doesn’t matter as we’ve lost the correct original broadcast date.

Second, New Amsterdam, which I have a correction entry for it’s TVDBBId. This corrects the title to New Amsterdam (2018) and there doesn’t seem to be a lot more metadata lookup beyond TVDB.

Third, Hawaii Five-O, seems to lookup correctly.

Any idea why the Magnum PI ended up with bad data when H5 O didn’t?


Magnum P.I.S01E05.Sudden Death.ts-Convert to MKV-2018-10-23T05-11-28.8340097-04-00.log (906.7 KB)
New Amsterdam.S01E04.Boundaries.ts-Convert to MKV-2018-10-23T02-31-52.9806641-04-00.log (901.0 KB)
Hawaii Five-0.S09E04.Aohe Kio Pohaku Nalo i Ke Alo Pali.ts-Convert to MKV-2018-10-23T02-03-56.3938211-04-00.log (909.4 KB)

This is a tricky topic and that’s because each source of metadata is incomplete is on way. For example has Magnum PI the original version but not the new one. TVDB has SWAT original but not the new one.

So each one is complete and since the names matches they sometimes confused the series. There are other bugs with recording devices where the premiere date is mismatched so MCEBuddy tries to “correct” by using the right date from the online metadata services but in this case since the series was mismatched it ended up putting a wrong date.

We’ve added some more checks to help with this by matching the series year if available, try out today’s update and see if that helps. The only other solution is to revamp the entire metadata matching engine and give the user control what they consider the “source” of metadata (website or local information etc)

This has been fixed in today’s 2.4.9 BETA build.

I updated to the Oct 24 build and it worked on Hawaii Five-O, but not SWAT or MacGyver.

I’ll grab the Oct 26 build and see what those changes produce.


Just an update that I have gone with the correction table solution.

However, even though the correct series is found for metadata, the premiereyear variable is not found for series added to thetvdb after apiv2 was released, for example Magnum P.I. Since I use Plex I have the filename set to %showname% (%premiereyear%) and with no premiereyear value, plex treats this as the original series. Can MCEbuddy do a search for the earliest ep date to fill this value?

If you attach your conversion log we can replicate and see if there’s another way to scrape or match that information. We cannot use earliest episode since that information isn’t always accurate or complete.

Log attached.
Magnum P.I.S01E14.I, the Deceased.ts-Convert to MKV-2019-01-29T07-17-51.1222794-05-00.log (1.8 MB)

Tagging this to an open request which should solve your issue as well:

This feature was implemented today, now MCEBuddy compares the series year with the metadata which matching up, as long as the series year information is available to match

I think Will & Grace also fall into this category, along with Magnum P.I., McGuyver, New Amsterdam (I forced it to the correct show).

Also, shows like Survivor (always picks the TU (Turkish) version, where the entry doesn’t have a country code, so it shows up first in TVDB searches) and The Voice (always picks the AU (Australian) version) that have nation-specific versions should try to select the country of the show based on some new parameter or by Windows default location/country or language settings.

Can you attach your conversion log and outline the specific issue you’re facing. With the latest 2.4.10 now it matches the premiere year if that information is available in the file metadata.
Is the issue that the TVDB metadata is incorrect?

The guide data and TVDB disagree on Will & Grace. TVDB thinks it is a continuation and seasons 10 & 11 of the original series. The US OTA guide data says it is seasons 1 & 2 of a separate reboot series. So HDHR embeds season 2 in the metadata, and MCEBuddy replaces it with the TVDB info ftom season 2 and names the file as if it were season 2 for Plex. I can’t figure out how to override that.

Can you try it with the latest 2.4.10 and attach your conversion log.
You could also flag/submit a correction request to TVDB.

This issue is specific because it’s using the reboot series and there’s no indicate of the series premiere year in the metadata. We’ve patched it up today’s build, it won’t use the season/episode to match if there is a subtitle already present so now it won’t cross match reboot series with original series.
Do note however that the filenaming is ambigious here since

Magnum P.I.S01E14.I, the Deceased

Has as . after E14 but the . before S01 is part of the Title so it causes confusion while matching the metadata. It would be better if you changed your naming convention to either use spaces or - or _ instead of . in your filename to avoid this issues. Do something like:

Magnum P.I. S01E14 I, the Deceased


Magnum P.I_S01E14_I, the Deceased

would be better and lead to better results.

Hi Goose,

I confirmed this worked for this week’s Magnum P.I.

However, the new series The Village looks like it was initially recognized as 2019, but got set to 2013. Log attached.
The Village.S01E02.Good Thing.ts-Convert to MKV-2019-03-27T01-54-27.8433111-04-00.log (928.1 KB)

And another one for the new series The Murders, which looks like it found both 2019 (correct) and 2018 premiere years, but didn’t set either.
The Murders.S01E01.The Long Black Veil.ts-Convert to MKV-2019-03-26T03-27-26.9966803-04-00.log (1022.9 KB)


It’s looks like you’re using an older build. Try the latest 2.4.10 BETA build (dated 3/19 or newer), it seems be working fine with it:

→ Updated video tags →
Title: The Village
SubTitle: Good Thing
Description: Sarah uncovers more of Katie’s secret and has a confrontation with Nick. Enzo struggles with a disappointing new roommate. Ava makes progress with her case.
Network: NBC
Network Affiliate:
Parental Rating: TV-14
Media Credits: Moran Atias;Dominic Chianese;Warren Christie;Frankie Faison
Genres: Drama
Season: 1
Episode: 2
Banner: D:\MCEBuddy\MCEBuddy2x\MCEBuddy.ServiceCMD\bin\x64\Debug\cache\The Village.jpg
Banner URL:
IMDB Id: tt7866098
MovieDB Id: 81948
TVDB Id: 354024
Is Show Movie: False
Is Show Sports: False
OriginalBroadcastDateTime: 2019-03-26T00:00:00
RecordedDateTime: 1900-01-01T00:00:00
SeriesPremiereDate: 2019-03-19T00:00:00
CopyProtected: False
SageTV FileID:
SageTV MediaFileID:

For The Murders your subtitles (The Long Black Veil) doesn’t match the online databases (The Veil) so it can’t find a proper match on tv and imdb, where it does find a match (tvdb), the series year information is not available.