mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Effects Configurator (#281)
* update translation * add css * Update JsonClientConnection.cpp * add effectscreator * remove udp * fix title c/p issue for sparks [skip ci] * update schemas [skip ci] * typo [skpi ci]
This commit is contained in:
@@ -203,3 +203,9 @@ function requestWriteConfig(config)
|
||||
});
|
||||
websocket.send('{"command":"config","subcommand":"setconfig", "tan":'+wsTan+', "config":'+JSON.stringify(complete_config)+'}');
|
||||
}
|
||||
|
||||
function requestWriteEffect(effectName,effectPy,effectArgs)
|
||||
{
|
||||
var cutArgs = effectArgs.slice(1, -1);
|
||||
websocket.send('{"command":"create-effect","name":"'+effectName+'", "script":"'+effectPy+'", '+cutArgs+'}');
|
||||
}
|
Reference in New Issue
Block a user