Skip to content

naaando/lyrics

Repository files navigation

Lyrics - Sing along with your songs

codecov Build 'n tests

Display lyrics on media players with MPRIS-2 interface

Heavily inspired by Minilyrics

Get it on AppCenter Get the .deb Get flatpak

Screenshot Screenshot

Screenshot Screenshot

Known issue

Lyrics isn't able to syncronize with Spotify App (at least for free accounts) due to null MPRIS position, so the Lyrics will always start from beginnig wherever the track position is.

Roadmap

  • random crashes
  • synchronization issues
  • offset
  • lyrics search
  • background customization

Building and Installation

You'll need the following dependencies:

libglib2.0-dev
libgranite-dev
libgtk-3-dev
libcairo2-dev
libsoup-dev
xmlbird
meson
valac
gettext

Ubuntu 23.10

sudo apt install libglib2.0-dev libgranite-dev libgtk-3-dev libcairo2-dev meson valac libsoup2.4-dev libsoup-gnome2.4-dev libxmlbird-dev gettext

Run meson to configure the build environment and then ninja to build

meson setup build --prefix=/usr/local
ninja -C build

To install, use ninja install

ninja -C build install

And execute

com.github.naaando.lyrics

Unit testing

The unit tests can be run on the build directory with the following command:

meson -Db_coverage=true build

ninja -C build test

Commands above are not working

ninja -C build coverage-text

ninja -C build coverage-html

Coverage

Coverage is currently broken on meson setup A workaround is to run coverage.sh

./coverage.sh