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
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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user