I would like to display the name of the current Radio station playing.
My dashboard already shows the current artist and title playing, Can I display the radio station name as well? (and eventually show ‘local file’ when it’s not a stream, but that’s the next step)
For now I’m curious how to retrieve the playing Kodi stream url is it some JSON call maybe? I hope somebody created something alike already and can help me a bit further.
Thank you for a fast response. Since you wrote you’ve done some other work with the Kodi API in the past maybe you be willing to point me in the right direction what to search for? I haven’t used the Kodi api ever before and only recently started fine-tuning my dashboard.
I honestly don’t have the time to investigate at the moment, for what it is worth here is my other code for reference. If you solve your problem be sure and update the community.
Louis van Gaal would say something like: “That goes above my hat.”
Meaning I have no knowledge and no expertise on the subject, hence my question here in this community.
Fore sure I will keep this thread alive with my findings and will post every update.
So far I’ve found that method: Player.GetItem should give the current track information. Can anybody help me further on how to implement this in some sort of template I guess?