fix(scanner): lyrics tag parsing to properly handle both ID3 and aliased tags

* fix(taglib): parse both id3 and aliased tags, as lyrics appears to be mapped to lyrics-xxx

* address feedback, make confusing test more stable
This commit is contained in:
Kendall Garner
2025-07-09 03:27:40 +00:00
committed by GitHub
parent 65961cce4b
commit 6730716d26
4 changed files with 100 additions and 33 deletions

View File

@@ -108,7 +108,8 @@ main:
bpm:
aliases: [ tbpm, bpm, tmpo, wm/beatsperminute ]
lyrics:
aliases: [ uslt:description, lyrics, ©lyr, wm/lyrics, unsyncedlyrics ]
# Note, @lyr and wm/lyrics have been removed. Taglib somehow appears to always populate `lyrics:xxx`
aliases: [ uslt:description, lyrics, unsyncedlyrics ]
maxLength: 32768
type: pair # ex: lyrics:eng, lyrics:xxx
comment: