Files
linux-voice-assistant/linux_voice_assistant
Philipp Grafe 72c7d4dff4 media_player: handle STOP command correctly (fixes #128)
Home Assistant sends MEDIA_PLAYER_COMMAND_STOP when the queue is cleared.
The MediaPlayer entity did not handle this command, causing playback to
continue without media metadata and leaving the UI in an inconsistent state.

This change adds explicit handling for the STOP command:
- stop playback via the music player
- reset the media player state to IDLE

This aligns the behavior with the original player and Home Assistant’s
expected media player semantics.
2026-02-10 18:58:55 +01:00
..
2025-08-26 09:30:58 -05:00
2025-08-26 09:30:58 -05:00
2026-01-27 22:08:15 +02:00
2025-10-16 16:41:09 -05:00
2025-09-18 10:52:56 -05:00