diff --git a/server/ctrlsubsonic/handlers_raw.go b/server/ctrlsubsonic/handlers_raw.go index 9020ff1..35bde00 100644 --- a/server/ctrlsubsonic/handlers_raw.go +++ b/server/ctrlsubsonic/handlers_raw.go @@ -62,6 +62,10 @@ func (c *Controller) ServeStream(w http.ResponseWriter, r *http.Request) *spec.R } client := params.GetOr("c", "generic") + bitrate, err := params.GetInt("maxBitRate") + if err != nil { + bitrate = 0 + } absPath := path.Join( c.MusicPath,