media source scan interval (#28)
* scan media sources once every six hours * cleanup * force scan from ui
This commit is contained in:
@@ -82,7 +82,7 @@ namespace ErsatzTV.Services
|
||||
if (_entityLocker.LockMediaSource(mediaSourceId))
|
||||
{
|
||||
await _channel.WriteAsync(
|
||||
new ScanLocalMediaSource(mediaSourceId),
|
||||
new ScanLocalMediaSourceIfNeeded(mediaSourceId),
|
||||
cancellationToken);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user