Missing eventDetails on Sports programs?

Post Reply
PBorocz
Posts: 2
Joined: Tue Sep 12, 2023 11:33 am

Missing eventDetails on Sports programs?

Post by PBorocz »

Sometime around this last Sept. 3rd, I stopped getting any eventDetail entries for programs with entityType of "Sports" (specifically, got them on the 2nd and didn't on the 4th and from then on)

These have been consistently appearing for all years and there were no code changes on my part. I see in the docs that these were added a reasonably long time ago specifically for Sports (containing really valuable information like the participating teams!) and thus are optional for the majority of other broadcasts.

Did I miss any changes in the API/docs? Anything else I can look at and/or experiment with??

Thanks a priori for a wonderful service!

FWIW, lineup is

Code: Select all

USA-CA61516-X
rmeden
SD Board Member
Posts: 1738
Joined: Tue Aug 14, 2007 2:31 pm
Location: Cedar Hill, TX
Contact:

Re: Missing eventDetails on Sports programs?

Post by rmeden »

what sort of details? Team names? How far in advance is the download?
PBorocz
Posts: 2
Joined: Tue Sep 12, 2023 11:33 am

Re: Missing eventDetails on Sports programs?

Post by PBorocz »

Download is only 4 weeks out but I believe I've determined that this might be a head-end change from SD's source.

All program listings associated with sporting events before the 3rd had entityType of "Sports". Since then, they're now identified as either "Team Event" or "Sport Event" (with a few still as "Sports"). All entries identified as "Team Event" or "Sport Event" DO have eventDetail dicts (with gameDate, teams etc. as appropriate).

The very few entries that are still identified as entityType "Sports" are missing eventDetail dicts (completely) but they're a very small percentage of all the sports listings.

Net net, small change on my part to update the entityType vv eventDetail logic to incorporate the new entityType's and I'm good!

Sorry for the bother :?
rmeden
SD Board Member
Posts: 1738
Joined: Tue Aug 14, 2007 2:31 pm
Location: Cedar Hill, TX
Contact:

Re: Missing eventDetails on Sports programs?

Post by rmeden »

It may be better to look at the EP id.... if it begins with SP, it's sports. :)
emveepee
Posts: 27
Joined: Sat Jan 26, 2013 9:21 am

Re: Missing eventDetails on Sports programs?

Post by emveepee »

SageTV users have noted this too. The spec doesn't specify that it should be Sports https://github.com/SchedulesDirect/JSON ... m-Response but it does say
NOTE: Not all sports events will have a leading "SP" programID; your application should use the entity type.
Martin
Post Reply