🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
fix(subsonic): always enable getNowPlaying endpoint regardless of configuration
Deluan603cccde11f9
diff --git a/server/subsonic/api.go b/server/subsonic/api.goindex f0e73c3d2..6c46c8251 100644--- a/server/subsonic/api.go+++ b/server/subsonic/api.go@@ -118,11 +118,7 @@ func (api *Router) routes() http.Handler {hr(r, "getAlbumList2", api.GetAlbumList2)h(r, "getStarred", api.GetStarred)h(r, "getStarred2", api.GetStarred2)- if conf.Server.EnableNowPlaying {- h(r, "getNowPlaying", api.GetNowPlaying)- } else {- h501(r, "getNowPlaying")- }+ h(r, "getNowPlaying", api.GetNowPlaying)h(r, "getRandomSongs", api.GetRandomSongs)h(r, "getSongsByGenre", api.GetSongsByGenre)})