mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Implement "reloadEffects" function in Hyperion for "write and delete" custom created effect configuration files (#293)
* Update EffectEngine.h * add reloadEffects function * add readEffects function * add reloadEffects function * Call reloadEffects after handleCreateEffectCommand and handleDeleteEffectCommand
This commit is contained in:
committed by
redPanther
parent
c05181666c
commit
8f67294de6
@@ -804,6 +804,11 @@ const Hyperion::InputInfo &Hyperion::getPriorityInfo(const int priority) const
|
||||
return _muxer.getInputInfo(priority);
|
||||
}
|
||||
|
||||
void Hyperion::reloadEffects()
|
||||
{
|
||||
_effectEngine->readEffects();
|
||||
}
|
||||
|
||||
const std::list<EffectDefinition> & Hyperion::getEffects() const
|
||||
{
|
||||
return _effectEngine->getEffects();
|
||||
|
Reference in New Issue
Block a user