mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
560 B
19 lines
560 B
using System; |
|
using System.Collections.Generic; |
|
using System.Threading.Tasks; |
|
using ErsatzTV.Core.Domain; |
|
using ErsatzTV.Core.Plex; |
|
using LanguageExt; |
|
|
|
namespace ErsatzTV.Core.Interfaces.Plex |
|
{ |
|
public interface IPlexMovieLibraryScanner |
|
{ |
|
Task<Either<BaseError, Unit>> ScanLibrary( |
|
PlexConnection connection, |
|
PlexServerAuthToken token, |
|
PlexLibrary plexMediaSourceLibrary, |
|
Func<List<MediaItem>, ValueTask> addToSearchIndex, |
|
Func<List<int>, ValueTask> removeFromSearchIndex); |
|
} |
|
}
|
|
|