[GH-ISSUE #69] Add support for recorded announcements via app #27

Closed
opened 2026-02-27 19:27:59 +03:00 by kerem · 8 comments
Owner

Originally created by @ds556 on GitHub (Nov 16, 2025).
Original GitHub issue: https://github.com/lox-audioserver/lox-audioserver/issues/69

The Loxone app provides the ability to record an announcement and then play on one or more players.

[2025-11-16 10:58:58.922][info] [LoxoneHttp][appHttp] HTTP request: /audio/cfg/upload/audioupload/add/audio_recording.wav
[2025-11-16 10:58:58.922][debug] [LoxoneHttp][appHttp] Command: audio/cfg/upload/audioupload/add/audio_recording.wav
[2025-11-16 10:58:58.922][debug] [RequestHandler] Received command: audio/cfg/upload/audioupload/add/audio_recording.wav
[2025-11-16 10:58:58.922][warn] [LoxoneApiRouter] Unhandled Loxone command: audio/cfg/upload/audioupload/add/audio_recording.wav
[2025-11-16 10:58:58.922][debug] [RequestHandler] Returning empty reply: [audio/cfg/upload/audioupload/add/audio_recording.wav]
[2025-11-16 10:58:58.927][debug] [LoxoneHttp][appHttp] WS message: audio/grouped/playuploadedfile/audio_recording.wav/18
[2025-11-16 10:58:58.927][debug] [LoxoneHttp][appHttp] Command: audio/grouped/playuploadedfile/audio_recording.wav/18
[2025-11-16 10:58:58.927][debug] [RequestHandler] Received command: audio/grouped/playuploadedfile/audio_recording.wav/18
Originally created by @ds556 on GitHub (Nov 16, 2025). Original GitHub issue: https://github.com/lox-audioserver/lox-audioserver/issues/69 The Loxone app provides the ability to record an announcement and then play on one or more players. ``` [2025-11-16 10:58:58.922][info] [LoxoneHttp][appHttp] HTTP request: /audio/cfg/upload/audioupload/add/audio_recording.wav [2025-11-16 10:58:58.922][debug] [LoxoneHttp][appHttp] Command: audio/cfg/upload/audioupload/add/audio_recording.wav [2025-11-16 10:58:58.922][debug] [RequestHandler] Received command: audio/cfg/upload/audioupload/add/audio_recording.wav [2025-11-16 10:58:58.922][warn] [LoxoneApiRouter] Unhandled Loxone command: audio/cfg/upload/audioupload/add/audio_recording.wav [2025-11-16 10:58:58.922][debug] [RequestHandler] Returning empty reply: [audio/cfg/upload/audioupload/add/audio_recording.wav] [2025-11-16 10:58:58.927][debug] [LoxoneHttp][appHttp] WS message: audio/grouped/playuploadedfile/audio_recording.wav/18 [2025-11-16 10:58:58.927][debug] [LoxoneHttp][appHttp] Command: audio/grouped/playuploadedfile/audio_recording.wav/18 [2025-11-16 10:58:58.927][debug] [RequestHandler] Received command: audio/grouped/playuploadedfile/audio_recording.wav/18 ```
kerem 2026-02-27 19:27:59 +03:00
Author
Owner

@rudyberends commented on GitHub (Nov 16, 2025):

yes, this is implemented in the testing branch

<!-- gh-comment-id:3539454727 --> @rudyberends commented on GitHub (Nov 16, 2025): yes, this is implemented in the testing branch
Author
Owner

@ds556 commented on GitHub (Nov 17, 2025):

Not fully working yet..

[2025-11-17 11:11:56.920][info] [LoxoneHttp][appHttp] HTTP OPTIONS request: /audio/cfg/upload/audioupload/add/audio_recording.wav
[2025-11-17 11:11:56.926][debug] [LoxoneHttp][appHttp] WS message: audio/grouped/playuploadedfile/audio_recording.wav/18
[2025-11-17 11:11:56.926][debug] [LoxoneHttp][appHttp] Command: audio/grouped/playuploadedfile/audio_recording.wav/18
[2025-11-17 11:11:56.926][debug] [RequestHandler] Received command: audio/grouped/playuploadedfile/audio_recording.wav/18
[2025-11-17 11:11:56.926][info] [AlertsManager] ON uploaded alert "audio_recording.wav" zones=[18]
[2025-11-17 11:11:56.926][info] [ZoneRuntime][Room] → volume 10
[2025-11-17 11:11:56.926][debug] [MusicAssistantApi] RPC request players/cmd/volume_set → params={"player_id":"RINCON_B8E937806BED02300","volume_level":10}
[2025-11-17 11:11:56.944][debug] [MusicAssistantCommandMapper][Room] Volume set → 10
[2025-11-17 11:11:56.945][debug] [AlertPlaybackEngine] Zone 18 → alert volume 10
[2025-11-17 11:11:56.945][info] [ZoneRuntime][Room] → announce {"url":"http://192.168.1.11:7090/alerts/cache/audio_recording.wav"}
[2025-11-17 11:11:56.945][info] [ZoneRuntime][Room] ▶ direct url="http://192.168.1.11:7090/alerts/cache/audio_recording.wav", type=announce
[2025-11-17 11:11:56.945][debug] [MusicAssistantContentPlayback][Room] Announcement → http://192.168.1.11:7090/alerts/cache/audio_recording.wav
[2025-11-17 11:11:56.945][debug] [MusicAssistantApi] RPC request players/cmd/play_announcement → params={"player_id":"RINCON_B8E937806BED02300","url":"http://192.168.1.11:7090/alerts/cache/audio_recording.wav"}
[2025-11-17 11:11:57.015][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav
[2025-11-17 11:11:57.018][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav
[2025-11-17 11:11:57.057][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav
[2025-11-17 11:11:57.059][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav
[2025-11-17 11:11:58.021][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav
[2025-11-17 11:11:58.062][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav
[2025-11-17 11:12:01.024][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav
[2025-11-17 11:12:01.064][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav
[2025-11-17 11:12:08.027][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav
[2025-11-17 11:12:08.067][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav
[2025-11-17 11:12:23.030][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav
[2025-11-17 11:12:23.070][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav
[2025-11-17 11:12:23.088][error] [MusicAssistantApi] RPC failed for players/cmd/play_announcement: Error: Unable to retrieve info for http://192.168.1.31:8098/announcement/RINCON_B8E937806BED02300.mp3?pre_announce=None (Invalid data found when processing input)
[2025-11-17 11:12:23.088][info] [MusicAssistantContentPlayback][Room] Played announcement http://192.168.1.11:7090/alerts/cache/audio_recording.wav
[2025-11-17 11:12:23.088][info] [AlertPlaybackEngine] Alert "uploaded" started on zone 18
[2025-11-17 11:12:23.088][info] [ZoneRuntime][Room] → pause ""
[2025-11-17 11:12:23.089][debug] [MusicAssistantApi] RPC request players/cmd/pause → params={"player_id":"RINCON_B8E937806BED02300"}
[2025-11-17 11:12:23.141][debug] [AlertPlaybackEngine] Zone 18 paused (alert stop)
[2025-11-17 11:12:23.141][info] [ZoneRuntime][Room] → volume 20
[2025-11-17 11:12:23.141][debug] [MusicAssistantApi] RPC request players/cmd/volume_set → params={"player_id":"RINCON_B8E937806BED02300","volume_level":20}
[2025-11-17 11:12:23.153][debug] [MusicAssistantCommandMapper][Room] Volume set → 20
[2025-11-17 11:12:23.153][info] [AlertPlaybackEngine] Restored volume 20 on zone 18
[2025-11-17 11:12:25.061][debug] [WebSocketManager] Connection removed. Total: 2
[2025-11-17 11:12:25.061][debug] [LoxoneHttp][appHttp] WS closed (1006: Connection dropped by remote peer.)
[2025-11-17 11:13:37.960][debug] [ServerHeartbeat] Broadcast hw_event (19 total across 1 extensions)

<!-- gh-comment-id:3541261310 --> @ds556 commented on GitHub (Nov 17, 2025): Not fully working yet.. ``` [2025-11-17 11:11:56.920][info] [LoxoneHttp][appHttp] HTTP OPTIONS request: /audio/cfg/upload/audioupload/add/audio_recording.wav [2025-11-17 11:11:56.926][debug] [LoxoneHttp][appHttp] WS message: audio/grouped/playuploadedfile/audio_recording.wav/18 [2025-11-17 11:11:56.926][debug] [LoxoneHttp][appHttp] Command: audio/grouped/playuploadedfile/audio_recording.wav/18 [2025-11-17 11:11:56.926][debug] [RequestHandler] Received command: audio/grouped/playuploadedfile/audio_recording.wav/18 [2025-11-17 11:11:56.926][info] [AlertsManager] ON uploaded alert "audio_recording.wav" zones=[18] [2025-11-17 11:11:56.926][info] [ZoneRuntime][Room] → volume 10 [2025-11-17 11:11:56.926][debug] [MusicAssistantApi] RPC request players/cmd/volume_set → params={"player_id":"RINCON_B8E937806BED02300","volume_level":10} [2025-11-17 11:11:56.944][debug] [MusicAssistantCommandMapper][Room] Volume set → 10 [2025-11-17 11:11:56.945][debug] [AlertPlaybackEngine] Zone 18 → alert volume 10 [2025-11-17 11:11:56.945][info] [ZoneRuntime][Room] → announce {"url":"http://192.168.1.11:7090/alerts/cache/audio_recording.wav"} [2025-11-17 11:11:56.945][info] [ZoneRuntime][Room] ▶ direct url="http://192.168.1.11:7090/alerts/cache/audio_recording.wav", type=announce [2025-11-17 11:11:56.945][debug] [MusicAssistantContentPlayback][Room] Announcement → http://192.168.1.11:7090/alerts/cache/audio_recording.wav [2025-11-17 11:11:56.945][debug] [MusicAssistantApi] RPC request players/cmd/play_announcement → params={"player_id":"RINCON_B8E937806BED02300","url":"http://192.168.1.11:7090/alerts/cache/audio_recording.wav"} [2025-11-17 11:11:57.015][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav [2025-11-17 11:11:57.018][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav [2025-11-17 11:11:57.057][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav [2025-11-17 11:11:57.059][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav [2025-11-17 11:11:58.021][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav [2025-11-17 11:11:58.062][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav [2025-11-17 11:12:01.024][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav [2025-11-17 11:12:01.064][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav [2025-11-17 11:12:08.027][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav [2025-11-17 11:12:08.067][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav [2025-11-17 11:12:23.030][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav [2025-11-17 11:12:23.070][info] [AdminHttp] Static filerequest /app/public/alerts/cache/audio_recording.wav [2025-11-17 11:12:23.088][error] [MusicAssistantApi] RPC failed for players/cmd/play_announcement: Error: Unable to retrieve info for http://192.168.1.31:8098/announcement/RINCON_B8E937806BED02300.mp3?pre_announce=None (Invalid data found when processing input) [2025-11-17 11:12:23.088][info] [MusicAssistantContentPlayback][Room] Played announcement http://192.168.1.11:7090/alerts/cache/audio_recording.wav [2025-11-17 11:12:23.088][info] [AlertPlaybackEngine] Alert "uploaded" started on zone 18 [2025-11-17 11:12:23.088][info] [ZoneRuntime][Room] → pause "" [2025-11-17 11:12:23.089][debug] [MusicAssistantApi] RPC request players/cmd/pause → params={"player_id":"RINCON_B8E937806BED02300"} [2025-11-17 11:12:23.141][debug] [AlertPlaybackEngine] Zone 18 paused (alert stop) [2025-11-17 11:12:23.141][info] [ZoneRuntime][Room] → volume 20 [2025-11-17 11:12:23.141][debug] [MusicAssistantApi] RPC request players/cmd/volume_set → params={"player_id":"RINCON_B8E937806BED02300","volume_level":20} [2025-11-17 11:12:23.153][debug] [MusicAssistantCommandMapper][Room] Volume set → 20 [2025-11-17 11:12:23.153][info] [AlertPlaybackEngine] Restored volume 20 on zone 18 [2025-11-17 11:12:25.061][debug] [WebSocketManager] Connection removed. Total: 2 [2025-11-17 11:12:25.061][debug] [LoxoneHttp][appHttp] WS closed (1006: Connection dropped by remote peer.) [2025-11-17 11:13:37.960][debug] [ServerHeartbeat] Broadcast hw_event (19 total across 1 extensions) ```
Author
Owner

@rudyberends commented on GitHub (Nov 17, 2025):

I don’t think this issue is related to lox-audioserver.
Everything on the Loxone side works exactly as expected.

We request playback of the original wav file. lox-audioserver sends this request to Music Assistant:
RPC request players/cmd/play_announcement → params={"player_id":"RINCON_B8E937806BED02300","url":"http://192.168.1.11:7090/alerts/cache/audio_recording.wav}

But MA responds with:
RPC failed for players/cmd/play_announcement: Error: Unable to retrieve info for http://192.168.1.31:8098/announcement/RINCON_B8E937806BED02300.mp3?pre_announce=None

So it looks like MA is either:
1. Trying to play a pre-announcement file, or
2. Re-encoding the uploaded WAV into an MP3 before sending it to your device.

That re-encoding step fails on your system, and the error originates from the Music Assistant server, not lox-audioserver.

In my setup the WAV is streamed directly and plays fine, so the underlying issue is specific to MA's player provider. Maybe we can fix it on our side, but we need some additional info. Why is it reencoding in the first place? Can you reproduce it directly on MA?

<!-- gh-comment-id:3541484728 --> @rudyberends commented on GitHub (Nov 17, 2025): I don’t think this issue is related to lox-audioserver. Everything on the Loxone side works exactly as expected. We request playback of the original wav file. lox-audioserver sends this request to Music Assistant: `RPC request players/cmd/play_announcement → params={"player_id":"RINCON_B8E937806BED02300","url":"http://192.168.1.11:7090/alerts/cache/audio_recording.wav}` But MA responds with: `RPC failed for players/cmd/play_announcement: Error: Unable to retrieve info for http://192.168.1.31:8098/announcement/RINCON_B8E937806BED02300.mp3?pre_announce=None` So it looks like MA is either: 1. Trying to play a pre-announcement file, or 2. Re-encoding the uploaded WAV into an MP3 before sending it to your device. That re-encoding step fails on your system, and the error originates from the Music Assistant server, not lox-audioserver. In my setup the WAV is streamed directly and plays fine, so the underlying issue is specific to MA's player provider. Maybe we can fix it on our side, but we need some additional info. Why is it reencoding in the first place? Can you reproduce it directly on MA?
Author
Owner

@ds556 commented on GitHub (Nov 17, 2025):

Hmm.. there is nothing being served at "/alerts/cache/audio_recording.wav". Also, looking closer at the logs it seems there is never anything uploaded. I guess at some point we should see this: github.com/rudyberends/lox-audioserver@419607135d/src/http/loxoneHttp/handlers/commands/uploadCommands.ts (L30) ..which doesn't show up in my log. I assume there is a PUT or POST expected after the OPTIONS request which apparently never happens. FYI, I am running 16.1.11.6 .

<!-- gh-comment-id:3541969199 --> @ds556 commented on GitHub (Nov 17, 2025): Hmm.. there is nothing being served at "/alerts/cache/audio_recording.wav". Also, looking closer at the logs it seems there is never anything uploaded. I guess at some point we should see this: https://github.com/rudyberends/lox-audioserver/blob/419607135dd9a4382fb37a0d583e1013ceddc101/src/http/loxoneHttp/handlers/commands/uploadCommands.ts#L30 ..which doesn't show up in my log. I assume there is a PUT or POST expected after the OPTIONS request which apparently never happens. FYI, I am running 16.1.11.6 .
Author
Owner

@rudyberends commented on GitHub (Nov 17, 2025):

yes, like this;


[2025-11-17 14:14:20.829][info] [LoxoneHttp][appHttp] HTTP PUT request: /audio/cfg/upload/audioupload/add/audio_recording.wav
[2025-11-17 14:14:22.519][debug] [LoxoneHttp][appHttp] Command: audio/cfg/upload/audioupload/add/audio_recording.wav
[2025-11-17 14:14:22.519][debug] [RequestHandler] Received command: audio/cfg/upload/audioupload/add/audio_recording.wav
[2025-11-17 14:14:22.526][info] [Upload] Stored uploaded alert → /workspaces/lox-audioserver/public/alerts/cache/audio_recording.wav
[2025-11-17 14:14:22.527][debug] [RequestHandler] Returning empty reply: [audio/cfg/upload/audioupload/add/audio_recording.wav]
[2025-11-17 14:14:22.742][debug] [LoxoneHttp][appHttp] WS message: audio/grouped/playuploadedfile/audio_recording.wav/14
[2025-11-17 14:14:22.742][debug] [LoxoneHttp][appHttp] Command: audio/grouped/playuploadedfile/audio_recording.wav/14
[2025-11-17 14:14:22.742][debug] [RequestHandler] Received command: audio/grouped/playuploadedfile/audio_recording.wav/14
[2025-11-17 14:14:22.743][info] [AlertsManager] ON uploaded alert "audio_recording.wav" zones=[14]
[2025-11-17 14:14:22.744][info] [ZoneRuntime][Woonkamer] → volume 25
[2025-11-17 14:14:22.744][debug] [MusicAssistantApi] RPC request players/cmd/volume_set → params={"player_id":"ap501e2d2c8584","volume_level":25}
[2025-11-17 14:14:22.762][debug] [MusicAssistantCommandMapper][Woonkamer] Volume set → 25
[2025-11-17 14:14:22.762][debug] [AlertPlaybackEngine] Zone 14 → alert volume 25
[2025-11-17 14:14:22.763][info] [ZoneRuntime][Woonkamer] → announce {"url":"http://192.168.1.158:7090/alerts/cache/audio_recording.wav"}
[2025-11-17 14:14:22.763][info] [ZoneRuntime][Woonkamer] ▶ direct url="http://192.168.1.158:7090/alerts/cache/audio_recording.wav", type=announce
[2025-11-17 14:14:22.764][debug] [MusicAssistantContentPlayback][Woonkamer] Announcement → http://192.168.1.158:7090/alerts/cache/audio_recording.wav
[2025-11-17 14:14:22.764][debug] [MusicAssistantApi] RPC request players/cmd/play_announcement → params={"player_id":"ap501e2d2c8584","url":"http://192.168.1.158:7090/alerts/cache/audio_recording.wav"}
[2025-11-17 14:14:23.882][info] [AdminHttp] Static filerequest /workspaces/lox-audioserver/public/alerts/cache/audio_recording.wav
[2025-11-17 14:14:33.897][info] [AdminHttp] Static filerequest /workspaces/lox-audioserver/public/alerts/cache/audio_recording.wav
[2025-11-17 14:14:34.162][info] [AdminHttp] Static filerequest /workspaces/lox-audioserver/public/alerts/cache/audio_recording.wav
[2025-11-17 14:14:40.567][debug] [MusicAssistantApi] RPC request player_queues/items → params={"queue_id":"ap501e2d2c8584","offset":0,"limit":250}
[2025-11-17 14:14:40.576][debug] [MusicAssistantStateMapper][Woonkamer] Queue updated (1 items)
[2025-11-17 14:14:41.166][debug] [MusicAssistantApi] RPC request player_queues/items → params={"queue_id":"ap501e2d2c8584","offset":0,"limit":250}
[2025-11-17 14:14:41.168][info] [MusicAssistantContentPlayback][Woonkamer] Played announcement http://192.168.1.158:7090/alerts/cache/audio_recording.wav
[2025-11-17 14:14:41.168][info] [AlertPlaybackEngine] Alert "uploaded" started on zone 14
[2025-11-17 14:14:41.168][info] [ZoneRuntime][Woonkamer] → pause ""
[2025-11-17 14:14:41.169][debug] [MusicAssistantApi] RPC request players/cmd/pause → params={"player_id":"ap501e2d2c8584"}
[2025-11-17 14:14:41.174][debug] [MusicAssistantStateMapper][Woonkamer] Queue updated (1 items)
[2025-11-17 14:14:41.184][debug] [AlertPlaybackEngine] Zone 14 paused (alert stop)
[2025-11-17 14:14:41.184][info] [ZoneRuntime][Woonkamer] → volume 25
[2025-11-17 14:14:41.185][debug] [MusicAssistantApi] RPC request players/cmd/volume_set → params={"player_id":"ap501e2d2c8584","volume_level":25}
[2025-11-17 14:14:41.203][debug] [MusicAssistantCommandMapper][Woonkamer] Volume set → 25
[2025-11-17 14:14:41.203][info] [AlertPlaybackEngine] Restored volume 25 on zone 14
<!-- gh-comment-id:3542067753 --> @rudyberends commented on GitHub (Nov 17, 2025): yes, like this; ``` [2025-11-17 14:14:20.829][info] [LoxoneHttp][appHttp] HTTP PUT request: /audio/cfg/upload/audioupload/add/audio_recording.wav [2025-11-17 14:14:22.519][debug] [LoxoneHttp][appHttp] Command: audio/cfg/upload/audioupload/add/audio_recording.wav [2025-11-17 14:14:22.519][debug] [RequestHandler] Received command: audio/cfg/upload/audioupload/add/audio_recording.wav [2025-11-17 14:14:22.526][info] [Upload] Stored uploaded alert → /workspaces/lox-audioserver/public/alerts/cache/audio_recording.wav [2025-11-17 14:14:22.527][debug] [RequestHandler] Returning empty reply: [audio/cfg/upload/audioupload/add/audio_recording.wav] [2025-11-17 14:14:22.742][debug] [LoxoneHttp][appHttp] WS message: audio/grouped/playuploadedfile/audio_recording.wav/14 [2025-11-17 14:14:22.742][debug] [LoxoneHttp][appHttp] Command: audio/grouped/playuploadedfile/audio_recording.wav/14 [2025-11-17 14:14:22.742][debug] [RequestHandler] Received command: audio/grouped/playuploadedfile/audio_recording.wav/14 [2025-11-17 14:14:22.743][info] [AlertsManager] ON uploaded alert "audio_recording.wav" zones=[14] [2025-11-17 14:14:22.744][info] [ZoneRuntime][Woonkamer] → volume 25 [2025-11-17 14:14:22.744][debug] [MusicAssistantApi] RPC request players/cmd/volume_set → params={"player_id":"ap501e2d2c8584","volume_level":25} [2025-11-17 14:14:22.762][debug] [MusicAssistantCommandMapper][Woonkamer] Volume set → 25 [2025-11-17 14:14:22.762][debug] [AlertPlaybackEngine] Zone 14 → alert volume 25 [2025-11-17 14:14:22.763][info] [ZoneRuntime][Woonkamer] → announce {"url":"http://192.168.1.158:7090/alerts/cache/audio_recording.wav"} [2025-11-17 14:14:22.763][info] [ZoneRuntime][Woonkamer] ▶ direct url="http://192.168.1.158:7090/alerts/cache/audio_recording.wav", type=announce [2025-11-17 14:14:22.764][debug] [MusicAssistantContentPlayback][Woonkamer] Announcement → http://192.168.1.158:7090/alerts/cache/audio_recording.wav [2025-11-17 14:14:22.764][debug] [MusicAssistantApi] RPC request players/cmd/play_announcement → params={"player_id":"ap501e2d2c8584","url":"http://192.168.1.158:7090/alerts/cache/audio_recording.wav"} [2025-11-17 14:14:23.882][info] [AdminHttp] Static filerequest /workspaces/lox-audioserver/public/alerts/cache/audio_recording.wav [2025-11-17 14:14:33.897][info] [AdminHttp] Static filerequest /workspaces/lox-audioserver/public/alerts/cache/audio_recording.wav [2025-11-17 14:14:34.162][info] [AdminHttp] Static filerequest /workspaces/lox-audioserver/public/alerts/cache/audio_recording.wav [2025-11-17 14:14:40.567][debug] [MusicAssistantApi] RPC request player_queues/items → params={"queue_id":"ap501e2d2c8584","offset":0,"limit":250} [2025-11-17 14:14:40.576][debug] [MusicAssistantStateMapper][Woonkamer] Queue updated (1 items) [2025-11-17 14:14:41.166][debug] [MusicAssistantApi] RPC request player_queues/items → params={"queue_id":"ap501e2d2c8584","offset":0,"limit":250} [2025-11-17 14:14:41.168][info] [MusicAssistantContentPlayback][Woonkamer] Played announcement http://192.168.1.158:7090/alerts/cache/audio_recording.wav [2025-11-17 14:14:41.168][info] [AlertPlaybackEngine] Alert "uploaded" started on zone 14 [2025-11-17 14:14:41.168][info] [ZoneRuntime][Woonkamer] → pause "" [2025-11-17 14:14:41.169][debug] [MusicAssistantApi] RPC request players/cmd/pause → params={"player_id":"ap501e2d2c8584"} [2025-11-17 14:14:41.174][debug] [MusicAssistantStateMapper][Woonkamer] Queue updated (1 items) [2025-11-17 14:14:41.184][debug] [AlertPlaybackEngine] Zone 14 paused (alert stop) [2025-11-17 14:14:41.184][info] [ZoneRuntime][Woonkamer] → volume 25 [2025-11-17 14:14:41.185][debug] [MusicAssistantApi] RPC request players/cmd/volume_set → params={"player_id":"ap501e2d2c8584","volume_level":25} [2025-11-17 14:14:41.203][debug] [MusicAssistantCommandMapper][Woonkamer] Volume set → 25 [2025-11-17 14:14:41.203][info] [AlertPlaybackEngine] Restored volume 25 on zone 14 ```
Author
Owner

@ds556 commented on GitHub (Nov 17, 2025):

Right, do you have the OPTIONS request as well? Maybe it is picky about the OPTIONS response? Which Loxone version are you running?

<!-- gh-comment-id:3542110184 --> @ds556 commented on GitHub (Nov 17, 2025): Right, do you have the OPTIONS request as well? Maybe it is picky about the OPTIONS response? Which Loxone version are you running?
Author
Owner

@rudyberends commented on GitHub (Nov 17, 2025):

hmm, i do have the OPTIONS request and this works for me, but I was not on the latest Loxone version.
Looks like the new one needs a proper cors response.

Please try the latest testing branch again. It should also contain your queue fixes

<!-- gh-comment-id:3542341565 --> @rudyberends commented on GitHub (Nov 17, 2025): hmm, i do have the OPTIONS request and this works for me, but I was not on the latest Loxone version. Looks like the new one needs a proper cors response. Please try the latest testing branch again. It should also contain your queue fixes
Author
Owner

@ds556 commented on GitHub (Nov 17, 2025):

Yep, pesky CORS. Works like a charm now, awesome!

<!-- gh-comment-id:3542412023 --> @ds556 commented on GitHub (Nov 17, 2025): Yep, pesky CORS. Works like a charm now, awesome!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lox-audioserver#27
No description provided.