SimonIT / spotifylyrics

Fetches and displays lyrics to currently playing song in Spotify, Tidal and VLC.
The Unlicense
342 stars 20 forks source link
displays-lyrics hacktoberfest lyrics lyrics-fetcher spotify spotifylyrics tidal vlc

Spotify Lyrics

Build Current Release License GitHub All Releases

Fetches and displays lyrics to currently playing song in the Spotify desktop client.

The lyrics are fetched from these sites:

How to

You can grab the latest release in the release section.

Windows

Download the .exe file.

Just double click and start playing songs in spotify.

It is possible that a warning of windows smartscreen appears. It's because the exe is unsigned (see #22). You can allow the program to open by clicking on "More info" and "Run anyway".

If you get an error about api-ms-win-crt-runtime-l1-1-0.dll missing, you need this:

https://www.microsoft.com/en-us/download/details.aspx?id=48145

If the window opens and closes immidiatly, feel free to help fxing the problem in #21.

Linux

Download the file without any file ending.

Make it executable via terminal with chmod +x SpotifyLyrics or via you file manager.

Now you can double click the executable and start playing songs in spotify.

MacOS

Download the .app.zip file.

Extract the zip so you got a SpotifyLyrics.app directory.

Make a right click on the SpotifyLyrics.app. Click on open and and you can bypass the warning. The program should open and you can play your songs in spotify.

Running from source

If you want to run from source you need:

Ubuntu/Debian example:

sudo apt install python3-pip git
git clone https://github.com/SimonIT/spotifylyrics.git
cd spotifylyrics/
sudo pip3 install -r requirements.txt
./SpotifyLyrics.pyw

How to load lyrics from hard drive

You can store lyrics on you hard drive which can automatically loaded.

You have to put them on windows in C:\Users\<User>\AppData\Roaming\SpotifyLyrics\lyrics and on the other OS's in /home/<User>/.SpotifyLyrics/lyrics. Replace <User> with your username.

There you can put .lrc files with synced text (You can make them for example on lrcgenerator.com or www.megalobiz.com) or simple .txt files with non-synced text.

Important: The file names must include the artist and the name of the song

Theming

You can customize the design of SpotifyLyrics. To do so create a file called theme.ini inside C:\Users\<User>\AppData\Roaming\SpotifyLyrics or /home/<User>/.SpotifyLyrics. Then put some style information in it. You can find an example here.

Screenshot

example-img