Commit Graph
296 Commits
Author SHA1 Message Date
Florian AscheandFlorian Asche 05356acb3e fix bug in network-interface parameter usage
Co-authored-by: Florian Asche <git@florian-asche.de>
v1.1.3
2026-02-14 22:14:53 +01:00
Omar Amin d6dbf83158 Merge pull request #144 from giobber/patch
Update documentation, correcting typo
2026-02-14 17:20:26 +02:00
Elia Giacobazzi 358e02afd5 Add missing code block characters 2026-02-14 01:13:32 +01:00
Elia Giacobazzi ffabc7d9fd Update documentation, correcting typo
- Fix typo where variable LVA_USER_ID was written as USERLVA_
- Remove "sudo ln -sf" from descriptive text
- Add missing sudo command from two code blocks
- Add characters probably missign due to typos
2026-02-13 23:55:52 +01:00
Florian Asche 725c39013a Improve documentation (#141)
* add new parameter overview
* change download link for docker-compose setup to latest version
v1.1.2
2026-02-13 19:58:15 +01:00
Florian Asche 4052daae01 hotfix for mac-detection and various variable names (#139)
* Change Client-Name: The client name inside LVA is not capable of having spaces in the name. Fixed the example.
* Add first version of Docker-Compose for developers
* Add variable for network-interface and auto detection by default
* Added autodetection for the MAC-Address based on the detected or specified network-interface.
* Switched from listening on all IP-Addresses to the IP of the default interface, usually u set the correct network-interface and it will automatically detect the right IP-Address.
* Added missing variables, fixed variables names
* Fixed not working variables for example sound-files.
* Moved the auto-name creation from shell to python. The name is no longer mandatory, it will be generated if no name is given.
2026-02-13 19:50:20 +01:00
Florian Asche f72e5c8d30 Merge pull request #136 from Ziris85/EXTRA_ARGS-as-array
Changes EXTRA_ARGS variable to bash array to better handle  variable expansion
2026-02-12 20:47:42 +01:00
Florian Asche 8f39a281c9 Merge pull request #31 from Hedda/patch-1 (improved documentation)
Update README.md
2026-02-12 18:10:27 +01:00
Michael Hansen 097bd4b32c Merge pull request #138 from omaramin-2000/Add-Open-Home-Foundation-badge-to-README
Add open home foundation badge to readme
2026-02-12 08:38:44 -06:00
Omar Amin 1a5281380b Update badge for Open Home Foundation project 2026-02-12 15:06:25 +02:00
Omar Amin f1460cceab Update badge description in README.md 2026-02-12 15:04:49 +02:00
Omar Amin e1cc9c5b1d Add badge for Open Home Foundation standard 2026-02-12 15:02:45 +02:00
Omar Amin 027c48fd7e Add Open Home Foundation badge to README
Added badge for Open Home Foundation standard.
2026-02-12 15:01:10 +02:00
Omar Amin 6add30f9f8 Fix formatting in README.md 2026-02-12 14:52:46 +02:00
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