From a3468800c7429c0bd531722345e14ab61abcb27a Mon Sep 17 00:00:00 2001 From: Nick B <35877456+ambeloe@users.noreply.github.com> Date: Sat, 25 Mar 2023 21:41:22 -0400 Subject: [PATCH] update playlist endpoint old playlist endpoint would result in empty mercury response without error --- librespot/mercury/api.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/librespot/mercury/api.go b/librespot/mercury/api.go index 767b5df..cb70920 100644 --- a/librespot/mercury/api.go +++ b/librespot/mercury/api.go @@ -47,7 +47,8 @@ func (m *Client) GetRootPlaylist(username string) (*Spotify.SelectedListContent, } func (m *Client) GetPlaylist(id string) (*Spotify.SelectedListContent, error) { - uri := fmt.Sprintf("hm://playlist/%s", id) +// uri := fmt.Sprintf("hm://playlist/%s", id) // old non-functional endpoint + uri := fmt.Sprintf("hm://playlist/v2/playlist/%s", id) result := &Spotify.SelectedListContent{} err := m.mercuryGetProto(uri, result)