Esempio n. 1
0
 public PlexMovieLibraryScanner(
     IPlexServerApiClient plexServerApiClient,
     IMovieRepository movieRepository,
     IMetadataRepository metadataRepository,
     ISearchIndex searchIndex,
     ISearchRepository searchRepository,
     IMediator mediator,
     IMediaSourceRepository mediaSourceRepository,
     IPlexMovieRepository plexMovieRepository,
     IPlexPathReplacementService plexPathReplacementService,
     ILocalFileSystem localFileSystem,
     ILocalStatisticsProvider localStatisticsProvider,
     ILocalSubtitlesProvider localSubtitlesProvider,
     ILogger <PlexMovieLibraryScanner> logger)
     : base(
         localStatisticsProvider,
         localSubtitlesProvider,
         localFileSystem,
         mediator,
         searchIndex,
         searchRepository,
         logger)
 {
     _plexServerApiClient        = plexServerApiClient;
     _movieRepository            = movieRepository;
     _metadataRepository         = metadataRepository;
     _mediaSourceRepository      = mediaSourceRepository;
     _plexMovieRepository        = plexMovieRepository;
     _plexPathReplacementService = plexPathReplacementService;
     _logger = logger;
 }
Esempio n. 2
0
 public PlexTelevisionLibraryScanner(
     IPlexServerApiClient plexServerApiClient,
     ITelevisionRepository televisionRepository,
     IMetadataRepository metadataRepository,
     ISearchIndex searchIndex,
     ISearchRepository searchRepository,
     IMediator mediator,
     IMediaSourceRepository mediaSourceRepository,
     IPlexPathReplacementService plexPathReplacementService,
     IPlexTelevisionRepository plexTelevisionRepository,
     ILocalFileSystem localFileSystem,
     ILocalStatisticsProvider localStatisticsProvider,
     ILocalSubtitlesProvider localSubtitlesProvider,
     ILogger <PlexTelevisionLibraryScanner> logger)
     : base(metadataRepository, logger)
 {
     _plexServerApiClient        = plexServerApiClient;
     _televisionRepository       = televisionRepository;
     _metadataRepository         = metadataRepository;
     _searchIndex                = searchIndex;
     _searchRepository           = searchRepository;
     _mediator                   = mediator;
     _mediaSourceRepository      = mediaSourceRepository;
     _plexPathReplacementService = plexPathReplacementService;
     _plexTelevisionRepository   = plexTelevisionRepository;
     _localFileSystem            = localFileSystem;
     _localStatisticsProvider    = localStatisticsProvider;
     _localSubtitlesProvider     = localSubtitlesProvider;
     _logger = logger;
 }
Esempio n. 3
0
 public SynchronizePlexLibrariesHandler(
     IMediaSourceRepository mediaSourceRepository,
     IPlexSecretStore plexSecretStore,
     IPlexServerApiClient plexServerApiClient,
     ILogger <SynchronizePlexLibrariesHandler> logger)
 {
     _mediaSourceRepository = mediaSourceRepository;
     _plexSecretStore       = plexSecretStore;
     _plexServerApiClient   = plexServerApiClient;
     _logger = logger;
 }
Esempio n. 4
0
 public PlexTelevisionLibraryScanner(
     IPlexServerApiClient plexServerApiClient,
     ITelevisionRepository televisionRepository,
     IMetadataRepository metadataRepository,
     ISearchIndex searchIndex,
     ILogger <PlexTelevisionLibraryScanner> logger)
     : base(metadataRepository)
 {
     _plexServerApiClient  = plexServerApiClient;
     _televisionRepository = televisionRepository;
     _metadataRepository   = metadataRepository;
     _searchIndex          = searchIndex;
     _logger = logger;
 }
Esempio n. 5
0
 public PlexMovieLibraryScanner(
     IPlexServerApiClient plexServerApiClient,
     IMovieRepository movieRepository,
     IMetadataRepository metadataRepository,
     ISearchIndex searchIndex,
     ILogger <PlexMovieLibraryScanner> logger)
     : base(metadataRepository)
 {
     _plexServerApiClient = plexServerApiClient;
     _movieRepository     = movieRepository;
     _metadataRepository  = metadataRepository;
     _searchIndex         = searchIndex;
     _logger = logger;
 }
 public SynchronizePlexMediaSourcesHandler(
     IMediaSourceRepository mediaSourceRepository,
     IPlexTvApiClient plexTvApiClient,
     IPlexServerApiClient plexServerApiClient,
     IPlexSecretStore plexSecretStore,
     ChannelWriter <IPlexBackgroundServiceRequest> channel,
     IEntityLocker entityLocker,
     ILogger <SynchronizePlexMediaSourcesHandler> logger)
 {
     _mediaSourceRepository = mediaSourceRepository;
     _plexTvApiClient       = plexTvApiClient;
     _plexServerApiClient   = plexServerApiClient;
     _plexSecretStore       = plexSecretStore;
     _channel      = channel;
     _entityLocker = entityLocker;
     _logger       = logger;
 }