Program that matches Philips Hue lights to the most dominant colors of Spotify's current song album art.
This project requires Flask. You can install it via the following command:
$ pip install Flask
- Change textFile path in
createLog.applescript
to your preferred location - Generate temporary bearer token from Spotify's API console and add it to headers in
curlRequest.py
- Add Hue Bridge IP address and Bridge username to
script.js
- Run the
scriptRunner.sh
script to generate song ID, receive JSON payload, and start flask server - Open
coverArt.html
Your lights should now match the album art's two most dominant colors. To generate new colors, close the Flask server and start at step 4.
This project is licensed under the MIT License - see the LICENSE.md file for details