Spotlyrics connects to your Spotify account and delivers real-time, line-by-line lyrics for the current playback song.
- Spotify account (free or premium)
- Spotify API credentials (get started here)
- A web browser currently logged into your account on the Spotify Web Player
git clone https://github.com/isaacmg00/spotlyrics
pip install -r requirements.txt
# not currently on PyPI
# pip install spotlyrics
Once you have created a developer account, paste the CLIENT_ID
& CLIENT_SECRET
into a newly created .env file.
In the spotlyrics directory:
touch .env
echo CLIENT_ID="\"<YOUR CLIENT_ID>"\" >> .env
echo CLIENT_SECRET="\"<YOUR CLIENT_SECRET>"\" >> .env
In the spotlyrics directory, run python spotlyrics.py
to start the interactive cli session.
- rewinding a playing song will freeze the program
- forwarding a playing song is not smooth
- when playing a song with no lyrics, spotlyrics will crash
- add flag to print lyrics for the song and exit
- create pip package