Add initial support for OpenSubsonic. (#2302)
This commit is contained in:
@@ -16,7 +16,13 @@ import (
|
||||
)
|
||||
|
||||
func newResponse() *responses.Subsonic {
|
||||
return &responses.Subsonic{Status: "ok", Version: Version, Type: consts.AppName, ServerVersion: consts.Version}
|
||||
return &responses.Subsonic{
|
||||
Status: "ok",
|
||||
Version: Version,
|
||||
Type: consts.AppName,
|
||||
ServerVersion: consts.Version,
|
||||
OpenSubsonic: true,
|
||||
}
|
||||
}
|
||||
|
||||
func requiredParamString(r *http.Request, param string) (string, error) {
|
||||
|
||||
Reference in New Issue
Block a user