From f84bb8ab6f65872f45dcd699085521fb1991880c Mon Sep 17 00:00:00 2001 From: Tom Matheussen <13683094+Tommatheussen@users.noreply.github.com> Date: Mon, 23 Feb 2026 09:28:09 +0100 Subject: [PATCH] Clear internal HEOS queue before playing (#3219) --- music_assistant/providers/heos/player.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/music_assistant/providers/heos/player.py b/music_assistant/providers/heos/player.py index abca4c10..d94bc89b 100644 --- a/music_assistant/providers/heos/player.py +++ b/music_assistant/providers/heos/player.py @@ -264,6 +264,8 @@ class HeosPlayer(Player): async def play_media(self, media: PlayerMedia) -> None: """Handle PLAY MEDIA command on given player.""" + await self._device.clear_queue() + url = await self.provider.mass.streams.resolve_stream_url(self.player_id, media) await self._device.play_url(url) -- 2.34.1