mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Adding the possibility to test new Effects ... (#282)
* Update effects_configurator.html * Update content_effectsconfigurator.js * Update hyperion.js * Update de.json * Add argument QString "pythonScript" to runEffect function * Update Hyperion.h * Update EffectEngine.cpp * Update Hyperion.cpp * Update JsonClientConnection.cpp * Update schema-effect.json
This commit is contained in:
committed by
brindosch
parent
864538f188
commit
08dfec20c5
@@ -208,4 +208,8 @@ function requestWriteEffect(effectName,effectPy,effectArgs)
|
||||
{
|
||||
var cutArgs = effectArgs.slice(1, -1);
|
||||
websocket.send('{"command":"create-effect","name":"'+effectName+'", "script":"'+effectPy+'", '+cutArgs+'}');
|
||||
}
|
||||
}
|
||||
|
||||
function requestTestEffect(effectName,effectPy,effectArgs) {
|
||||
websocket.send('{"command":"effect", "tan":'+wsTan+',"effect":{"name":"'+effectName+'", "args":'+effectArgs+'},"priority":1, "pythonScript":"'+effectPy+'"}');
|
||||
}
|
||||
|
Reference in New Issue
Block a user