🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Return playlists sorted in `getPlaylists` Subsonic endpoint
Deluanb6e30cd01f2c
diff --git a/server/subsonic/playlists.go b/server/subsonic/playlists.goindex 15f4adf28..883b0bc04 100644--- a/server/subsonic/playlists.go+++ b/server/subsonic/playlists.go@@ -22,7 +22,7 @@ func NewPlaylistsController(ds model.DataStore) *PlaylistsController {func (c *PlaylistsController) GetPlaylists(w http.ResponseWriter, r *http.Request) (*responses.Subsonic, error) {ctx := r.Context()- allPls, err := c.ds.Playlist(ctx).GetAll()+ allPls, err := c.ds.Playlist(ctx).GetAll(model.QueryOptions{Sort: "name"})if err != nil {log.Error(r, err)return nil, err