mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-07 03:37:42 +02:00
Update API docs
This commit is contained in:
parent
2983145b6c
commit
e1eef690b4
3 changed files with 62 additions and 26 deletions
|
@ -53,7 +53,7 @@ void Server::onPropertiesChanged(const PcmStream* pcmStream, const Properties& p
|
|||
{
|
||||
LOG(DEBUG, LOG_TAG) << "Properties changed, stream: " << pcmStream->getName() << ", properties: " << properties.toJson().dump(3) << "\n";
|
||||
|
||||
// Send propeties to all connected control clients
|
||||
// Send properties to all connected control clients
|
||||
json notification =
|
||||
jsonrpcpp::Notification("Stream.OnProperties", jsonrpcpp::Parameter("id", pcmStream->getId(), "properties", properties.toJson())).to_json();
|
||||
controlServer_->send(notification.dump(), nullptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue