EPG123 is not finding and/or matching all 3 of my HDHomeruns

An evolving, supported alternative to Rovi
Forum rules
★ Download the latest EPG123 here: http://epg123.garyan2.net <> Setup guide here: http://epg123.garyan2.net/downloads/epg123_Guide.pdf
User avatar
garyan2

Posts: 5405
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

Re: EPG123 is not finding and/or matching all 3 of my HDHome

#21

Post by garyan2 » Thu Apr 14, 2016 3:26 am

Alright ... I made a valiant effort, but the NEW flag just will not be respected. schottjy had a good suggestion so I made a build that would just log the NEW and OAD discrepancies and it was ugly. A lot of them you would expect such as newscasts (which can easily be ignored), but there were quite a few that caused me concern on currently running series that could have a 2-, 5-, 10-day, and even up to 2-month difference between NEW air date and OAD.

I am abandoning that effort, stripping out the code, and not looking back. Way too much risk.
- Gary
Keeping WMC alive beyond January 2020. http://epg123.garyan2.net

schottjy

Posts: 45
Joined: Wed May 16, 2012 3:02 am
Location:

HTPC Specs: Show details

#22

Post by schottjy » Thu Apr 14, 2016 3:55 am

garyan2 wrote:Alright ... I made a valiant effort, but the NEW flag just will not be respected. schottjy had a good suggestion so I made a build that would just log the NEW and OAD discrepancies and it was ugly. A lot of them you would expect such as newscasts (which can easily be ignored), but there were quite a few that caused me concern on currently running series that could have a 2-, 5-, 10-day, and even up to 2-month difference between NEW air date and OAD.

I am abandoning that effort, stripping out the code, and not looking back. Way too much risk.
Just for my education, what exactly are the pieces of data that SD is providing and how does that map into the mxf/MCE event data structure? It seems now the "New" flag isn't on when it should/could be (these Indy Car Pre/Post Race events being my only example). In my mind, I'd still prefer a default to New if it looks like it could might be New option.

User avatar
garyan2

Posts: 5405
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#23

Post by garyan2 » Thu Apr 14, 2016 4:26 am

schottjy wrote:Just for my education, what exactly are the pieces of data that SD is providing and how does that map into the mxf/MCE event data structure? It seems now the "New" flag isn't on when it should/could be (these Indy Car Pre/Post Race events being my only example). In my mind, I'd still prefer a default to New if it looks like it could might be New option.
In the case of the Pre/Post Race events, both were flagged NEW from Gracenote/SD but had an OAD of 4/2/2016 when it should be 4/17/2016. So in this case, the usage of NEW was correct and the OAD was incorrect. A lot of the problems I saw in my experiment was the OAD was correct, but the NEW flag was obviously not. Without any way to determine what date to use, I will continue to use the OAD. If it is wrong, it needs to be corrected upstream.

For some light reading:
SD-JSON API documentation: https://github.com/SchedulesDirect/JSON ... I-20141201
Microsoft MXF documentation: https://msdn.microsoft.com/en-us/librar ... 2147217396
- Gary
Keeping WMC alive beyond January 2020. http://epg123.garyan2.net

schottjy

Posts: 45
Joined: Wed May 16, 2012 3:02 am
Location:

HTPC Specs: Show details

#24

Post by schottjy » Thu Apr 14, 2016 4:50 am

Thanks for the pointers. So Media Center only uses date originalAirdate to set New status but GraceNote/SD provide (possibly?) date originalAirdate, boolean new ("new" if defined or not "new" if not defined) and boolean repeat ("repeat" if defined or not "repeat" if not defined). And in these Indy Car instances, the incorrect SD originalAirdate was the only information given to Media Center which is why it thought it was a repeat?

Was what you were considering effectively OR'ing the "new" or (originalAirdate == airDateTime) to "correct/massage" the Media Center originalAirdate? I still think incorrectly being New in MediaCenter is preferable to being wrong and not being taped (for series recordings set to New).

Sorry if I've missed something blatantly obvious.

Post Reply