mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-11 16:16:42 +02:00
save config
This commit is contained in:
parent
8a684233a2
commit
9200fec700
4 changed files with 24 additions and 1 deletions
|
@ -152,6 +152,7 @@ void StreamServer::onMessageReceived(ServerSession* connection, const msg::BaseM
|
|||
client->version = helloMsg.getVersion();
|
||||
client->connected = true;
|
||||
gettimeofday(&client->lastSeen, NULL);
|
||||
Config::instance().save();
|
||||
|
||||
json notification = JsonNotification::getJson("Client.OnConnect", client->toJson());
|
||||
controlServer->send(notification.dump(4));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue