BUG: duplicate show in schedule with only duration diff

BUG: duplicate show in schedule with only duration diff

Postby jagsd » Thu Jun 04, 2015 11:18 am

Just now for stationID 60964, in the /schedules request I received the following info where the same show at the same time is repeated with only a duration difference at 2015-06-07T02:00:00Z. The latter show is correct with duration 9600; the first is erroneous with duration 9000.

There should not be two shows starting at the same date and time for the same stationID. In fact, no two shows should overlap.

Code: Select all
{
                "programID": "MV000491040000",
                "airDateTime": "2015-06-07T02:00:00Z",
                "duration": 9000,
                "md5": "VR0OhbE6qPC5Dnc6cH9Rvg",
                "audioProperties": [
                    "stereo"
                ],
                "videoProperties": [
                    "hdtv"
                ],
                "ratings": [
                    {
                        "body": "USA Parental Rating",
                        "code": "TV14"
                    }
                ]
            },
            {
                "programID": "MV000491040000",
                "airDateTime": "2015-06-07T02:00:00Z",
                "duration": 9600,
                "md5": "VR0OhbE6qPC5Dnc6cH9Rvg",
                "audioProperties": [
                    "stereo"
                ],
                "videoProperties": [
                    "hdtv"
                ],
                "ratings": [
                    {
                        "body": "USA Parental Rating",
                        "code": "TV14"
                    }
                ]
            }


Edit: Data was updated at 2015-06-04T20:32:34Z and the problem was fixed. Was the bug found or did the update simply fix it in this case?
jagsd
 
Posts: 38
Joined: Sun Sep 09, 2007 10:52 am

Re: BUG: duplicate show in schedule with only duration diff

Postby rkulagow » Fri Jun 05, 2015 10:10 pm

The update fixed it; I think there was a glitch upstream. My code looks for gaps in the upstream schedule, but not for duplicates. I'll have to update the code to flag when that happens.
rkulagow
SD Staff
 
Posts: 911
Joined: Tue Aug 14, 2007 3:15 pm


Return to Developer

Who is online

Users browsing this forum: No registered users and 1 guest