namespace API.Interfaces { public interface ITaskScheduler { /// /// For use on Server startup /// void ScheduleTasks(); void ScanLibrary(int libraryId, bool forceUpdate = false); void CleanupChapters(int[] chapterIds); void RefreshMetadata(int libraryId, bool forceUpdate = true); void CleanupTemp(); void RefreshSeriesMetadata(int libraryId, int seriesId); void ScanSeries(int libraryId, int seriesId, bool forceUpdate = false); void ScheduleStatsTasks(); void CancelStatsTasks(); } }