mirror of
https://github.com/lox-audioserver/lox-audioserver.git
synced 2026-04-25 22:35:53 +03:00
[GH-ISSUE #183] Announce custom track 4.x #111
Labels
No labels
bug
enhancement
pull-request
released
released on @beta
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lox-audioserver#111
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mr-manuel on GitHub (Feb 23, 2026).
Original GitHub issue: https://github.com/lox-audioserver/lox-audioserver/issues/183
Getting now back to test Lox Audio Server for all the features I need, I tested again to play a custom audio file as announcement/overlay (as already tested in https://github.com/lox-audioserver/lox-audioserver/issues/63) wtih Lox Audio Server 4.x, and I still have the same issue:
Trying with
gives the feedback
Playback error: no playback sources resolved.Tried also this commands, but they always did not resume the previous playback.
The function block of the audio player would also have the input
Csfor it. There you can specify the file which should play and at which volume:mycustomaudiofile.mp3:55Tried also with
library:local:track:b64_bGlicmFyeTovL2xvY2FsL0FDSFRVTkctd2FzY2htYXNjaGluZS13YXNzZXItYXVzZ2VsYXVmZW4ubXAz:55but very likely this is not implemented yet?Goal is to play custom short audio files while anything other is playing and then resuming the previous state. Something like the bell and TTS does, only with my custom file. If then it would also be possible to play this with another volume level would be also a nice feature, but not as important as the first one.
@simon2207 would you be able to make a test for me, if the custom sound is played as announcement or just as normal file? The difference is, that an announcement restores the previous state after the sound finished and a normal file not.
@rudyberends commented on GitHub (Feb 23, 2026):
This is by (Loxone’s) design. You’re using the regular play commands, which are intended for starting library playback when selecting tracks from within the Loxone app. They are not designed to temporarily interrupt playback and then resume the previous track afterwards.
We can implement a dedicated/custom command for that use case, but the playevent file mechanism already fits this behavior quite well. I’ll implement support for that in the next version.
If we find we need additional functionality beyond what playevent can provide, we can revisit this and introduce a custom command.
@simon2207 commented on GitHub (Feb 23, 2026):
@mr-manuel yes I will do that - currently I m busy due to some family topics - will get to that task tomorrow
@rudyberends commented on GitHub (Feb 23, 2026):
We can safely assume that playback will resume afterwards. This command is specifically designed for events, not for normal music playback. That implies temporary interruption behavior by design.
That said, the exact behavior is ultimately up to us — we control the implementation.
It’s trivial to implement, and I already have a basic version running. We can extend the existing playeventfile command with an additional parameter to support URL playback.
Original command (event file from local event_sounds folder):
http://192.168.1.209:7091/audio/grouped/playeventfile/27~55/Event_Sounds/diamond_tunes-cinematic-sound-effect-327618.mp3Custom command (event playback from external URL):
http://192.168.1.209:7091/audio/grouped/playeventfile/27~55/custom_url/https://file-examples.com/storage/fee9adcbcc699c8da9bfe47/2017/11/file_example_MP3_5MG.mp3After the alert/event has finished, playback will automatically resume.
This will be included in the next beta.