I have uploaded a set of roon APIs that are called by HTTP protocol which includes Transport, browse, and Image APIs.
You can try it from the link below, at:
I have also created small pages to show how the APIs are called which include:
mini player (with volume where available)
browser (with search and pagination)
timer (for play/pause at a later timer)
Besides these pages, I have also managed to create iOS iPhone and Apple Watch swift apps and widget as well as using iOS’s Workflow app to create a widget.
The dropdown at the top of the page is a list of zones available.
When selecting a zone, it will show you (if any) the current track/album information for that zone.
And for those zones that you can change the volume there is a volume slider.
I really like this extension, thanks for sharing it. I’m going to have a play with it in a native android app. I’d love to see support for web sockets, that could be really cool, since the api can be quite chatty if you want to update the ui in real time.
I have updated the player page to update the information every 2 seconds.
If you’d like to change the update interval, you can go to:
htmls/player.js and update the timeInterval value (it’s in milliseconds)
Hi @Stuart_Simmons I agree with web sockets, we can have realtime UI update and can create a stand alone player
Hi @Tech_Whisky_Lab, now you don’t have to click refresh to update the information.
Great, I will take a look at it later.
Maybe I can use/reuse some of it to create a small app for the LaMetric Time, which also should display only the playing track.+ Artist.
I’ve created a websocket implementation as well.
I just uploaded it to GitHub at:
There are information on the apis I’ve created and used on the Readme file.
Let me know if this is what you were after.
@Tech_Whisky_Lab,
This websocket implementation might be better for you as it updates as soon as Roon api updates the information as opposed to every 2 seconds on the http.
The only downside of this is that it does not support iOS’ workflow.