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.
- Solder the Digispark headers to a Digispark
- Prepare the LCD shield kit and connect it
- use the Digispark Arduino software to load the USB2LCD example on to the Digispark with the LCD screen shield connected
- Ensure Ruby 1.9.3 is installed
- Install required ruby gems, sinatra, sinatra-contrib and digiusb,
sudo gem install sinatra sinatra-contrib digiusb
mkdir ~/Spotify
cd ~/Spotify
git clone git://github.com/rooreynolds/track-change.git
cd track-change/hardware
- 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.) - Check you can pass text through to the LCD display,
http://localhost:4567/lcd?text=Hello
- Sign up for a developer account on Spotify and ensure your account is enabled for the Spotify App API
- Open Spotify. Check you can see the new Developer tab
- Open the trackchange app by searching for
spotify:app:trackchange
in the Spotify search bar - Observe that every track change results in the screen being updated