Hi,
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.
I tried:
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!
Noddell