Page 1 of 1

dynamically generated remote configs

Posted: 30 Mar 2022, 20:03
by rob
with a kiosk_config=https://domain.com/kiosk-config.php?dev ... &sound=0.3
does the kiosk-config.php return a [[ GLOBAL ]] and [[ PCID ]] for device=nuc ? with sound=0.3 applied after [[ PCID ]] ?
how do we know if a var is for kiosk-config.php or [[ PCID ]] ?

what I'm wishing for is a [[ GROUP ]] that works like [[ GLOBAL ]] so I can do

[[ GLOBAL ]]
kiosk_config=https://domain.com/kiosk-config.txt

[[ TV ]]
homepage=https://domain.com/tv

[[ KIOSK ]]
homepage=https://domain.com/kiosk

[[ PCID ]]
[[ PCID ]]
[[ PCID ]]
group=TV

[[ PCID ]]
[[ PCID ]]
group=KIOSK

dynamically generated remote configs

Posted: 31 Mar 2022, 11:17
by fanthom
Rob,

Kiosk 5.4.0 just gives a possibility to pass arguments to remote config URL which could be a PHP script.
Its totally up to you which arguments you provide and how the script reacts to them (which kiosk parameters are returned to the clients).

You need to create the script yourself and code relevant rules in it.

Thanks