move cache path from base controller to subsonic controller

This commit is contained in:
sentriz
2020-03-26 01:26:05 +00:00
parent b63428344a
commit b3a623ffe1
5 changed files with 14 additions and 7 deletions

View File

@@ -136,7 +136,7 @@ func (c *Controller) ServeStream(w http.ResponseWriter, r *http.Request) *spec.R
}
servOpts.pref = pref
servOpts.maxBitrate = params.GetIntOr("maxBitRate", 0)
servOpts.cachePath = c.CachePath
servOpts.cachePath = c.cachePath
serveTrackEncode(w, r, servOpts)
return nil
}