🎶 A LastFM Widget for Dashing
Ruby CoffeeScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



Simple Dashing widget (and associated job) to display the most recently listened to track via LastFM or the song that is currently playing. Uses the LastFM API.



Add it to dashing's gemfile:

gem 'xml-simple'

and run bundle install. Everything should work now :)


To use this widget, copy lastfm.html, lastfm.coffee, and lastfm.scss into the /widgets/lastfm directory. Put the lastfm.rb file in your /jobs folder.

To include the widget in a dashboard, add the following snippet to the dashboard layout file:

<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
  <div data-id="lastfm" data-view="lastfm"></div>


You'll need to add the LastFM username of the account you wish to use for the widget and also a API key for you to be able to accesss the data.



This is currently a work in progress, feel free to build on this or improve it in anyway you want