i want to read out all top radio stations via JSON (1), show them in an own GUI List (Windows App) and start/play selected station via JSON (2).
(1) This step works fine. I read alle station info by command Files.GetDirectory with "plugin://plugin.audio.radio_de/stations/top/" --> recieve station list with path info: "plugin.audio.radio_de/station/1382 for example.
(2) But i don't get it how to playselected station.
Player.Open with "plugin.audio.radio_de/station/1382" -> no success
Addons.ExecuteAddon with "plugin.audio.radio_de/station/1382" -> no success
i found an built-in function in kodi PlayMedia... but i have no clue how to trigger this via JSON...
Some help would be great!!
Thx a lot!
Start Radio Station xy via JSON
Joined: Apr 2017
2017-04-09 10:26 Start Radio Station xy via JSON Post: #1