Commit Graph
232 Commits
Author SHA1 Message Date
Omar Amin 75085808a8 Fix formatting in README for clarity 2026-02-12 14:50:34 +02:00
Omar Amin 9e491a9e51 Merge branch 'main' into patch-1 2026-02-12 14:48:09 +02:00
Adam Vest 612bd25650 Changes EXTRA_ARGS variable to bash array to better handle variables
Signed-off-by: Adam Vest <ziris85@live.com>
2026-02-11 22:46:43 -05:00
Florian Asche 4076a48815 Merge pull request #132 from OHF-Voice/feature/improve-github-workflow
changed github workflow naming
v1.1.1
2026-02-11 00:57:24 +01:00
Florian Asche d703197849 changed github workflow naming 2026-02-11 00:56:27 +01:00
Florian Asche 27cb9ada28 Merge pull request #129 from pgrafe/issue_128
media_player: handle STOP command correctly (fixes #128)
2026-02-11 00:34:40 +01:00
Florian Asche f8c7501fa4 Merge branch 'main' into issue_128 2026-02-11 00:34:28 +01:00
Michael Hansen 9fc165711a Merge pull request #118 from OHF-Voice/feature/add-docker
Add docker build pipeline and compose files
v1.1.0
2026-02-10 14:46:03 -06:00
Florian Asche d4edbc8333 Merge branch 'main' into feature/add-docker 2026-02-10 21:20:19 +01:00
Florian Asche db2de23f4f Merge pull request #123 from pgrafe/issue_107
Fix mpv pause state when loading new media
2026-02-10 21:18:14 +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
Florian Asche 5d3d82419e docs: added parameters 2026-02-09 18:09:14 +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 31eeac8f68 Merge pull request #67 from jaminh/no-name-for-list
Don't require name for list commands
2026-02-08 17:21:21 +01:00
Florian Asche c346617c89 Merge branch 'main' into no-name-for-list 2026-02-08 16:54:47 +01:00
Florian Asche 5e4cee8ac5 Merge pull request #125 from omaramin-2000/main
Handle announcement separately from the media player
2026-02-08 16:54:00 +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 a9335bf6c7 fix output for pulseaudio check 2026-02-08 15:04:17 +01:00
Florian Asche 54aaad7a15 rename variables to prevent override by os 2026-02-08 15:01:26 +01:00
Florian Asche 0a79a5d8e6 add client name generation directly in entrypoint 2026-02-08 15:00:48 +01: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 3834e1df0b Merge pull request #124 from florian-asche/feature/fix-disconnect-log-message
removed disconnected log message in process_packet function
2026-02-08 04:33:38 +01:00
Florian Asche 76cd246029 removed disconnected log message in process_packet function 2026-02-08 04:32:37 +01:00
Florian Asche 96882d638d Merge pull request #120 from jaminh/fix-format-lint
Fix some format and linting issues
2026-02-08 04:30:31 +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 e83b17b565 documentation: fixed typo 2026-02-02 02:49:18 +01:00
Florian Asche acc0dc01d0 documentation: fixed typo 2026-02-02 02:48:32 +01:00
Florian Asche c132a2680b documentation: changed filename 2026-02-02 02:47:03 +01:00
Florian Asche 098ab56d4f Added GROUP_ID to the documentation 2026-02-02 02:30:03 +01:00
Florian Asche 526ea35b4b Added GROUP_ID and fixed permission error for configuration and wake data volumes 2026-02-02 02:26:30 +01:00
Florian Asche 3ec38e9283 improve documentation 2026-02-01 21:29:48 +01:00
Florian Asche 8f50fcf137 fix typo in documentation 2026-02-01 21:11:33 +01:00
Florian Asche 3301d29402 build: tags name must be lowercase 2026-02-01 20:43:59 +01:00
Florian Asche fbd501d5fd build: tags name must be lowercase 2026-02-01 20:28:54 +01:00
Florian Asche 9c6a2d1e7a build: tags name must be lowercase 2026-02-01 20:25:50 +01:00
Florian Asche 7655d9e398 improved documentation 2026-02-01 20:20:46 +01: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 7a92d69864 Merge pull request #116 from omaramin-2000/main
Add explanation for how to customize the default wakeup and timer sounds, and enable thinking sound on startup.
2026-01-29 00:30:57 +02:00
Omar Amin 405ab13abc Update README.md 2026-01-28 23:58:56 +02:00
Omar Amin 4e12be4ab6 Add sound customization
Add explanation for how to customize the default wakeup and timer sounds, and enable thinking sound on startup.
2026-01-28 23:57:39 +02:00