Jump to content

DVR series matching: zap2it/SchedulesDirect series ID available in both EPG & TheTVDB?


Recommended Posts

cybergrimes
Posted (edited)

Hey there, I've been reading a few threads about how series year isn't provided in the Schedules Direct data so therefore matching is done by name only?

 

I noticed the zap2it/SD series ID can be saved on TheTVDB series page, according to TheTVDB wiki that is exposed using 'GetSeriesByRemoteID'?

For example here is what I see in the Schedules Direct data for NCIS Los Angeles:

<program id='EP011583610137'> <series>EP01158361</series> <title>NCIS: Los Angeles</title> <subtitle>Black Wind</subtitle> <showType>Series</showType> <originalAirDate>2015-02-02</originalAirDate> <syndicatedEpisodeNumber>612</syndicatedEpisodeNumber> <description>In hope of identifying the source of an anthrax poisoning before it can be used as a weapon, Sam and Callen go under cover as food truck owners.</description> </program>

Series ID EP01158361

I then saw same ID is stored on TheTVDB site:

5a9c4250ca14c_Untitled.png

 

This is a bad example of course. Better examples are the thread about S.W.A.T. (2017) or my recent experience with father in law recording the new series such as Bull or MacGyver.

 

Thanks!

Edited by cybergrimes
  • Like 1
cybergrimes
Posted (edited)

Still poking around, realized I maybe linked an old API page but it looks like zap2it ID is searchable using v2 API

Sorry if this has all been covered before, just thought it could be useful even if only used within DVR matching. Name matching could be the fallback for when TheTVDB doesn't have the zap2it ID stored of course.

 

5a9c5aaae4d9b_Untitled.png

Edited by cybergrimes
Posted

Very interesting, thanks. I was not aware of this. @@jasonmcroy we might be able to do something after all.

  • Like 2
jasonmcroy
Posted

Very interesting, thanks. I was not aware of this. @@jasonmcroy we might be able to do something after all.

 

@@Luke - that would make my day!

Posted

Ok I think i've got this integrated. Once you have the update with these changes you'll have to wait several days for new guide data to be updated into the database with this data. In other words, if you try to test it immediately it won't work.

 

@@denz, i completed the work of using series provider ids to look up internet metadata and incorporate the year into the series folder name. this should benefit xmltv as well when the xml has series id's such as imdb or tvdb.

  • Like 3
cybergrimes
Posted (edited)

@@jasonmcroy

S.W.A.T. (2017) didn't have a zap2it ID on it's TheTVDB page so I looked it up and added it for you. It's an easy edit on the series page.

 

FWIW it looks like tvlistings.zap2it.com always lists shows with ID starting 'SH' but Schedules Direct will have the same numerical ID starting with 'EP' instead.

As far as I can see that's for series ID, "programs" like news (maybe sports?) are still 'SH' in Schedules Direct data. It shouldn't matter since local news/sports aren't on TheTVDB, just writing it down...

Edited by cybergrimes
Posted

Well we're doing the lookup with tvdb, so the important thing is whether or not they are returning data with their GetSeriesByRemoteId api.

jasonmcroy
Posted

Ok I think i've got this integrated. Once you have the update with these changes you'll have to wait several days for new guide data to be updated into the database with this data. In other words, if you try to test it immediately it won't work.

 

@@denz, i completed the work of using series provider ids to look up internet metadata and incorporate the year into the series folder name. this should benefit xmltv as well when the xml has series id's such as imdb or tvdb.

 

Thanks @@Luke .  I already see the update - I will check in a couple of days to see if the changes show up.

 

@@jasonmcroy

S.W.A.T. (2017) didn't have a zap2it ID on it's TheTVDB page so I looked it up and added it for you. It's an easy edit on the series page.

 

FWIW it looks like tvlistings.zap2it.com always lists shows with ID starting 'SH' but Schedules Direct will have the same numerical ID starting with 'EP' instead.

As far as I can see that's for series ID, "programs" like news (maybe sports?) are still 'SH' in Schedules Direct data. It shouldn't matter since local news/sports aren't on TheTVDB, just writing it down...

 

Thanks!

cybergrimes
Posted (edited)

Right, I'm just saying in the event someone finds TheTVDB page doesn't have the ID yet, so not possible to match, they shouldn't assume tvlistings.zap2it.com will be the same as Schedules Direct data (SH vs EP prefix like I mentioned). I'm just getting ahead of myself on assumption the change goes in and data is returned... ; )

 

Anyway, I'm on release build-- if I update to beta can I check this out too?

Edited by cybergrimes
Posted

In the next beta yes.

jasonmcroy
Posted

In the next beta yes.

 

@@Luke - Is the latest Beta (3.3.1.1) the one that has this change or is it going to be the next one? I just don't want to be checking for a change that isn't ready yet.

 
Posted

In the next beta after that one.

jasonmcroy
Posted

Ok, thanks.

Posted

This is in beta now.

  • Like 1
jasonmcroy
Posted

Thanks @@Luke - I just did a fresh install with the Beta and will let you know if anything is quirky.

cybergrimes
Posted

I'm new here but just thinking isn't there a lot of variables to that? like what happened when that show was originally added to your library? It could have been wrong/changed, etc somewhere along the line.

That ID is for Chicago Med (change the EP to SH, or search it on your favorite search engine as is). What happens if you force a meta data refresh for the show?

 

I think it might be a good idea if the URL links translated the EP to SH for users though

EP being in the SD data and on zap2it affiliate sites like here: http://affiliate.zap2it.com/tv/chicago-med/EP02183593?aid=eastlink

 

Anyway, I haven't seen any wrong IDs in my shows as I've been going through them

  • Like 1
nyplayer
Posted

Include series year in recording folder name ... this does not appear to be working ?

@@nyplayer

cybergrimes
Posted

Here's an example of what I was thinking, Stargate Universe was just recorded for the first time on my DVR with a zap2it ID of SH1183982 but the correct ID is SH01183982.

It copied the wrong ID from TheTVDB when metadata was created. @@Happy2Play your show Scorpion is correct on TheTVDB but maybe it wasn't at some point? like I just fixed the ID for Stargate Universe.

  • Like 1
Posted

Include series year in recording folder name ... this does not appear to be working ?

@@nyplayer

 

You might have to give it a couple days for new guide data to come in.

nyplayer
Posted (edited)

You might have to give it a couple days for new guide data to come in.

 

I removed and re-added the guide data and it is working. ex "C:\EMBY\TVShows\All in the Family (1971)\Season 5\All in the Family S05E11 Archie and the Miracle.ts"

Edited by nyplayer
  • Like 1
jasonmcroy
Posted

I did a fresh install earlier and have tested a few recordings. It already seems to be working for me as well. My main shows will be recording tonight. I will report again if any issues.

 

Now if I could figure out how to create a post processing script to remux to mkv after they records I could do away with MCEBuddy.

nyplayer
Posted (edited)

I did a fresh install earlier and have tested a few recordings. It already seems to be working for me as well. My main shows will be recording tonight. I will report again if any issues.

 

Now if I could figure out how to create a post processing script to remux to mkv after they records I could do away with MCEBuddy.

 

Have you looked at the MCEBUDDY that just remuxes to mkv [MKV Unprocessed] you can use that as a guide to setup a ffmpeg batch file.

Edited by nyplayer
jasonmcroy
Posted (edited)

Have you looked at the MCEBUDDY that just remuxes to mkv [MKV Unprocessed] you can use that as a guide to setup a ffmpeg batch file.

 

That is how I am currently using it. I am not sure where to look in the files to see what code it's using to do that.

 

 

EDIT: Nevermind, I think I found it - Do you mean the profiles.conf file?

Edited by jasonmcroy
nyplayer
Posted

That is how I am currently using it. I am not sure where to look in the files to see what code it's using to do that.

 

 

EDIT: Nevermind, I think I found it - Do you mean the profiles.conf file?

 

Yes

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...