From 7c838a827d6bfbef60274e474d398181a394798d Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 27 Jan 2026 18:45:07 +0100 Subject: pkgs/mpp-lyrics: Account for different name for lyrics key in mp3 files --- pkgs/by-name/mp/mpp-lyrics/mpp-lyrics.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/by-name') diff --git a/pkgs/by-name/mp/mpp-lyrics/mpp-lyrics.sh b/pkgs/by-name/mp/mpp-lyrics/mpp-lyrics.sh index fa1cac49..6c96a9d9 100755 --- a/pkgs/by-name/mp/mpp-lyrics/mpp-lyrics.sh +++ b/pkgs/by-name/mp/mpp-lyrics/mpp-lyrics.sh @@ -16,6 +16,6 @@ die() { } cd "$XDG_MUSIC_DIR/beets" || die "No music dir!" -exiftool "$(mpc --format '%file%' current)" -json | jq '.[0].Lyrics' --raw-output | less +exiftool "$(mpc --format '%file%' current)" -json | jq '.[0] | if has("Lyrics") then .Lyrics elif has("Lyrics-xxx") then ."Lyrics-xxx" else "" end' --raw-output | less # vim: ft=sh -- cgit 1.4.1