Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.3 KB

README.md

File metadata and controls

36 lines (23 loc) · 1.3 KB

Spothue logo

Spothue

Program that matches Philips Hue lights to the most dominant colors of Spotify's current song album art.

Getting Started

Prerequisites

This project requires Flask. You can install it via the following command:

$ pip install Flask

Running

  1. Change textFile path in createLog.applescript to your preferred location
  2. Generate temporary bearer token from Spotify's API console and add it to headers in curlRequest.py
  3. Add Hue Bridge IP address and Bridge username to script.js
  4. Run the scriptRunner.sh script to generate song ID, receive JSON payload, and start flask server
  5. 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.

Video Demo

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments