🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
fix(transcode): log warning for invalid or stale transcode tokens
Deluan9a2eb483e8e9
diff --git a/server/subsonic/transcode.go b/server/subsonic/transcode.goindex 4e494b324..578ad44fc 100644--- a/server/subsonic/transcode.go+++ b/server/subsonic/transcode.go@@ -370,6 +370,7 @@ func (api *Router) GetTranscodeStream(w http.ResponseWriter, r *http.Request) (*if err != nil {switch {case errors.Is(err, stream.ErrTokenInvalid), errors.Is(err, stream.ErrTokenStale):+ log.Warn(ctx, "Invalid or stale transcode token", "mediaID", mediaID, err)http.Error(w, "Gone", http.StatusGone)default:log.Error(ctx, "Error validating transcode params", err)