* add ability to deep scan just a single tv show for Plex, Emby, and Jellyfin
Including "/api/libraries/{id:int}/scan-show" REST API endpoint to
trigger.
* restrict plex search results to the intended library
* restrict scanning to media server libraries that are marked to sync with etv
* fix previous commit
* also guard library scan api
* add scan buttons to show ui
* scan single plex show by id
* scan jellyfin and emby single shows by id
* update changelog
---------
Co-authored-by: Jeff Slutter <MrMustard@gmail.com>
Co-authored-by: Jason Dove <1695733+jasongdove@users.noreply.github.com>
24 lines
635 B
C#
24 lines
635 B
C#
using ErsatzTV.Core.Domain;
|
|
using ErsatzTV.Core.Plex;
|
|
|
|
namespace ErsatzTV.Core.Interfaces.Plex;
|
|
|
|
public interface IPlexTelevisionLibraryScanner
|
|
{
|
|
Task<Either<BaseError, Unit>> ScanLibrary(
|
|
PlexConnection connection,
|
|
PlexServerAuthToken token,
|
|
PlexLibrary library,
|
|
bool deepScan,
|
|
CancellationToken cancellationToken);
|
|
|
|
Task<Either<BaseError, Unit>> ScanSingleShow(
|
|
PlexConnection connection,
|
|
PlexServerAuthToken token,
|
|
PlexLibrary library,
|
|
string showKey,
|
|
string showTitle,
|
|
bool deepScan,
|
|
CancellationToken cancellationToken);
|
|
}
|