ncmpcpp / ncmpcpp

Featureful ncurses based MPD client inspired by ncmpc
GNU General Public License v2.0
2.08k stars 224 forks source link

[Request] support for .lrc lyrics files. #331

Open goteksc opened 5 years ago

goteksc commented 5 years ago

This is one of the only things I'm missing as a former foobar2000 refugee. Lyrics scrolling in sync with the song, possibly coloring the active line in a different color.

Some resources: https://en.wikipedia.org/wiki/LRC_(file_format) http://www.lrcgenerator.com/

Example .lrc file from https://sanctum.geek.nz/cgit/mpdlrc.git/ (which I didn't get to work) Darkthrone - To Walk The Infernal Fields.lrc

[00:34.36]From the abode of demons
[00:38.20]A wing of the pentagram
[00:42.14]Comes the juice that painted
[00:45.80]My heart and my soul
[00:49.90]Swept in black they are
[00:53.80]Swept in black I am
[00:57.63]From this soul comes eyes
[01:01.51]That will look upon your ten
[01:05.39]Beautiful heads
[01:09.40]With delight
[01:12.78]My heart is the one
[01:16.96]That will tend to your flames
[01:20.80]And make them mine
[01:24.55]We share this spirit
[01:26.44]My heart is yours
[01:51.80]I am your disciple
[01:53.16]And therefore my own
[01:55.03]Your weapon I will be
[01:56.68]With the demons that possess me
[01:59.11]We will ride the seven sins of death
[02:04.30]That takes me to Kathaaria
[02:37.80]The sign of your horns
[02:42.25]Is my dearest vision
[02:46.16]They impale all holy
[02:50.36]Holy and weak
[05:38.06]You watch me face the mirror
[05:41.47]And see the desecration
[05:45.23]With my art I am the fist
[05:49.25]In the face of God
[06:59.06]You watch me face the mirror
[07:02.47]And see the desecration
[07:06.23]With my art I am the fist
[07:10.25]In the face of God
leecalvink commented 5 years ago

This would be a killer feature, but isn't creating a perfectly synced lrc file a lot of work? Especially for large music libraries?

goteksc commented 5 years ago

Well there were sites I used to download them from. But yeah, with a great deal of my library I needed to sync them myself. foobar2000 had built-in tools for that, but there is alternative software for that so I don't need it in ncmpcpp necessarily.

beh-10257 commented 1 year ago

4 years later and I want this feature

st0rmw1ndz commented 5 months ago

I'm in the same camp as OP. Coming from foobar2000, this is a feature I'd love to see implemented.

Scrumplex commented 3 months ago

Apart from Spotify's Lyrics API, a great website (and API) for fetching .lrc files is https://lrclib.net/

It's even FOSS, and there is https://github.com/tranxuanthang/lrcget to automate fetching lyrics for your music library.

lrcget also has a lyrics editor, in case you want to write your own .lrc file. It's fairly easy to do and takes a few minutes per song

barraIhsan commented 3 months ago

any updates (or possible plugin/alternative)? I, also coming from foobar2000 and want to switch to a TUI alternative for it