[mythtv-users] UK migration to SD
Mike Perkins
mikep at randomtraveller.org.uk
Thu Jun 23 15:12:09 UTC 2016
On 22/06/16 19:23, Robert Kulagowski wrote:
> On Wed, Jun 22, 2016 at 1:07 PM, Mike Perkins
> <mikep at randomtraveller.org.uk> wrote:
>> I can find no way to associate the 5-digit SD xmltvids with the channel
>> names, which is all I have left.
>>
>> I am sure that on the old tv_grab_uk_rt script there was a way to dump out
>> the correspondances but there doesn't appear to be that option in
>> tv_grab_sd_json. Sorry, Robert (E).
>
> The XML grabber should be pulling down the lineup, which contains a
> map of stationIDs and names/callsigns. Check around in your download
> directory for your GBR-000{whatever} file.
>
> The map portion will look like:
>
> "map": [
> {
> "stationID": "24326",
> "channel": "001"
> },
> {
> "stationID": "17154",
> "channel": "002"
> }
> ]
>
> and then the station portion will look like:
>
> "stations": [
> {
> "stationID": "19567",
> "name": "KCBSDT (KCBS-DT)",
> "callsign": "KCBSDT",
> "affiliate": "CBS",
> "broadcastLanguage": [
> "en"
> ],
> "descriptionLanguage": [
> "en"
> ],
> "broadcaster": {
> "city": "Studio City",
> "state": "CA",
> "postalcode": "91604",
> "country": "United States"
> },
> "logo": {
> "URL":
> "https://s3.amazonaws.com/schedulesdirect/assets/stationLogos/s10098_h3_aa.png",
> "height": 270,
> "width": 360,
> "md5": "68713effdd9df195833a56"
> }
> },
> {
> "stationID": "88571",
> "name": "KCBSDT2 (KCBS-DT2)",
> "callsign": "KCBSDT2",
> "affiliate": "CBS",
> "broadcastLanguage": [
> "en"
> ],
> "descriptionLanguage": [
> "en"
> ],
> "broadcaster": {
> "city": "Studio City",
> "state": "CA",
> "postalcode": "91604",
> "country": "United States"
> },
> "logo": {
> "URL":
> "https://s3.amazonaws.com/schedulesdirect/assets/stationLogos/s10098_h3_aa.png",
> "height": 270,
> "width": 360,
> "md5": "68713effdd9df195833a56"
> }
> },
>
> It sounds like the grabber may need a patch to dump it into a more
> readable format.
>
At the end of the --configure run the program dumps out all the available channels (I think). It is
just a long list, one channel per line. It should be "reasonably" easy to insert the xmltvid at the
beginning of each line, that should be sufficient.
--
Mike Perkins
More information about the mythtv-users
mailing list