🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Make Jukebox available to Subsonic clients
Deluan2cd43581722c
diff --git a/server/subsonic/users.go b/server/subsonic/users.goindex 8018fd439..01f012474 100644--- a/server/subsonic/users.go+++ b/server/subsonic/users.go@@ -23,6 +23,7 @@ func (api *Router) GetUser(r *http.Request) (*responses.Subsonic, error) {response.User.ScrobblingEnabled = trueresponse.User.DownloadRole = conf.Server.EnableDownloadsresponse.User.ShareRole = conf.Server.EnableSharing+ response.User.JukeboxRole = conf.Server.Jukebox.Enabledreturn response, nil}@@ -39,6 +40,7 @@ func (api *Router) GetUsers(r *http.Request) (*responses.Subsonic, error) {user.ScrobblingEnabled = trueuser.DownloadRole = conf.Server.EnableDownloadsuser.ShareRole = conf.Server.EnableSharing+ user.JukeboxRole = conf.Server.Jukebox.Enabledresponse := newResponse()response.Users = &responses.Users{User: []responses.User{user}}return response, nil