Files
ersatztv/ErsatzTV.Core/Interfaces/Metadata/IScannerProxyService.cs
T
Jason DoveandGitHub 626048f9c3 change how scanner and main process communicate (#2555)
* report scanner progress using api

* process scanner search index updates through api

* update changelog

* update dependencies
2025-10-21 15:08:49 -05:00

11 lines
299 B
C#

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);
}