This is a party music playlist application. It uses facial recognition to give every one at the party a chance to hear their own music. As a user enters their choice of song, the application recognizes them, as well as everyone else who has input music choices, and adds music from each user to the playlist.
This runs on Node.js. On its website you can find instructions on how to install it. You can also follow this gist for a quick and easy way to install Node.js and npm.
Once installed, clone the repository and install its dependencies running:
$ npm install
$ node app.js
Then, open http://localhost:8888 in a browser. Then open Spotify and play the playlist named facethemusic.
The examples contains a working client ID and secret key. Note, however, that they might be rate limited if they are used frequently. If you are planning to create an application, we recommend you register your app and get your own credentials instead of using the ones in this project.
Go to My Applications on Spotify Developer and create your application. For the examples, we registered these Redirect URIs:
- http://localhost:8888 (needed for the implicit grant flow)
- http://localhost:8888/callback
Once you have created your app, replace the client_id, redirect_uri and client_secret in the examples with the ones you get from My Applications.