Squeezebox Now Playing is a a Dashing widget which displays now playing information from a Logitech Squeezebox player.
-
Install this fork of the widget using
dashing install 7ffbfdeb7345d72554287f83eba4495c
-
or do it manually:
- Copy
squeezebox.rb
to the/jobs
directory. - Create a folder called
squeezebox
under/widgets
. - Copy
squeezebox.coffee
,squeezebox.html
andsqueezebox.scss
into/widgets/squeezebox
.
- Copy
-
-
Add the following code snippet to your dashboard
.erb
file:<li data-row="1" data-col="1" data-sizex="1" data-sizey="1"> <div data-id="now-playing" data-view="Squeezebox" data-title="Squeezebox"></div> </li>
Add LMS_URL
and SB_PLAYER_ID
to your environment variables
-
LMS_URL
: URL to your Squeebox Server (also known as Logitech Media Server). f.e.:http://myhomeserver:9000
-
SB_PLAYER_ID
: ID of the player, can be the IP address or the MAC address. This information can be found on the webinterface under "Settings". -
Example:
export LMS_URL='http://myhomeserver:9000' export SB_PLAYER_ID='a1:b2:c3:d4:e5:f6'