sptlrx(5)
πΈ NAME πΈ
sptlrx β synchronized lyrics, but make it your terminal π like literally your fave songs singing along with you while you live your main character era.
π LOCATION π
okay so bestie, the config file creates itself on the very first launch π no setup arc needed. It lives right here:
~/.config/sptlrx/config.yaml
need the full path spelled out for you? just run sptlrx -h and it'll show you the whole thing π
π§ SPOTIFY π§
β¨ FORMAT β¨
# config.yaml
player: spotify
π NOTES π
so if you wanna use Spotify as your player, you gotta log in first. no skipping this part, bestie π
- Go to
developer.spotify.comβ¨https://developer.spotify.com/dashboardβ©, create a new app, and set the redirect URI tohttp://127.0.0.1:8888/callback. Grab your Client ID and Client Secret. π - Run
sptlrx login. You can pass Client ID and Client Secret in one of three ways:- As environmental variables:
SPOTIFY_CLIENT_IDandSPOTIFY_CLIENT_SECRETπ± - As CLI parameters:
--client-idand--client-secretβ¨οΈ - Interactively: run
sptlrx loginwithout providing credentials and you will be prompted to enter them π¬
- As environmental variables:
- Spotify login page will open. Log in and wait for the success message. β¨
You only need to do this once. Fr fr. Your credentials will then be saved to $XDG_STATE_HOME/sptlrx/spotify-auth.json π«Ά
π΅ MPD π΅
β¨ FORMAT β¨
# config.yaml
player: mpd
mpd:
address: 127.0.0.1:6600
password: ""
π¦ MOPIDY π¦
β¨ FORMAT β¨
# config.yaml
player: mopidy
mopidy:
address: 127.0.0.1:6680
π MPRIS π
β¨ FORMAT β¨
# config.yaml
player: mpris
mpris:
players: []
π NOTES π
A system player that supports the MPRIS protocol will be used, periodt. You can also specify a whitelist of players to use, example: players: [rhythmbox, spotifyd, ncspot]. Run playerctl -l to get the names π
π BROWSER π
β¨ FORMAT β¨
# config.yaml
player: browser
browser:
port: 8974
π NOTES π
You need to install a browser extension β¨https://wnp.keifufu.dev/extension/getting-startedβ© π§
If you don't change the default port, no further configuration is required β iconic. Otherwise, create a custom adapter in the extension settings. You can only run one instance on one port. That's the rule bestie, no cap π
π LOCAL π
β¨ FORMAT β¨
# config.yaml
local:
folder: ""
π NOTES π
If you wanna use your local collection of .lrc files to display lyrics, specify the folder to scan. The application will use files with the most similar name. All other lyrics sources will be disabled π
okay that's the whole page bestie, you ate that π
This was sptlrx from the File Formats Manual, section 5, and the page signs off as sptlrx(5) β go forth and slay your synchronized lyrics, mwah ππΈβ¨
π¦ where this page comes from
- ubuntu stonking: sptlrx 1.3.1-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms