New stations available soon: "+1" and "+24"

New stations available soon: "+1" and "+24"

Postby rkulagow » Mon Jul 11, 2016 10:58 am

There are certain stations which are available overseas which are time-shifted versions of a base station. In some cases our upstream does not have the +1h / +24h available, so Schedules Direct will be generating these on our own.

This is an example of what a +1 station would look like:

Code: Select all
{
    "stationID": "3099098",
    "name": "SD:True Crime+1",
    "callsign": "SD:TRUCRIMP1",
    "broadcastLanguage": [
        "en-GB"
    ],
    "descriptionLanguage": [
        "en-GB"
    ],
    "logo": {
        "URL": "https://s3.amazonaws.com/schedulesdirect/assets/stationLogos/s99098_h3_aa.png",
        "height": 270,
        "width": 360,
        "md5": "36b15eaf30d3161cb2a3fb"
    }
}


to avoid confusion, we must tag our custom stations with a callsign which will not cause problems for our upstream. If the "SD:" portion of the name will be an issue for your users, please strip it before display in your UI.

If our upstream chooses to begin including +1 stations on their own, then the Schedules Direct custom channels will be deleted.

If you are interested in checking your code, please let me know via a ticket at the Schedules Direct website.

I will release updated lineups on 2016-07-16.
rkulagow
SD Staff
 
Posts: 877
Joined: Tue Aug 14, 2007 3:15 pm

Re: New stations available soon: "+1" and "+24"

Postby kyl416 » Mon Jul 11, 2016 1:09 pm

Any chance you can do the callsign without the colon, like maybe a dash instead? The colon is a forbidden character on Windows, and some custom Windows Media Center software like MyChannelLogos uses the callsign for the file name of the logo it stores locally.
kyl416
 
Posts: 12
Joined: Tue Feb 05, 2013 12:59 pm

Re: New stations available soon: "+1" and "+24"

Postby rkulagow » Mon Jul 11, 2016 4:45 pm

Yes, I can use a hyphen rather than a colon since this is still primarily "idea phase" (although the +1 / +24 code has already been written)
rkulagow
SD Staff
 
Posts: 877
Joined: Tue Aug 14, 2007 3:15 pm


Return to Developer

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests

cron