mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
fix jsonrpc (1/2)
NO CI no ci [no ci]
This commit is contained in:
parent
bb94a21c83
commit
13cc053d99
@ -562,13 +562,16 @@ void JsonClientConnection::handleServerInfoCommand(const Json::Value &, const st
|
|||||||
const std::list<ActiveEffectDefinition> & activeEffectsDefinitions = _hyperion->getActiveEffects();
|
const std::list<ActiveEffectDefinition> & activeEffectsDefinitions = _hyperion->getActiveEffects();
|
||||||
for (const ActiveEffectDefinition & activeEffectDefinition : activeEffectsDefinitions)
|
for (const ActiveEffectDefinition & activeEffectDefinition : activeEffectsDefinitions)
|
||||||
{
|
{
|
||||||
Json::Value activeEffect;
|
if (activeEffectDefinition.priority != PriorityMuxer::LOWEST_PRIORITY -1)
|
||||||
activeEffect["script"] = activeEffectDefinition.script;
|
{
|
||||||
activeEffect["priority"] = activeEffectDefinition.priority;
|
Json::Value activeEffect;
|
||||||
activeEffect["timeout"] = activeEffectDefinition.timeout;
|
activeEffect["script"] = activeEffectDefinition.script;
|
||||||
activeEffect["args"] = activeEffectDefinition.args;
|
activeEffect["priority"] = activeEffectDefinition.priority;
|
||||||
|
activeEffect["timeout"] = activeEffectDefinition.timeout;
|
||||||
activeEffects.append(activeEffect);
|
activeEffect["args"] = activeEffectDefinition.args;
|
||||||
|
|
||||||
|
activeEffects.append(activeEffect);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////
|
////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user