Using the excellent Volumio websocket APIs
Tested with Music Library, Spotify Connect, Webradio, Mixcloud.
- Add files to smashing/widgets/volumio
- Change line 5 of volumio.coffee to the LAN address of your Volumio device
- Also need socket.io v1.7.1 (socket.io.min.js) in your smashing/assets/javascripts folder
- Add this snippet to your dashboard definition
<li data-row="1" data-col="1" data-sizex="2" data-sizey="1">
<div data-id="volumio" data-view="Volumio" data-title="Now Playing"></div>
</li>
TODO:
- Fix rounding bugs
- Play queue?
- Multiroom?