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
+4 -4
View File
@@ -224,10 +224,10 @@ func (b *browseHandlers) getLyrics(w http.ResponseWriter, r *http.Request) {
Write(w, r, empty)
}
// getLyricsBySongId is OpenSubsonic's songLyrics extension: a song's lyrics
// by id, timed when its .lrc file or tag is timed. A song without lyrics
// has an empty list.
func (b *browseHandlers) getLyricsBySongId(w http.ResponseWriter, r *http.Request) {
// getLyricsBySongID serves getLyricsBySongId, OpenSubsonic's songLyrics
// extension: a song's lyrics by id, timed when its .lrc file or tag is
// timed. A song without lyrics has an empty list.
func (b *browseHandlers) getLyricsBySongID(w http.ResponseWriter, r *http.Request) {
idStr := r.URL.Query().Get("id")
if idStr == "" {
WriteFail(w, r, ErrMissingParameter, "Missing required parameter: id")