As the performance is quite poor due to the entire thing being in Python, I've decided to rebuild it in Rust (yes, I know :P).
Development is underway here.
A not-so-simple script to listen to the currently playing track on your Spotify account and forward it to a WLED (https://github.com/Aircoookie/WLED) LED matrix.
This was created as a fun little side project, please don't mind any less-than-stellar coding standards :)
(maybe I'll get around to refactoring it one day..)
- Displays the album cover of your currently playing track
- Animations!
- While playing, the cover pulses to the track's tempo
- Also pulses slowly when the track is paused
- and a lot more to come..
- Setup an App in your Spotify dashboard (https://developer.spotify.com/dashboard)
- Add your active Spotify account as a user of the App
- Copy the Client ID and Client Secret into the
client_id.conf
andclient_secret.conf
files respectively- alternatively, export them to environment variables
SPOTIFY_CLIENT_ID
andSPOTIFY_CLIENT_SECRET
- alternatively, export them to environment variables
- Add your WLED device's IP address (with
http://
; add port, if applicable) towled.conf
file - Start the script using
main.py
- Upon first run, it will prompt you to log in to Spotify and authorize the app. Follow the instructions.
- Start playing music on the same Spotify account, and hit
localhost:8081/start
to start
- Pixelated Font used in the logo, by Skylar Park
- WLED, by Aircoookie
- Spotipy, by Paul Lamere