Allows the current config to be exported, as a YAML that can be read by Brave, at /api/config/current.yaml
Also changed default_inputs to inputs in the config file (and equivalent for outputs, mixers, and overlays). This makes things more consistent.
Also changed ‘sources’ mixer property to be an array, which matches what is returned by the API
It’s also possible to assign the ID of an input/output/mixer/overlay (so that the exact setup saved and loaded via config file).
All this made it easy for the ‘Restart’ feature to offer the option of keeping the current config. The web interface now offers:
A few web bug fixes too (loop button does not break non-uri inputs; seek link only appears for uri inputs; more aligned code for submitting creations and updaets)
/api/config/current.yaml
default_inputs
toinputs
in the config file (and equivalent foroutputs
,mixers
, andoverlays
). This makes things more consistent.A few web bug fixes too (loop button does not break non-uri inputs; seek link only appears for uri inputs; more aligned code for submitting creations and updaets)
[x] Test written
[x] Code linted
[x] Docs updated