From 2c1721205cee0b197107fd5f547e0c0271541672 Mon Sep 17 00:00:00 2001 From: DraftKinner <196864209+DraftKinner@users.noreply.github.com> Date: Sun, 24 Aug 2025 19:52:27 -0400 Subject: [PATCH] Extend use of spclient.wg.spotify.com for album, artist, and show metadata requests --- librespot/core.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/librespot/core.py b/librespot/core.py index 03b9d3d..a026994 100644 --- a/librespot/core.py +++ b/librespot/core.py @@ -229,7 +229,7 @@ class ApiClient(Closeable): :param album: AlbumId: """ - response = self.send("GET", + response = self.sendToUrl("GET", "https://spclient.wg.spotify.com", "/metadata/4/album/{}".format(album.hex_id()), None, None) ApiClient.StatusCodeException.check_status(response) @@ -247,7 +247,7 @@ class ApiClient(Closeable): :param artist: ArtistId: """ - response = self.send("GET", + response = self.sendToUrl("GET", "https://spclient.wg.spotify.com", "/metadata/4/artist/{}".format(artist.hex_id()), None, None) ApiClient.StatusCodeException.check_status(response) @@ -264,7 +264,7 @@ class ApiClient(Closeable): :param show: ShowId: """ - response = self.send("GET", + response = self.sendToUrl("GET", "https://spclient.wg.spotify.com", "/metadata/4/show/{}".format(show.hex_id()), None, None) ApiClient.StatusCodeException.check_status(response)