SchedulesDirect JSON client

Other clients written by the community
geoffstewart
Posts: 152
Joined: Sat Sep 18, 2010 1:29 am
Location: Ottawa, ON, Canada

Re: SchedulesDirect JSON client

Post by geoffstewart » Thu Mar 19, 2015 9:14 pm

I've put together a new version with "hopefully" better logging to catch the errors you are seeing. I have been using it for a couple of weeks but have not seen the errors you describe.

Hopefully, this version will track the errors it gets and report them at the end instead of stopping the import altogether.
Attachments
GuideImporter-TESTv1.2.zip
(1.29 MiB) Downloaded 172 times

ams123
Posts: 24
Joined: Sat Dec 27, 2014 4:08 pm

Re: SchedulesDirect JSON client

Post by ams123 » Fri Mar 20, 2015 11:26 pm

OK so giving this a try and having an issue with the channel lineup. I am in the US and importing over the air channels but the channel numbers and names don't match what is pulled in by the old Schedules Direct service. I pull in the logical channel number and the call sign and the logical channel number appears to by the digital number not the logical or "virtual" channel. With the new test version if I use the old SchedulesDirect it looks fine but if I use the new SchedulesDirectJSONService it is wrong.

Thanks, Let me know if you need more info.

geoffstewart
Posts: 152
Joined: Sat Sep 18, 2010 1:29 am
Location: Ottawa, ON, Canada

Re: SchedulesDirect JSON client

Post by geoffstewart » Sat Mar 21, 2015 12:31 am

Can you post your zipcode and lineup name so I can see what's what?

g

ams123
Posts: 24
Joined: Sat Dec 27, 2014 4:08 pm

Re: SchedulesDirect JSON client

Post by ams123 » Sat Mar 21, 2015 1:13 am

Here is what is tied to my account at the Schedules Direct website.

48070 Detroit, US Local Broadcast Listings - Antenna LocalBroadcast

Here is what the selected from with the SchedulesDirectJSONService plug in of Guide Importer Lineup Selection

Antenna - /20140530/lineups/USA-OTA-48070

geoffstewart
Posts: 152
Joined: Sat Sep 18, 2010 1:29 am
Location: Ottawa, ON, Canada

Re: SchedulesDirect JSON client

Post by geoffstewart » Sat Mar 21, 2015 1:25 am

So, here's the raw info that comes back from SD for the lineup you specified:

Do these channel numbers make sense to you? The stationID is the key in the MAP and in the STATIONS sections.

Code: Select all

{
    "map": [
        {
            "stationID": "19600",
            "uhfVhf": 7,
            "atscMajor": 2,
            "atscMinor": 1
        },
        {
            "stationID": "35451",
            "uhfVhf": 7,
            "atscMajor": 2,
            "atscMinor": 2
        },
        {
            "stationID": "20359",
            "uhfVhf": 45,
            "atscMajor": 4,
            "atscMinor": 1
        },
        {
            "stationID": "35449",
            "uhfVhf": 45,
            "atscMajor": 4,
            "atscMinor": 2
        },
        {
            "stationID": "19601",
            "uhfVhf": 41,
            "atscMajor": 7,
            "atscMinor": 1
        },
        {
            "stationID": "35140",
            "uhfVhf": 41,
            "atscMajor": 7,
            "atscMinor": 2
        },
        {
            "stationID": "35425",
            "uhfVhf": 41,
            "atscMajor": 7,
            "atscMinor": 3
        },
        {
            "stationID": "10088",
            "uhfVhf": 9
        },
        {
            "stationID": "72772",
            "uhfVhf": 9,
            "atscMajor": 9,
            "atscMinor": 1
        },
        {
            "stationID": "74454",
            "uhfVhf": 20,
            "atscMajor": 14,
            "atscMinor": 1
        },
        {
            "stationID": "74469",
            "uhfVhf": 20,
            "atscMajor": 14,
            "atscMinor": 2
        },
        {
            "stationID": "74471",
            "uhfVhf": 20,
            "atscMajor": 14,
            "atscMinor": 3
        },
        {
            "stationID": "74473",
            "uhfVhf": 20,
            "atscMajor": 14,
            "atscMinor": 4
        },
        {
            "stationID": "74474",
            "uhfVhf": 20,
            "atscMajor": 14,
            "atscMinor": 5
        },
        {
            "stationID": "16020",
            "uhfVhf": 16
        },
        {
            "stationID": "73228",
            "uhfVhf": 18,
            "atscMajor": 18,
            "atscMinor": 1
        },
        {
            "stationID": "71559",
            "uhfVhf": 18,
            "atscMajor": 18,
            "atscMinor": 2
        },
        {
            "stationID": "71009",
            "uhfVhf": 18,
            "atscMajor": 18,
            "atscMinor": 3
        },
        {
            "stationID": "72425",
            "uhfVhf": 18,
            "atscMajor": 18,
            "atscMinor": 4
        },
        {
            "stationID": "24050",
            "uhfVhf": 21,
            "atscMajor": 20,
            "atscMinor": 1
        },
        {
            "stationID": "43963",
            "uhfVhf": 21,
            "atscMajor": 20,
            "atscMinor": 2
        },
        {
            "stationID": "10130",
            "uhfVhf": 3
        },
        {
            "stationID": "70820",
            "uhfVhf": 23,
            "atscMajor": 23,
            "atscMinor": 1
        },
        {
            "stationID": "43546",
            "uhfVhf": 28,
            "atscMajor": 28,
            "atscMinor": 1
        },
        {
            "stationID": "58754",
            "uhfVhf": 28,
            "atscMajor": 28,
            "atscMinor": 2
        },
        {
            "stationID": "66303",
            "uhfVhf": 28,
            "atscMajor": 28,
            "atscMinor": 3
        },
        {
            "stationID": "11322",
            "uhfVhf": 31
        },
        {
            "stationID": "51970",
            "uhfVhf": 50,
            "atscMajor": 31,
            "atscMinor": 1
        },
        {
            "stationID": "51974",
            "uhfVhf": 50,
            "atscMajor": 31,
            "atscMinor": 2
        },
        {
            "stationID": "51976",
            "uhfVhf": 50,
            "atscMajor": 31,
            "atscMinor": 3
        },
        {
            "stationID": "52944",
            "uhfVhf": 50,
            "atscMajor": 31,
            "atscMinor": 4
        },
        {
            "stationID": "82737",
            "uhfVhf": 50,
            "atscMajor": 31,
            "atscMinor": 5
        },
        {
            "stationID": "83510",
            "uhfVhf": 50,
            "atscMajor": 31,
            "atscMinor": 6
        },
        {
            "stationID": "10119",
            "uhfVhf": 19
        },
        {
            "stationID": "73113",
            "uhfVhf": 32,
            "atscMajor": 32,
            "atscMinor": 1
        },
        {
            "stationID": "27814",
            "uhfVhf": 33
        },
        {
            "stationID": "32511",
            "uhfVhf": 39,
            "atscMajor": 38,
            "atscMinor": 1
        },
        {
            "stationID": "32512",
            "uhfVhf": 39,
            "atscMajor": 38,
            "atscMinor": 2
        },
        {
            "stationID": "71843",
            "uhfVhf": 39,
            "atscMajor": 38,
            "atscMinor": 3
        },
        {
            "stationID": "73826",
            "uhfVhf": 39,
            "atscMajor": 38,
            "atscMinor": 4
        },
        {
            "stationID": "80741",
            "uhfVhf": 40,
            "atscMajor": 40,
            "atscMinor": 1
        },
        {
            "stationID": "36613",
            "uhfVhf": 42
        },
        {
            "stationID": "70785",
            "uhfVhf": 47,
            "atscMajor": 47,
            "atscMinor": 1
        },
        {
            "stationID": "70790",
            "uhfVhf": 47,
            "atscMajor": 47,
            "atscMinor": 2
        },
        {
            "stationID": "70793",
            "uhfVhf": 47,
            "atscMajor": 47,
            "atscMinor": 3
        },
        {
            "stationID": "70797",
            "uhfVhf": 47,
            "atscMajor": 47,
            "atscMinor": 4
        },
        {
            "stationID": "70799",
            "uhfVhf": 47,
            "atscMajor": 47,
            "atscMinor": 5
        },
        {
            "stationID": "66492",
            "uhfVhf": 48
        },
        {
            "stationID": "25126",
            "uhfVhf": 14,
            "atscMajor": 50,
            "atscMinor": 1
        },
        {
            "stationID": "10087",
            "uhfVhf": 35
        },
        {
            "stationID": "25512",
            "uhfVhf": 43,
            "atscMajor": 56,
            "atscMinor": 1
        },
        {
            "stationID": "45325",
            "uhfVhf": 43,
            "atscMajor": 56,
            "atscMinor": 2
        },
        {
            "stationID": "54803",
            "uhfVhf": 43,
            "atscMajor": 56,
            "atscMinor": 3
        },
        {
            "stationID": "16020",
            "uhfVhf": 16
        },
        {
            "stationID": "20376",
            "uhfVhf": 44,
            "atscMajor": 62,
            "atscMinor": 1
        },
        {
            "stationID": "42610",
            "uhfVhf": 44,
            "atscMajor": 62,
            "atscMinor": 2
        },
        {
            "stationID": "63175",
            "uhfVhf": 66
        }
    ],
    "stations": [
        {
            "callsign": "WJBKDT",
            "name": "WJBKDT (WJBK-DT)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "logo": {
                "URL": "https://s3.amazonaws.com/schedulesdirect-API20140530/assets/s10212_h3_aa.png",
                "height": 270,
                "width": 360,
                "md5": "ec9bf15a796eca21c9f3ec"
            },
            "stationID": "19600"
        },
        {
            "callsign": "WJBKDT2",
            "name": "WJBKDT2 (WJBK-DT2)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "35451"
        },
        {
            "callsign": "WDIVDT",
            "name": "WDIVDT (WDIV-DT)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "logo": {
                "URL": "https://s3.amazonaws.com/schedulesdirect-API20140530/assets/s10991_h3_aa.png",
                "height": 270,
                "width": 360,
                "md5": "c6e49b57eea92bcf874ccb"
            },
            "stationID": "20359"
        },
        {
            "callsign": "WDIVDT2",
            "name": "WDIVDT2 (WDIV-DT2)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "35449"
        },
        {
            "callsign": "WXYZDT",
            "name": "WXYZDT (WXYZ-DT)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "logo": {
                "URL": "https://s3.amazonaws.com/schedulesdirect-API20140530/assets/s10003_h3_aa.png",
                "height": 270,
                "width": 360,
                "md5": "defb975392537fc8a42ec3"
            },
            "stationID": "19601"
        },
        {
            "callsign": "WXYZDT2",
            "name": "WXYZDT2 (WXYZ-DT2)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "35140"
        },
        {
            "callsign": "WXYZDT3",
            "name": "WXYZDT3 (WXYZ-DT3)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "35425"
        },
        {
            "callsign": "CBET",
            "name": "CBC Television-Windsor 9",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "logo": {
                "URL": "https://s3.amazonaws.com/schedulesdirect-API20140530/assets/s10084_h3_aa.png",
                "height": 270,
                "width": 360,
                "md5": "21605b17e859476dc94428"
            },
            "stationID": "10088"
        },
        {
            "callsign": "CBETDT",
            "name": "CBETDT Windsor (CBET-DT)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "logo": {
                "URL": "https://s3.amazonaws.com/schedulesdirect-API20140530/assets/s10084_h3_aa.png",
                "height": 270,
                "width": 360,
                "md5": "21605b17e859476dc94428"
            },
            "stationID": "72772"
        },
        {
            "callsign": "WHNELD",
            "name": "WHNELD (WHNE-LD)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "74454"
        },
        {
            "callsign": "WHNELD2",
            "name": "WHNELD2 (WHNE-LD2)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "74469"
        },
        {
            "callsign": "WHNELD3",
            "name": "WHNELD3 (WHNE-LD3)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "74471"
        },
        {
            "callsign": "WHNELD4",
            "name": "WHNELD4 (WHNE-LD4)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "74473"
        },
        {
            "callsign": "WHNELD5",
            "name": "WHNELD5 (WHNE-LD5)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "74474"
        },
        {
            "callsign": "CHWI",
            "name": "CTV Two - London/Windsor",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "16020"
        },
        {
            "callsign": "WDWOCD",
            "name": "WDWOCD (WDWO-CD)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "73228"
        },
        {
            "callsign": "WDWOCD2",
            "name": "WDWOCD2 (WDWO-CD2)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "71559"
        },
        {
            "callsign": "WDWOCD3",
            "name": "WDWOCD3 (WDWO-CD3)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "71009"
        },
        {
            "callsign": "WDWOCD4",
            "name": "WDWOCD4 (WDWO-CD4)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "72425"
        },
        {
            "callsign": "WMYDDT",
            "name": "WMYDDT (WMYD-DT)",
            "affiliate": "MNT",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "logo": {
                "URL": "https://s3.amazonaws.com/schedulesdirect-API20140530/assets/s51307_h3_aa.png",
                "height": 270,
                "width": 360,
                "md5": "7de075b150606dc68d1002"
            },
            "stationID": "24050"
        },
        {
            "callsign": "WMYDDT2",
            "name": "WMYDDT2 (WMYD-DT2)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "43963"
        },
        {
            "callsign": "CIII",
            "name": "Global Toronto",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "logo": {
                "URL": "https://s3.amazonaws.com/schedulesdirect-API20140530/assets/s10130_h3_aa.png",
                "height": 270,
                "width": 360,
                "md5": "54282671cdecfccfc9575f"
            },
            "stationID": "10130"
        },
        {
            "callsign": "WUDTLD",
            "name": "WUDTLD (WUDT-LD)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "logo": {
                "URL": "https://s3.amazonaws.com/schedulesdirect-API20140530/assets/s19026_h3_aa.png",
                "height": 270,
                "width": 360,
                "md5": "9fbc55d9294c9781eb6d08"
            },
            "stationID": "70820"
        },
        {
            "callsign": "WCMZDT",
            "isCommercialFree": true,
            "name": "WCMZDT (WCMZ-DT)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "logo": {
                "URL": "https://s3.amazonaws.com/schedulesdirect-API20140530/assets/s11039_h3_aa.png",
                "height": 270,
                "width": 360,
                "md5": "b54e65c3384cc904c90124"
            },
            "stationID": "43546"
        },
        {
            "callsign": "WCMZDT2",
            "isCommercialFree": true,
            "name": "WCMZDT2 (WCMZ-DT2)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "logo": {
                "URL": "https://s3.amazonaws.com/schedulesdirect-API20140530/assets/s11039_h3_aa.png",
                "height": 270,
                "width": 360,
                "md5": "b54e65c3384cc904c90124"
            },
            "stationID": "58754"
        },
        {
            "callsign": "WCMZDT3",
            "isCommercialFree": true,
            "name": "WCMZDT3 (WCMZ-DT3)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "66303"
        },
        {
            "callsign": "WPXD",
            "name": "WPXD",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "logo": {
                "URL": "https://s3.amazonaws.com/schedulesdirect-API20140530/assets/s18633_h3_aa.png",
                "height": 270,
                "width": 360,
                "md5": "1b9167f7ffec419a8767fc"
            },
            "stationID": "11322"
        },
        {
            "callsign": "WPXDDT",
            "name": "WPXDDT (WPXD-DT)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "logo": {
                "URL": "https://s3.amazonaws.com/schedulesdirect-API20140530/assets/s18633_h3_aa.png",
                "height": 270,
                "width": 360,
                "md5": "1b9167f7ffec419a8767fc"
            },
            "stationID": "51970"
        },
        {
            "callsign": "WPXDDT2",
            "name": "WPXDDT2 (WPXD-DT2)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "51974"
        },
        {
            "callsign": "WPXDDT3",
            "name": "WPXDDT3 (WPXD-DT3)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "51976"
        },
        {
            "callsign": "WPXDDT4",
            "name": "WPXDDT4 (WPXD-DT4)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "52944"
        },
        {
            "callsign": "WPXDDT5",
            "name": "WPXDDT5 (WPXD-DT5)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "82737"
        },
        {
            "callsign": "WPXDDT6",
            "name": "WPXDDT6 (WPXD-DT6)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "logo": {
                "URL": "https://s3.amazonaws.com/schedulesdirect-API20140530/assets/s10269_h3_aa.png",
                "height": 270,
                "width": 360,
                "md5": "1fc4b981cd602cac6b73b2"
            },
            "stationID": "83510"
        },
        {
            "callsign": "CICA",
            "name": "TV Ontario (CICA)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "logo": {
                "URL": "https://s3.amazonaws.com/schedulesdirect-API20140530/assets/s10119_h3_aa.png",
                "height": 270,
                "width": 360,
                "md5": "4cb38e32077d065d1374d5"
            },
            "stationID": "10119"
        },
        {
            "callsign": "CICOD32",
            "name": "CICODT32 Windsor (CICO-DT32)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "73113"
        },
        {
            "callsign": "W33BY",
            "name": "W68CH",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "27814"
        },
        {
            "callsign": "WADLDT",
            "name": "WADLDT (WADL-DT)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "32511"
        },
        {
            "callsign": "WADLDT2",
            "name": "WADLDT2 (WADL-DT2)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "32512"
        },
        {
            "callsign": "WADLDT3",
            "name": "WADLDT3 (WADL-DT3)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "71843"
        },
        {
            "callsign": "WADLDT4",
            "name": "WADLDT4 (WADL-DT4)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "73826"
        },
        {
            "callsign": "WLPCLD",
            "name": "WLPCLD (WLPC-LD)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "80741"
        },
        {
            "callsign": "CKCOTV3",
            "name": "CKCO TV3",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "36613"
        },
        {
            "callsign": "W47DLD",
            "name": "W47DLD (W47DL-D)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "logo": {
                "URL": "https://s3.amazonaws.com/schedulesdirect-API20140530/assets/s14767_h3_aa.png",
                "height": 270,
                "width": 360,
                "md5": "baf5db56dc953fdb900401"
            },
            "stationID": "70785"
        },
        {
            "callsign": "W47DLD2",
            "name": "W47DLD2 (W47DL-D2)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "70790"
        },
        {
            "callsign": "W47DLD3",
            "name": "W47DLD3 (W47DL-D3)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "70793"
        },
        {
            "callsign": "W47DLD4",
            "name": "W47DLD4 (W47DL-D4)",
            "broadcastLanguage": "es",
            "descriptionLanguage": "es",
            "stationID": "70797"
        },
        {
            "callsign": "W47DLD5",
            "name": "W47DLD5 (W47DL-D5)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "70799"
        },
        {
            "callsign": "W48AV",
            "name": "W48AV",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "logo": {
                "URL": "https://s3.amazonaws.com/schedulesdirect-API20140530/assets/s18633_h3_aa.png",
                "height": 270,
                "width": 360,
                "md5": "1b9167f7ffec419a8767fc"
            },
            "stationID": "66492"
        },
        {
            "callsign": "WKBDDT",
            "name": "WKBDDT (WKBD-DT)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "logo": {
                "URL": "https://s3.amazonaws.com/schedulesdirect-API20140530/assets/s51306_h3_aa.png",
                "height": 270,
                "width": 360,
                "md5": "3e7459486d5e6b87d3d9f2"
            },
            "stationID": "25126"
        },
        {
            "callsign": "CBEFT",
            "name": "CBEFT",
            "broadcastLanguage": "fr-CA",
            "descriptionLanguage": "fr-CA",
            "logo": {
                "URL": "https://s3.amazonaws.com/schedulesdirect-API20140530/assets/s16371_h3_aa.png",
                "height": 270,
                "width": 360,
                "md5": "75d137c2e440b44c74e1ed"
            },
            "stationID": "10087"
        },
        {
            "callsign": "WTVSDT",
            "isCommercialFree": true,
            "name": "WTVSDT (WTVS-DT)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "logo": {
                "URL": "https://s3.amazonaws.com/schedulesdirect-API20140530/assets/s11039_h3_aa.png",
                "height": 270,
                "width": 360,
                "md5": "b54e65c3384cc904c90124"
            },
            "stationID": "25512"
        },
        {
            "callsign": "WTVSDT2",
            "isCommercialFree": true,
            "name": "WTVSDT2 (WTVS-DT2)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "logo": {
                "URL": "https://s3.amazonaws.com/schedulesdirect-API20140530/assets/s11039_h3_aa.png",
                "height": 270,
                "width": 360,
                "md5": "b54e65c3384cc904c90124"
            },
            "stationID": "45325"
        },
        {
            "callsign": "WTVSDT3",
            "isCommercialFree": true,
            "name": "WTVSDT3 (WTVS-DT3)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "54803"
        },
        {
            "callsign": "CHWI",
            "name": "CTV Two - London/Windsor",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "16020"
        },
        {
            "callsign": "WWJDT",
            "name": "WWJDT (WWJ-DT)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "logo": {
                "URL": "https://s3.amazonaws.com/schedulesdirect-API20140530/assets/s10098_h3_aa.png",
                "height": 270,
                "width": 360,
                "md5": "68713effdd9df195833a56"
            },
            "stationID": "20376"
        },
        {
            "callsign": "WWJDT2",
            "name": "WWJDT2 (WWJ-DT2)",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "stationID": "42610"
        },
        {
            "callsign": "W66BV",
            "name": "W66BV",
            "broadcastLanguage": "en",
            "descriptionLanguage": "en",
            "logo": {
                "URL": "https://s3.amazonaws.com/schedulesdirect-API20140530/assets/s14767_h3_aa.png",
                "height": 270,
                "width": 360,
                "md5": "baf5db56dc953fdb900401"
            },
            "stationID": "63175"
        }
    ],
    "metadata": {
        "lineup": "USA-OTA-48070",
        "modified": "2015-03-20T21:05:19Z",
        "transport": "Antenna"
    }
}

ams123
Posts: 24
Joined: Sat Dec 27, 2014 4:08 pm

Re: SchedulesDirect JSON client

Post by ams123 » Sat Mar 21, 2015 1:58 am

The atscMajor is what used to show up in the "Local Chanel Number" position and now it's the uhfVhf number with the JSON client.

ams123
Posts: 24
Joined: Sat Dec 27, 2014 4:08 pm

Re: SchedulesDirect JSON client

Post by ams123 » Sat Mar 21, 2015 2:38 am

That should have been Logical Channel Number not Local.

Did some playing around and that data pulls in fine and the guide populates but now instead of seeing the LCN in the guid e you see the uhfVhf number. Season and Episode show up perfectly so far.

geoffstewart
Posts: 152
Joined: Sat Sep 18, 2010 1:29 am
Location: Ottawa, ON, Canada

Re: SchedulesDirect JSON client

Post by geoffstewart » Sat Mar 21, 2015 3:07 am

Try changing a config value:

Code: Select all

  <AntennaUseUhfVhfChannel>false</AntennaUseUhfVhfChannel>
It's default value is true.... change it to false.

It's in C:\Program Files (x86)\ARGUS TV\Guide Importer\Plugins\JSONService\ArgusTV.GuideImporter.JSONService.dll.config

Restart the guide importer app...

you'll have to delete the channels in ArgusTV first so you don't have leftovers... then do an import and it will create the channels with the major atsc value... but you'll end up with duplicates....

Let me know how it goes

ams123
Posts: 24
Joined: Sat Dec 27, 2014 4:08 pm

Re: SchedulesDirect JSON client

Post by ams123 » Sat Mar 21, 2015 4:49 pm

OK that took a little longer than expected but everything worked.

<AntennaUseUhfVhfChannel>false</AntennaUseUhfVhfChannel>

This changed from the uhfVhr number to a atsc channel.subchannel, like 2.1. Which is different than before but better. Before the logical channel number was only the major channel, like 2.

Additional steps required to get everything working.

Recorder / Channels - fix all the service links
Scheduler / Channels - delete all the old channel&guide channel matches, I think the new ones auto populated
Scheduler / Guide Channels - delete old guide channels
Rename channel logos
Update task scheduler for JSONService and new guide importer location
Fix all scheduled recordings - My recording were tied to a channel number and while that did not show up it was obviously bad data to put in new correct channel numbers

Man I hope I don't have to undo this:)

ams123
Posts: 24
Joined: Sat Dec 27, 2014 4:08 pm

Re: SchedulesDirect JSON client

Post by ams123 » Thu Mar 26, 2015 6:25 pm

Just wanted to post some feedback. Using this for OTA channels in Detroit, MI USA. The EPG is updating nicely and showing series and episode numbers. The series and episode number are also now showing up nicely in the file names without any changes to the format. All my series recording seem to be working after I fixed them.

So all in all good update and no new issues.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests