A Dashing widget that searches for a Sonos device that is currently playing music, and displays Now Playing information and album artwork.
Utilises soffe's Sonos controller.
Please add the following lines to your gemfile:
require 'rubygems'
require 'sonos'
Place sonos.rb in /jobs.
Edit your dashboard and add these widgets:
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="nowplaying" data-view="Text" data-title="NOW PLAYING" data-text="Artist - Track"></div>
</li>
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="albumart" data-view="Image" data-title="Album Name"></div>
</li>
It does not display the albumart. When I look at the properties of the, broken, image I see that the url looks like: http://ipofthedasboard/assets/hhtp://sonosplayerip/etcetc/.. How do i strip the first part from this url ? (the part after /assets/ points to the correct location).