Florian Asche
f8c7501fa4
Merge branch 'main' into issue_128
2026-02-11 00:34:28 +01:00
Florian Asche
d4edbc8333
Merge branch 'main' into feature/add-docker
2026-02-10 21:20:19 +01:00
Omar Amin
72dfc6db35
Merge branch 'main' into issue_128
2026-02-10 20:39:06 +02:00
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
Philipp Grafe
b2d4ec1413
Fix mpv pause state when loading new media
...
Prevent IDLE state and done callback on track replacement
mpv emits an end-file event when playback is stopped. During track
replacement this caused the media player to transition to IDLE and
notify Home Assistant even though a new track was already playing.
Introduce a suppression flag to distinguish track replacement from
natural playback end and avoid incorrect state transitions.
2026-02-10 14:27:22 +01:00
Omar Amin
c5032a0605
Merge branch 'main' into issue_107
2026-02-09 13:30:27 +02:00
Philipp Grafe
3e893ab44b
Fix mpv pause state when loading new media
...
- added some debug logging
2026-02-09 11:41:40 +01:00
Philipp Grafe
f5b76b8921
TTS does not lower mpv music volume while speaking
...
- Fixes #126
- callback was missing
2026-02-08 18:29:40 +01:00
Florian Asche
761bcea5ac
Merge branch 'main' into feature/add-docker
2026-02-08 17:23:39 +01:00
Florian Asche
c346617c89
Merge branch 'main' into no-name-for-list
2026-02-08 16:54:47 +01:00
Omar Amin
282aa7ecf0
Handle announcement separately from the media player
...
Update the announcement handling to just duck the music player volume instead of pausing it.
2026-02-08 16:11:11 +02:00
Florian Asche
80c05fc3f3
Merge branch 'main' into no-name-for-list
2026-02-08 14:07:40 +01:00
Philipp Grafe
9b52f61a9f
Fix mpv pause state when loading new media
...
- unduck() does not seem to be fired bei VA? Doing unduck() in new playback and resume.
2026-02-08 11:29:45 +01:00
Philipp Grafe
5541303d1d
Fix mpv pause state when loading new media
...
- Cleanup and Docstring
2026-02-08 11:00:40 +01:00
Philipp Grafe
e4c26a323e
Fix mpv pause state when loading new media
...
- Bugfix for volume setting
- Making duck() unduck() stable
2026-02-08 10:59:56 +01:00
Florian Asche
76cd246029
removed disconnected log message in process_packet function
2026-02-08 04:32:37 +01:00
Philipp Grafe
d42abaa2c9
Fix mpv pause state when loading new media
...
Fixes #107
This fixes an issue where loading a new media URL while the player
was paused would keep playback paused, causing Music Assistant to
show the player as playing while no audio was audible.
The mpv pause state is now always set explicitly when starting playback,
ensuring deterministic behavior
2026-02-03 21:34:57 +01:00
Jamin Hitchcock
4b7242a1d3
Fix some format and linting issues
2026-02-02 04:15:17 +00:00
Florian Asche
ebd18dd234
add docker build and compose
2026-02-01 20:20:31 +01:00
Florian Asche
b958678f11
improved error message
2026-02-01 20:19:42 +01:00
Omar Amin
8cc7f175a0
Merge branch 'main' into beta
2026-01-27 22:08:15 +02:00
Omar Amin
5567d67305
Check for empty messages and handle thread-safety
2026-01-27 21:54:20 +02:00
Omar Amin
0330fe4e62
Add media player command
2026-01-27 21:52:48 +02:00
Omar Amin
3ddcac6e48
Update satellite.py
2026-01-27 19:03:38 +02:00
Omar Amin
22ea0fa20b
Fix the mute method
2026-01-27 18:55:36 +02:00
Omar Amin
5186570bce
Fix the switch state
...
Fix the reverting thinking sound switch when toggling
2026-01-27 01:36:37 +02:00
Omar Amin
ed2065423e
Update satellite.py
2026-01-24 21:59:24 +02:00
Omar Amin
e1f5227174
Update satellite.py
...
Initialize the self._pipeline_active to fix issue #87
2026-01-24 21:37:07 +02:00
Omar Amin
fcd1ab9969
Update satellite.py
...
Fix issue #87
2026-01-24 21:02:29 +02:00
Omar Amin
25a15d0366
Update satellite.py
2026-01-24 18:33:08 +02:00
Omar Amin
19ab96efad
Merge branch 'OHF-Voice:main' into Add-mute/unmute-sounds
2026-01-21 15:57:53 +02:00
Omar Amin
689079598c
Update satellite.py
2026-01-21 14:57:27 +02:00
Omar Amin
10713a7e70
Update satellite.py
2026-01-21 14:54:08 +02:00
Omar Amin
8743861738
Update satellite.py
2026-01-21 13:17:06 +02:00
Omar Amin
1352cb3ac3
Add mute/unmute sounds
...
Play the same mute/unmute sounds in the voice pe
2026-01-21 01:51:53 +02:00
Omar Amin
8ca997c7d3
Merge branch 'OHF-Voice:main' into Add-mute/unmute-sounds
2026-01-21 01:45:28 +02:00
Omar Amin
351886ea98
Update satellite.py
2026-01-21 01:33:56 +02:00
Omar Amin
6227cd7669
Update entity.py
2026-01-21 01:28:20 +02:00
Omar Amin
e119ef0330
Fix the media player mute switch
2026-01-21 00:56:11 +02:00
Omar Amin
472fd4239b
Add mute switch functionality
2026-01-21 00:30:03 +02:00
Omar Amin
1b7c8ca639
Add mute switch functionality
2026-01-21 00:04:40 +02:00
Omar Amin
d5f902ae77
Add mute switch functionality
2026-01-20 23:51:20 +02:00
Omar Amin
e58cea8e88
Add mute switch functionality
2026-01-20 23:44:32 +02:00
Omar Amin
9a5b2aa600
Update __main__.py
2025-12-17 16:06:15 +02:00
Omar Amin
016f2005e2
Update models.py
2025-12-17 16:03:39 +02:00
Jamin Hitchcock
291c3cba4b
Don't require name for list commands
...
The name argument is not required when a listing of devices is
requested.
2025-12-09 21:36:32 -06:00
Omar Amin
acdeda866b
Merge branch 'main' into main
2025-11-12 15:44:11 +02:00
Michael Hansen
716fe30c29
Support custom/external wake words
2025-11-11 15:19:15 -06:00
Michael Hansen
cf573500cb
Bump aioesphomeapi
2025-11-11 14:42:29 -06:00
Omar Amin
34e7d8eed2
Update __main__.py
2025-11-07 00:59:17 +02:00