Schedule not in lineup, spurious brackets

Post Reply
karamike
Posts: 4
Joined: Wed Jan 02, 2019 1:15 pm

Schedule not in lineup, spurious brackets

Post by karamike » Wed Jan 02, 2019 2:15 pm

I'm working on a python sdclient. It generates a debug output, which I've include (zipped to make it smaller)

I'm running into two problems:

Code: Select all

get https://json.schedulesdirect.org/20141201/lineups/ZZZ-28.2E-DEFAULT
produces a spurious "[]" at line #6411 in the stations section


The more serious problem is that I get an error 7030 SCHEDULE_NOT_IN_LINEUP, even though the schedule should be in the lineup... I think

1) Get user lineups

Code: Select all

https://json.schedulesdirect.org/20141201/lineups
line #66 + #70: ZZZ-28.2E-DEFAULT


2) Get stations for lineup

Code: Select all

get https://json.schedulesdirect.org/20141201/lineups/ZZZ-28.2E-DEFAULT
Starting with line #5204:

Code: Select all

        {
            "stationID": "30644",
            "name": "BBC One (London)",
            "callsign": "BBC1LDN",
            ...
        }
3) Get schedule of BBC One

Code: Select all

post https://json.schedulesdirect.org/20141201/schedules      
data: [{'stationID': '30644'}] 


in line #8499

Code: Select all

[
    {
        "stationID": "30644",
        "serverID": "20141201.web.X",
        "code": 7030,
        "response": "SCHEDULE_NOT_IN_LINEUP",
        "programs": [],
        "metadata": {
            "code": 7030,
            "message": "You have requested a schedule which is not in any of your configured lineups.",
            "modified": "1970-01-01T00:00:00Z",
            "md5": "CAFEDEADBEEFCAFEDEADBE",
            "startDate": "2019-01-02"
        }
    },

What am I doing wrong?
Attachments
debug20190102.zip
Zipped JSON communication
(14.71 KiB) Downloaded 132 times

Post Reply