The detailed Track info is obtained from Radio player URL (
http://np.radioplayer.co.uk/qp/v3/onair?rpIds=340 ). When BBCIplayer
code was written there was only SI and PI .  PI provided current Program
Information.  RP have added the PE_E element recetnly - am still
studying its "behaviour".

Code:
--------------------
    
  {
  "responseStatus": "SUCCESS",
  "total": 3,
  "results": {
  "340": [
  {
  "type": "SI",
  "rpId": "340",
  "serviceName": "BBC Radio 1",
  "name": "",
  "artistName": "",
  "song": false,
  "description": "BBC Radio 1 where the UK\u2019s journey into new music 
begins, from pop to dance, from hip hop to rock and everything in between",
  "imageUrl": 
"https:\/\/ukrpimagecache.s3.amazonaws.com\/image\/340_86x48_2017-03-07-17-00-08-959.png",
  "startTime": "",
  "stopTime": ""
  },
  {
  "type": "PI",
  "rpId": "340",
  "serviceName": "BBC Radio 1",
  "name": "Clara Amfo : 08\/11\/2017",
  "artistName": "",
  "song": false,
  "description": "The home of Radio 1's Live Lounge.",
  "imageUrl": "http:\/\/ichef.bbci.co.uk\/images\/ic\/86x48\/p038jfbk.jpg",
  "startTime": "1510135200",
  "stopTime": "1510145100"
  },
  {
  "type": "PE_E",
  "rpId": "340",
  "serviceName": "BBC Radio 1",
  "name": "Heavy",
  "artistName": "Anne\u2010Marie",
  "song": true,
  "description": "",
  "imageUrl": 
"https:\/\/ukrpimagecache.s3.amazonaws.com\/image\/340_86x48_2017-03-07-17-00-08-959.png",
  "startTime": "1510144380",
  "stopTime": "1510144620"
  }
  ]
  }
  }
--------------------


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=100756

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to