🎶 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.
Permalink
Failed to load latest commit information.
assets/images
jobs
widgets/lastfm
.gitignore
README.md

README.md

Description

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.

##Dependencies

xml-simple

Add it to dashing's gemfile:

gem 'xml-simple'

and run bundle install. Everything should work now :)

##Usage

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>
</li>

##Settings

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.

##Preview

##Notes

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