Skip to content

Show the lyrics of the current playing song on spotify

Notifications You must be signed in to change notification settings

dev-mbo/spotify-lyrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spotify-lyrics

Shows the lyrics of the current playing song on spotify

Create Spotify API Client ID and Client Secret

Add the following environment variables to a .env file in your project folder:

CLIENT_ID=<your client ID>
CLIENT_SECRET=<your client secret>
SCOPES=user-read-private user-read-email user-read-playback-state
REDIRECT_URI=http://localhost:5000/callback

Generate a Session Key

Create a random secret by using:

python -c 'import os; print(os.urandom(16))'

Add the value to the environment variable FLASK_SECRET_KEY in your .env file.

Run app

First install all the python dependencies and create a virtual environment if you want:

virtualenv venv
source venv/bin/activate
pip3 install -r requirements.txt

Then start the app by typing:

export FLASK_APP=run.py
flask run

About

Show the lyrics of the current playing song on spotify

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published