21 lines
583 B
C#
21 lines
583 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using ErsatzTV.Core.Domain;
|
|
using LanguageExt;
|
|
|
|
namespace ErsatzTV.Core.Interfaces.Metadata
|
|
{
|
|
public interface IMusicVideoFolderScanner
|
|
{
|
|
Task<Either<BaseError, Unit>> ScanFolder(
|
|
LibraryPath libraryPath,
|
|
string ffprobePath,
|
|
DateTimeOffset lastScan,
|
|
decimal progressMin,
|
|
decimal progressMax,
|
|
Func<List<MediaItem>, ValueTask> addToSearchIndex,
|
|
Func<List<int>, ValueTask> removeFromSearchIndex);
|
|
}
|
|
}
|