feat(subsonic): add support for lyrics (#519)

* Add songLyrics extension since the getLyricsBySongId method is implemented

* Add support for lyrics

* Add check for getLyrics function

* fix typo

* chore: fix tests

* fix(lyrics): if lrc is formatted with empty spaces remove them

* fix(lint): use NewError correctly

bump ts
This commit is contained in:
./daniele
2025-08-26 11:09:00 +01:00
committed by sentriz
parent 5916a7fe7b
commit db97bc753e
11 changed files with 183 additions and 2 deletions

No files matched your search

+1
View File
@@ -468,6 +468,7 @@ func populateTrack(tx *db.DB, album *db.Album, track *db.Track, trags tagcommon.
track.FilenameUDec = decoded(basename)
track.Size = size
track.AlbumID = album.ID
track.TagLyrics = trags.Lyrics()
track.TagTitle = trags.Title()
track.TagTitleUDec = decoded(trags.Title())