/track-change

Spotify app that shows current track on an attached LCD screen

Primary LanguageJavaScript

Track change

A simple Spotify app that displays the current artist and track on an attached LCD screen.

Based on Peter Watts' Spotify Kitchen Sink demo app.

Spotify track-change app

Prepare the Digispark hardware

  1. Solder the Digispark headers to a Digispark
  2. Prepare the LCD shield kit and connect it
  3. use the Digispark Arduino software to load the USB2LCD example on to the Digispark with the LCD screen shield connected

Installation

  1. Ensure Ruby 1.9.3 is installed
  2. Install required ruby gems, sinatra, sinatra-contrib and digiusb, sudo gem install sinatra sinatra-contrib digiusb
  3. mkdir ~/Spotify
  4. cd ~/Spotify
  5. git clone git://github.com/rooreynolds/track-change.git
  6. cd track-change/hardware
  7. Start the Sinatra app (defaults to port 4567), ruby digiusb-sinatra.rb - (Alternatively, if you have a Matrix Orbital LCD display you might prefer this equivalent app.)
  8. Check you can pass text through to the LCD display, http://localhost:4567/lcd?text=Hello

Execution

  1. Sign up for a developer account on Spotify and ensure your account is enabled for the Spotify App API
  2. Open Spotify. Check you can see the new Developer tab
  3. Open the trackchange app by searching for spotify:app:trackchange in the Spotify search bar
  4. Observe that every track change results in the screen being updated