All Projects → goktug97 → yet-another-spotify-lyrics

goktug97 / yet-another-spotify-lyrics

Licence: MIT license
Command Line Spotify Lyrics with Album Cover

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to yet-another-spotify-lyrics

Spotify-Customizer
Chrome extension to customize Spotify web client (themes, lyrics, ...)
Stars: ✭ 27 (-65.38%)
Mutual labels:  spotify, lyrics, spotify-lyrics
Carol Xamarin
A minimal and beautiful lyrics app for macOS built with Xamarin and C#
Stars: ✭ 97 (+24.36%)
Mutual labels:  spotify, lyrics
Vidify
Play music videos automatically for the songs playing on any device
Stars: ✭ 95 (+21.79%)
Mutual labels:  spotify, lyrics
Spotifylyrics
Fetches and displays lyrics to currently playing song in Spotify, Tidal and VLC.
Stars: ✭ 171 (+119.23%)
Mutual labels:  spotify, lyrics
Lyrics Crawler
Get the lyrics for the song currently playing on Spotify
Stars: ✭ 49 (-37.18%)
Mutual labels:  spotify, lyrics
I3 Polybar Config
My i3 configuration with polybar for HiDPI screen (4k)
Stars: ✭ 84 (+7.69%)
Mutual labels:  spotify, i3wm
Spotify Lyrics
🎉 Desktop Spotify Web Player Instant Synchronised Lyrics
Stars: ✭ 162 (+107.69%)
Mutual labels:  spotify, lyrics
spotify-lyrics-cli
Migrated to Gitlab, this Github repo will not receive updates.
Stars: ✭ 57 (-26.92%)
Mutual labels:  spotify, lyrics
Genius Spicetify
Fetch lyrics from Genius and Musixmatch right in Spotify desktop client
Stars: ✭ 198 (+153.85%)
Mutual labels:  spotify, lyrics
Swaglyrics For Spotify
📃 Get lyrics of currently playing Spotify song so you don't sing along with the wrong ones and embarrass yourself later. Very fast.
Stars: ✭ 235 (+201.28%)
Mutual labels:  spotify, lyrics
Lyricsx
🎶 Ultimate lyrics app for macOS.
Stars: ✭ 3,251 (+4067.95%)
Mutual labels:  spotify, lyrics
Spotify Lyrics
Shows lyrics from the song you're playing in Spotify.
Stars: ✭ 40 (-48.72%)
Mutual labels:  spotify, lyrics
Alltomp3 App
Download and Convert YouTube, SoundCloud & Spotify in MP3 with full tags (title, artist, genre, cover, lyrics 🔥)
Stars: ✭ 920 (+1079.49%)
Mutual labels:  spotify, lyrics
Lirik.app
Shows lyrics for currently playing song in your Spotify account.
Stars: ✭ 93 (+19.23%)
Mutual labels:  spotify, lyrics
Lyricfier
a Spotify Lyrics alternative app | New updates at https://github.com/emilioastarita/lyricfier2 (a faster version in golang)
Stars: ✭ 598 (+666.67%)
Mutual labels:  spotify, lyrics
Alltomp3
Node module to download and convert in MP3 with tags an online video
Stars: ✭ 120 (+53.85%)
Mutual labels:  spotify, lyrics
polybar-now-playing
Script for polybar to display and control media(not only Spotify) using DBus.
Stars: ✭ 34 (-56.41%)
Mutual labels:  spotify, i3wm
SpotiSharp
Cross-platform music assistant
Stars: ✭ 22 (-71.79%)
Mutual labels:  spotify, lyrics
Instant Lyrics
Shows lyrics of the currently playing Spotify song, or any song, instantly.
Stars: ✭ 191 (+144.87%)
Mutual labels:  spotify, lyrics
hax
Zero-config Hacky Hackpecker setup
Stars: ✭ 16 (-79.49%)
Mutual labels:  conky, i3wm

Yet Another Spotify Command Line Lyrics

Lyrics-Screenshot

Requirements

  • Linux
  • Python >= 3.6
  • ueberzug
  • dbus-python
  • requests
  • beautifulsoup4
  • lxml

Install

From PyPI

pip3 install yet-another-spotify-lyrics --user

From Source

git clone https://github.com/goktug97/yet-another-spotify-lyrics
cd yet-another-spotify-lyrics
python setup.py install --user

Usage

Usage Gif

spotify-lyrics

Keybindings

Action Keybinding
Scroll Up k
Scroll Down j
Beginning of Lyrics gg
End of Lyrics G
Edit Lyrics e
Refresh r
Toggle t
Next n
Prev p
Update Lyrics d
Toggle Album Cover i
Help h
Quit Program q
  • Edit Lyrics: Open lyrics in $EDITOR.
  • Refresh: Refresh lyrics and song metadata.
  • Toggle: Play or Pause currently playing song.
  • Next: Play next song.
  • Prev: Play previous song.
  • Update Lyrics: Deletes cached lyrics and fetches lyrics from the internet.
  • Help: Show keybindings 5 seconds.

DBUS

The lyrics can be scrolled via dbus. Scroll the lyrics without changing the focus.

Python Example

import dbus

bus = dbus.SessionBus()
lyrics = bus.get_object('com.spotify_lyrics.line', '/com/spotify_lyrics')
lyrics.move(1) # Scroll Down
lyrics.move(-1) # Scroll Up

Bash Example

#!/usr/bin/env bash
dbus-send --print-reply --dest="com.spotify_lyrics.line"\
    "/com/spotify_lyrics"\
    "com.spotify_lyrics.line.move"\
    int32:$1 > /dev/null

I call this bash script from my i3 config. See below.

Example Use Case (i3wm)

bindsym $mod+Shift+Home exec st -n Lyrics -e spotify-lyrics
for_window [instance="Lyrics"] floating enable; [instance="Lyrics"] move position center
for_window [instance="Lyrics"] resize set 644 388
bindsym $mod+Control+k exec lyrics-move -1
bindsym $mod+Control+j exec lyrics-move 1

Example Use Case (Emacs)

Open the lyrics in a buffer.

(defun spotify-lyrics ()
  (interactive)
  (let ((string (shell-command-to-string "spotify-lyrics-once")))
    (get-buffer-create "lyrics-buffer")
    (switch-to-buffer-other-window "lyrics-buffer")
    (with-current-buffer "lyrics-buffer"
      (goto-char (point-max))
      (erase-buffer)
      (insert string)
      (goto-line 1))))

Example Use Case (Conky)

You can use spotify-lyrics-once to output the lyrics to the stdout and exit. If you have program that utilizes stdin, you can use this version. An example for such program is Conky.

#!/usr/bin/lua
conky.config = {
	alignment = 'tl',
	background = true,
	color2 = '2ECC71',
	cpu_avg_samples = 2,
	default_color = 'FFFFFF',
	double_buffer = true,
	font = 'Bitstream Vera Sans:size=10',
	gap_x = 30,
	gap_y = 50,
	minimum_width = 200,
	no_buffers = true,
	own_window = true,
	own_window_type = 'override',
	own_window_transparent = true,
	own_window_argb_visual = true,
	-- own_window_type = 'desktop',
	update_interval = 3,
	use_xft = true,
}
conky.text = [[
${voffset 8}$color2${font Bitstream Vera Sans:size=16}${time %A}$font\
${voffset -8}$alignr$color${font Bitstream Vera Sans:size=38}${time %e}$font
$color${voffset -30}$color${font Bitstream Vera Sans:size=18}${time %b}$font\
${voffset -3} $color${font Bitstream Vera Sans:size=20}${time %Y}$font$color2$hr
${execi 5 spotify-lyrics-once}
]]

License

yet-another-spotify-lyrics is licensed under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].