IdleFlags: add a "partition" event
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include "Request.hxx"
|
||||
#include "Instance.hxx"
|
||||
#include "Partition.hxx"
|
||||
#include "IdleFlags.hxx"
|
||||
#include "client/Client.hxx"
|
||||
#include "client/Response.hxx"
|
||||
#include "player/Thread.hxx"
|
||||
@@ -102,5 +103,7 @@ handle_newpartition(Client &client, Request request, Response &response)
|
||||
StartPlayerThread(partition.pc);
|
||||
partition.pc.LockUpdateAudio();
|
||||
|
||||
instance.EmitIdle(IDLE_PARTITION);
|
||||
|
||||
return CommandResult::OK;
|
||||
}
|
||||
|
Reference in New Issue
Block a user