You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Lyrics. The lyrics of the playing track, with the line being sung
highlighted. The Playback tab shows them with the Now Playing details when
there is room: side by side on a wide terminal, one above the other on a
tall one, else l swaps the two. L opens the lyrics over the whole screen
(l does too when both already show, or on a narrow terminal). , and .
shift the timing by half a second for the track, x removes lyrics that are
wrong, and both are remembered. Lyrics come from LRCLIB;
timed ones follow the music, the rest show as scrollable text, and
instrumentals say so. They are checked against the track (title, artist, and
length within 2.5 s for timed ones) so another recording's don't show. They
are looked up when a track starts, and for the next one near the end of this
one, and cached in ~/.cache/qobit/lyrics. Each lookup sends the track's
artist, title, album and length to LRCLIB: qobit --no-lyrics turns it off
for one run, "Lyrics" in the command palette saves the choice. Logout erases
the cache and qobit clear-cache --lyrics clears it.
Changed
The Playback tab's columns are sized by the room: queue 60% and the right
pane 40% in two columns; queue 40%, now playing 30% and lyrics 30% in three,
the now-playing panel taking more of a wider terminal.
Queue rows show the duration at the right edge. The Recently Played and Up
Next rules give the count and the playing time, and the Up Next numbers are
muted.
The footer hides the keys that don't fit, last first, instead of cutting
one in half.