mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
[Hotfix] The modified priority was not registered
This commit is contained in:
parent
cacfbada7a
commit
0f96fdaa61
@ -196,7 +196,10 @@ void BoblightClientConnection::handleMessage(const QString & message)
|
|||||||
_priority += 1;
|
_priority += 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// warn against invalid priority
|
||||||
Warning(_log, "The priority %i is not in the priority range between 128 and 253. Priority %i is used instead.", prio, _priority);
|
Warning(_log, "The priority %i is not in the priority range between 128 and 253. Priority %i is used instead.", prio, _priority);
|
||||||
|
// register new priority (previously modified)
|
||||||
|
_hyperion->registerInput(_priority, hyperion::COMP_BOBLIGHTSERVER, QString("Boblight@%1").arg(_socket->peerAddress().toString()));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user