core icon indicating copy to clipboard operation
core copied to clipboard

Crossfade-Speichern fehlgeschlagen {"error":"invalid-system-payload"}

Open p4co86 opened this issue 3 months ago • 1 comments

Hi, setting a crossfade is not possible. I get the following Message for beta 18 und 19: Crossfade-Speichern fehlgeschlagen {"error":"invalid-system-payload"}

p4co86 avatar Aug 17 '26 10:08 p4co86

Thanks for the report — this was a real bug, and it's fixed on dev.

The admin UI posts nothing but { audioserver: { crossfadeSec } } to /config/system, but that handler didn't know the field. The body cleared the "is there an audioserver object" check and then failed every type check in the "at least one known field" guard, so every crossfade save came back as 400 invalid-system-payload. The setting was readable and declared everywhere else — it simply could never be written.

Fixed in 16cb987: the field is now accepted and validated (0–20 s, matching the UI's own input range), and 0 is written rather than skipped, so switching crossfade back off sticks too. An out-of-range value now answers invalid-crossfade-sec instead of blaming the payload shape. Tests cover all three cases.

It will be in the next beta.

rudyberends avatar Aug 29 '26 09:08 rudyberends