03-27-2021, 09:40 PM
Dear all
I am enjoying moode a lot - now I want to go a step further and get the system more integrated into my home automation.
I am looking to a neat way to know at any point in time what moode audio is doing, i.e.
However, I cannot figure out how to obtain a similar output when I stream through Airplay or Spotify. While I am aware of the limited information when using the other streaming options. I would love to have at least
I think there is http://moode/audioinfo.php providing some of the information but it is not JSON compatible, so I will need different parsing strategies depending from the service (doable but not preferred )
Any other suggestion or could you point me to some docs?
DISCLAIMER: I am not a web programmer, I am sure that interactions done through http://moode/ could be done with GET/POST requests, but how?
Thanks
Max
I am enjoying moode a lot - now I want to go a step further and get the system more integrated into my home automation.
I am looking to a neat way to know at any point in time what moode audio is doing, i.e.
- idle: MPD/airplay/spotify/etc mode with status "stop"
- play: as above, but with the status "play"
Quote:State: play
Volume: 0
File: http://psn1.prostreaming.net:8095/stream
However, I cannot figure out how to obtain a similar output when I stream through Airplay or Spotify. While I am aware of the limited information when using the other streaming options. I would love to have at least
Quote:State: play (possible?)
Volume: 0
File: http://psn1.prostreaming.net:8095/stream
I think there is http://moode/audioinfo.php providing some of the information but it is not JSON compatible, so I will need different parsing strategies depending from the service (doable but not preferred )
Any other suggestion or could you point me to some docs?
DISCLAIMER: I am not a web programmer, I am sure that interactions done through http://moode/ could be done with GET/POST requests, but how?
Thanks
Max