fix(subsonic): the lint findings in artist info and the lyrics handler name
release / go (push) Successful in 2m1s
release / web (push) Successful in 1m20s
release / govulncheck (push) Successful in 19s
release / integration (push) Successful in 4m11s
release / android (push) Successful in 4m23s
release / Build signed APK (push) Successful in 5m11s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 16s
release / Verify release artifacts (tag releases only) (push) Skipped

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-25 17:48:57 -05:00
co-authored by Claude Opus 5.5
parent f87aba5b86
commit 6dfa7b25fb
4 changed files with 17 additions and 16 deletions
+2 -2
View File
@@ -104,7 +104,7 @@ func TestGetLyrics_ReadsTheSongsLrcByIdOrByName(t *testing.T) {
var byID struct {
LyricsList LyricsList `json:"lyricsList"`
}
if code := call(t, f.browse().getLyricsBySongId, f.user, "id="+uuidToID(f.tracks["Dusk"].ID), &byID); code != 0 {
if code := call(t, f.browse().getLyricsBySongID, f.user, "id="+uuidToID(f.tracks["Dusk"].ID), &byID); code != 0 {
t.Fatalf("getLyricsBySongId: error %d", code)
}
if n := len(byID.LyricsList.StructuredLyrics); n != 1 {
@@ -116,7 +116,7 @@ func TestGetLyrics_ReadsTheSongsLrcByIdOrByName(t *testing.T) {
t.Errorf("Dusk's lyrics = %+v, want its two timed lines", got)
}
if code := call(t, f.browse().getLyricsBySongId, f.user, "id="+uuidToID(f.tracks["Harbour"].ID), &byID); code != 0 {
if code := call(t, f.browse().getLyricsBySongID, f.user, "id="+uuidToID(f.tracks["Harbour"].ID), &byID); code != 0 {
t.Fatalf("getLyricsBySongId: error %d", code)
}
if byID.LyricsList.StructuredLyrics == nil || len(byID.LyricsList.StructuredLyrics) != 0 {