move cache path from base controller to subsonic controller
This commit is contained in:
@@ -24,11 +24,13 @@ const (
|
||||
|
||||
type Controller struct {
|
||||
*ctrlbase.Controller
|
||||
cachePath string
|
||||
}
|
||||
|
||||
func New(base *ctrlbase.Controller) *Controller {
|
||||
func New(base *ctrlbase.Controller, cachePath string) *Controller {
|
||||
return &Controller{
|
||||
Controller: base,
|
||||
cachePath: cachePath,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user