Can now interrupt/relaunch scan + scan force from the web interface. ref #32
This commit is contained in:
@@ -54,7 +54,7 @@ namespace API::Subsonic::Scan
|
||||
Response
|
||||
handleStartScan(RequestContext& context)
|
||||
{
|
||||
ServiceProvider<IMediaScanner>::get()->requestImmediateScan();
|
||||
ServiceProvider<IMediaScanner>::get()->requestImmediateScan(false);
|
||||
|
||||
Response response {Response::createOkResponse(context)};
|
||||
response.addNode("scanStatus", createStatusResponseNode());
|
||||
|
||||
Reference in New Issue
Block a user