Spotify Gesture Controller is a project realised during "Programming in functional languages" course. The main goal was create the app, which can:
- play/pause current track
- skip to next/previous track
- add/remove song to saved
- volume up/down music
Remember: to use this app you need to have premium version of Spotify.
- Download repository
git clone https://github.com/kzaleskaa/hand-gesture-recognition.git cd hand-gesture-recognition
- Create a new project at Spotify Dashboard and edit settings - add
http://localhost:9000
in Redirect URLs. - Create your conda environment and install all requirements
$ conda create --name <env> --file <file with requirements>
- Start app
python main.py
- Make authorization (use client id and client secret from your Spotify Dashboard)
- Open your spotify app, start play music and use this app to control it
Based on simple REST principles, the Spotify Web API endpoints return JSON metadata about music artists, albums, and tracks, directly from the Spotify Data Catalogue.
If no action on Spotify is made, please open your app and start play music manually.