core icon indicating copy to clipboard operation
core copied to clipboard

Pre-Delay missing at the zones

Open stiwy18 opened this issue 4 months ago • 4 comments

Hi,

I need to setup a pre-delay until the player is ready to play TTS, but the setting is not visible:

Image

Server v4.0.0-beta.17 Admin UI v5.0.1 Runtime Standalone (git) Config CRC 148f9c17

Thank you Stefan

stiwy18 avatar Jul 27 '26 21:07 stiwy18

Hi Stefan,

The setting is still there, and your zone can do exactly what you want.

  1. It was renamed, so it's hard to recognise

In your screenshot it's the field labelled "Amplifier wake-up delay (ms)", currently 0, under Local timing & action. That is the playback pre-delay. Set it to e.g. 2000 and the server prepends 2 seconds of silence before playback starts, so your speaker or amp is awake before the TTS message begins.

What was removed in beta.16 is a different setting called "On delay". That one only delayed the moment the relay switched the amp on, which doesn't help warm-up at all — it makes it worse — so it's gone.

  1. The setting that decides whether the delay is applied is easy to miss

The wake-up delay is deliberately skipped while the zone still counts as "on", so you don't get 2 seconds of silence in front of every track. How long a zone counts as on after playback stops is controlled by the "Off delay (ms)" field next to it — which currently defaults to 300000 (5 minutes).

This matters if your speakers switch themselves on, for example active speakers or amps with line sensing. Those go into standby on their own schedule, and the server can't see that happen. If your speakers drop to standby after, say, 2 minutes but the server still considers the zone "on" for 5 minutes, the wake-up delay gets skipped exactly when you needed it — which may be why the setting looked like it did nothing.

So: set the wake-up delay to your warm-up time, and set the off delay to roughly how long your speakers stay awake after the last sound.

What we're changing

The naming caused this, so for the next release the fields become "Speaker wake-up delay (ms)" and "Standby timeout (ms)", each with an explanation underneath about how they interact, and the hint about line-sensing speakers is spelled out. The German translation is updated too.

Image

Does this make sense to you?

One more thing worth mentioning: the server is still under heavy development — that's why it's still in beta. Config settings change between releases, and old ones don't always carry over cleanly. If you run into odd behaviour after updating, starting from a fresh config on the new beta is often quicker than trying to work out which old setting is no longer doing what it used to.

rudyberends avatar Jul 28 '26 08:07 rudyberends

Hi, thank you for all the explanations. Fully understood it‘s beta and to be honest it works already brilliant!! I submit the things I do see to help you (hopefully) with the development, the issue I have seen so far are not critical. I don’t have the skills to help fixing the errors ;-) good note about starting from scratch instead of trying to fix the issue.

I tried the wake up delay already, but the values are not saved, it always changes back to 0 after I save the settings. (I already started from scratch without a restore).

Thank you Stefan

stiwy18 avatar Jul 28 '26 13:07 stiwy18

Hi Stefan,

Please don't read my earlier note as "don't bother reporting, because it's beta." The opposite is true — these reports are genuinely valuable, and this one is a good example of why. You just found a real bug.

You were right that the wake-up delay wasn't working, and it wasn't a settings problem: nothing in that panel could be saved at all. The panel has its own Save button, but a stylesheet rule was hiding it, and the Save button you did see at the bottom of the dialog only navigated back without sending anything. So your delay changes never reached the server, and always stayed on 0.

Fixed now, and it'll be in the next beta.

rudyberends avatar Jul 28 '26 15:07 rudyberends

Great, thank you again for you quick response and resolution you have applied to the next version.

PS: Consider creating a donation link ;-)

stiwy18 avatar Jul 28 '26 18:07 stiwy18