Add handle_play_action to stop as well
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Wed, 25 Feb 2026 21:43:14 +0000 (22:43 +0100)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Wed, 25 Feb 2026 21:43:14 +0000 (22:43 +0100)
music_assistant/controllers/player_queues.py

index 1bfab8950b24cc0e27116fa6e4cdd016e7fe6461..7c1446f1c2d39c54408448f35aac5950231757c7 100644 (file)
@@ -798,6 +798,7 @@ class PlayerQueuesController(CoreController):
         return playlist
 
     @api_command("player_queues/stop")
+    @handle_play_action
     async def stop(self, queue_id: str) -> None:
         """
         Handle STOP command for given queue.