Current playing song widget for Dashing
Preview

Usage
- Add trackprogress.js to your javascript directory
- Add widget code to a dashboard
- Copy the html, coffee and scss file to a "playingsong" directory
- Update the songtitle
Widget code
<li data-row="1" data-col="1" data-sizex="4" data-sizey="1">
<div data-id="songtitle" data-view="Songtitle"></div>
<i class="icon-music icon-background"></i>
</li>
HTTParty.post(Flower::Config.dashboard_widgets_url + "songtitle", body: {
auth_token: Flower::Config.dashboard_auth_token,
name: current_track.name,
artist: current_track.artist,
start: 0,
length: current_track.pointer.duration.to_i,
image: "data:image/jpg;base64," + Base64.encode64(current_track.album.cover.load.data)
}.to_json)