Skip to content

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

License

Notifications You must be signed in to change notification settings

Johngeorgesample/Spothue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published