From 582e759e303ace7c61706aa2d312199a89480ebc Mon Sep 17 00:00:00 2001 From: mockxe <38732499+mockxe@users.noreply.github.com> Date: Sun, 17 May 2026 22:50:33 +0200 Subject: [PATCH] fix: pass uri and device_id as query params in add_to_queue --- src/spotifyaio/spotify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spotifyaio/spotify.py b/src/spotifyaio/spotify.py index 475c308..a5b1f89 100644 --- a/src/spotifyaio/spotify.py +++ b/src/spotifyaio/spotify.py @@ -434,7 +434,7 @@ async def add_to_queue(self, uri: str, device_id: str | None = None) -> None: data: dict[str, str] = {"uri": uri} if device_id: data["device_id"] = device_id - await self._post("v1/me/player/queue", data=data) + await self._post("v1/me/player/queue", params=data) @catch_json_decode_error async def get_playlist(self, playlist_id: str) -> Playlist: