isaacmg00 / spotlyrics

Spotlyrics connects to your Spotify account and delivers real-time, line-by-line lyrics for the current song you're listening to.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spotlyrics

Spotlyrics connects to your Spotify account and delivers real-time, line-by-line lyrics for the current playback song.

Requirements

Installation (manual)

git clone https://github.com/isaacmg00/spotlyrics
pip install -r requirements.txt

IN PROGRESS Installation (pip)

# not currently on PyPI
# pip install spotlyrics

Setup API Credentials for 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

Usage

In the spotlyrics directory, run python spotlyrics.py to start the interactive cli session.

Known issues:

  • 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

TODO:

  • add flag to print lyrics for the song and exit
  • create pip package

About

Spotlyrics connects to your Spotify account and delivers real-time, line-by-line lyrics for the current song you're listening to.


Languages

Language:Python 100.0%