Kodi Community Forum
How to trigger changing radio programs / stop radio on Android e.g via HTTP requests? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: How to trigger changing radio programs / stop radio on Android e.g via HTTP requests? (/showthread.php?tid=373197)



How to trigger changing radio programs / stop radio on Android e.g via HTTP requests? - A0A0 - 2023-05-18

I'd like to use my Grandstream Android 4.1 intercom phone to change radio stations on a QNAP NAS running Kodi.

Because the screen of my Grandstream is very tiny a full-blown kodi remote Android app is to big to operate in a useful way.

Is there a way to trigger changing radio programs like button 1 - radio station 1, button 2 - ratio station 2 etc. and button 4 - stop radio in a way like HW buttons on a HiFi receiver?

Remark: this could be a tiny Android program, a script or maybe a simply a HTTP weblink call hidden behind an icon?

Thanks for sharing your ideas!


RE: How to trigger changing radio programs / stop radio on Android e.g via HTTP requests? - A0A0 - 2023-05-19

Using the kodi remote url a radio channel summary page incl. play button can be loaded like:

http://<IP>:<port of kodi remote>/#pvr/radio/<station no>

When I click the browser channel play logo the station starts playing.
How can I find out a full URL to play the channel directly?