On the GUI it is possible to start and stop Kodi.
After pushing the Start button Kodi is started and Squeezelite is stopped, automatically. After stopping Kodi the Squeezelite starts again.
This functionality is absolutely good working with the push button (http://max2play/plugins/max2play_settings/controller/Xbmc.php) on the GUI.
What I’m interested in is a script that calls this functionality (start Kodi/stop Squeezelite vs. stop Kodi/start Squeezelite) in the same proper manner.
Depending on TV is ON or OFF Kodi (TV is ON) or Squeezelite (TV is OFF) should run on my RaspberryPi.
Can you help me?
Thanks in advance
Not sure if I understand completely what you need, but the button’s functionality is applicable with just the URL that is displayed after you have clicked it. So you can copy and paste the URL to start Kodi (http://max2play/plugins/max2play_settings/controller/Xbmc.php?action=start&downloadurl=http%3A%2F%2Fsteinerdatenbank.de%2Fsoftware%2Fkodi-15.tar.gz&addonurl=&addonbox=) and integrate it into any application you want in your local network. You can, for example, add a bookmark on your smartphone or tablet for this link to have it switch with one touch on your device. You can of course, also integrate into a script for your TV.
I hope this solves your problem.
You must be logged in to reply to this topic.
Max2Play free downloadcheck it out