Files
ersatztv/ErsatzTV.Core/Interfaces/Metadata/IScannerProxyService.cs
T

14 lines
387 B
C#

using ErsatzTV.Core.Metadata;
namespace ErsatzTV.Core.Interfaces.Metadata;
public interface IScannerProxyService
{
Option<Guid> StartScan(int libraryId);
void EndScan(Guid scanId);
Task Progress(Guid scanId, decimal percentComplete);
bool IsActive(Guid scanId);
Option<decimal> GetProgress(int libraryId);
IReadOnlyList<LibraryScanProgress> GetActiveScans();
}