示例#1
0
 public EmbyMovieLibraryScanner(
     IEmbyApiClient embyApiClient,
     ISearchIndex searchIndex,
     IMediator mediator,
     IMediaSourceRepository mediaSourceRepository,
     IEmbyMovieRepository embyMovieRepository,
     ISearchRepository searchRepository,
     IEmbyPathReplacementService pathReplacementService,
     ILocalFileSystem localFileSystem,
     ILocalStatisticsProvider localStatisticsProvider,
     ILocalSubtitlesProvider localSubtitlesProvider,
     ILogger <EmbyMovieLibraryScanner> logger)
     : base(
         localStatisticsProvider,
         localSubtitlesProvider,
         localFileSystem,
         mediator,
         searchIndex,
         searchRepository,
         logger)
 {
     _embyApiClient          = embyApiClient;
     _mediaSourceRepository  = mediaSourceRepository;
     _embyMovieRepository    = embyMovieRepository;
     _pathReplacementService = pathReplacementService;
 }
示例#2
0
 public EmbyTelevisionLibraryScanner(
     IEmbyApiClient embyApiClient,
     IMediaSourceRepository mediaSourceRepository,
     IEmbyTelevisionRepository televisionRepository,
     ISearchIndex searchIndex,
     ISearchRepository searchRepository,
     IEmbyPathReplacementService pathReplacementService,
     ILocalFileSystem localFileSystem,
     ILocalStatisticsProvider localStatisticsProvider,
     ILocalSubtitlesProvider localSubtitlesProvider,
     IMediator mediator,
     ILogger <EmbyTelevisionLibraryScanner> logger)
 {
     _embyApiClient           = embyApiClient;
     _mediaSourceRepository   = mediaSourceRepository;
     _televisionRepository    = televisionRepository;
     _searchIndex             = searchIndex;
     _searchRepository        = searchRepository;
     _pathReplacementService  = pathReplacementService;
     _localFileSystem         = localFileSystem;
     _localStatisticsProvider = localStatisticsProvider;
     _localSubtitlesProvider  = localSubtitlesProvider;
     _mediator = mediator;
     _logger   = logger;
 }
 public UnavailableHealthCheck(
     IDbContextFactory <TvContext> dbContextFactory,
     IPlexPathReplacementService plexPathReplacementService,
     IJellyfinPathReplacementService jellyfinPathReplacementService,
     IEmbyPathReplacementService embyPathReplacementService)
 {
     _dbContextFactory               = dbContextFactory;
     _plexPathReplacementService     = plexPathReplacementService;
     _jellyfinPathReplacementService = jellyfinPathReplacementService;
     _embyPathReplacementService     = embyPathReplacementService;
 }
 public GetMusicVideoCardsHandler(
     IMusicVideoRepository musicVideoRepository,
     IPlexPathReplacementService plexPathReplacementService,
     IJellyfinPathReplacementService jellyfinPathReplacementService,
     IEmbyPathReplacementService embyPathReplacementService)
 {
     _musicVideoRepository           = musicVideoRepository;
     _plexPathReplacementService     = plexPathReplacementService;
     _jellyfinPathReplacementService = jellyfinPathReplacementService;
     _embyPathReplacementService     = embyPathReplacementService;
 }
 public GetTelevisionEpisodeCardsHandler(
     ITelevisionRepository televisionRepository,
     IMediaSourceRepository mediaSourceRepository,
     IPlexPathReplacementService plexPathReplacementService,
     IJellyfinPathReplacementService jellyfinPathReplacementService,
     IEmbyPathReplacementService embyPathReplacementService)
 {
     _televisionRepository           = televisionRepository;
     _mediaSourceRepository          = mediaSourceRepository;
     _plexPathReplacementService     = plexPathReplacementService;
     _jellyfinPathReplacementService = jellyfinPathReplacementService;
     _embyPathReplacementService     = embyPathReplacementService;
 }
 public QuerySearchIndexMusicVideosHandler(
     ISearchIndex searchIndex,
     IMusicVideoRepository musicVideoRepository,
     IPlexPathReplacementService plexPathReplacementService,
     IJellyfinPathReplacementService jellyfinPathReplacementService,
     IEmbyPathReplacementService embyPathReplacementService)
 {
     _searchIndex                    = searchIndex;
     _musicVideoRepository           = musicVideoRepository;
     _plexPathReplacementService     = plexPathReplacementService;
     _jellyfinPathReplacementService = jellyfinPathReplacementService;
     _embyPathReplacementService     = embyPathReplacementService;
 }
示例#7
0
 public ExtractEmbeddedSubtitlesHandler(
     IDbContextFactory <TvContext> dbContextFactory,
     ILocalFileSystem localFileSystem,
     IPlexPathReplacementService plexPathReplacementService,
     IJellyfinPathReplacementService jellyfinPathReplacementService,
     IEmbyPathReplacementService embyPathReplacementService,
     ILogger <ExtractEmbeddedSubtitlesHandler> logger)
 {
     _dbContextFactory               = dbContextFactory;
     _localFileSystem                = localFileSystem;
     _plexPathReplacementService     = plexPathReplacementService;
     _jellyfinPathReplacementService = jellyfinPathReplacementService;
     _embyPathReplacementService     = embyPathReplacementService;
     _logger = logger;
 }
 public QuerySearchIndexEpisodesHandler(
     ISearchIndex searchIndex,
     ITelevisionRepository televisionRepository,
     IMediaSourceRepository mediaSourceRepository,
     IPlexPathReplacementService plexPathReplacementService,
     IJellyfinPathReplacementService jellyfinPathReplacementService,
     IEmbyPathReplacementService embyPathReplacementService)
 {
     _searchIndex                    = searchIndex;
     _televisionRepository           = televisionRepository;
     _mediaSourceRepository          = mediaSourceRepository;
     _plexPathReplacementService     = plexPathReplacementService;
     _jellyfinPathReplacementService = jellyfinPathReplacementService;
     _embyPathReplacementService     = embyPathReplacementService;
 }
示例#9
0
 public GetMovieByIdHandler(
     IDbContextFactory <TvContext> dbContextFactory,
     IMovieRepository movieRepository,
     IMediaSourceRepository mediaSourceRepository,
     IPlexPathReplacementService plexPathReplacementService,
     IJellyfinPathReplacementService jellyfinPathReplacementService,
     IEmbyPathReplacementService embyPathReplacementService)
 {
     _dbContextFactory               = dbContextFactory;
     _movieRepository                = movieRepository;
     _mediaSourceRepository          = mediaSourceRepository;
     _plexPathReplacementService     = plexPathReplacementService;
     _jellyfinPathReplacementService = jellyfinPathReplacementService;
     _embyPathReplacementService     = embyPathReplacementService;
 }
 public GetPlayoutItemProcessByChannelNumberHandler(
     IDbContextFactory <TvContext> dbContextFactory,
     IFFmpegProcessService ffmpegProcessService,
     ILocalFileSystem localFileSystem,
     IPlexPathReplacementService plexPathReplacementService,
     IJellyfinPathReplacementService jellyfinPathReplacementService,
     IEmbyPathReplacementService embyPathReplacementService,
     IMediaCollectionRepository mediaCollectionRepository,
     ITelevisionRepository televisionRepository,
     IArtistRepository artistRepository,
     ISongVideoGenerator songVideoGenerator)
     : base(dbContextFactory)
 {
     _ffmpegProcessService           = ffmpegProcessService;
     _localFileSystem                = localFileSystem;
     _plexPathReplacementService     = plexPathReplacementService;
     _jellyfinPathReplacementService = jellyfinPathReplacementService;
     _embyPathReplacementService     = embyPathReplacementService;
     _mediaCollectionRepository      = mediaCollectionRepository;
     _televisionRepository           = televisionRepository;
     _artistRepository               = artistRepository;
     _songVideoGenerator             = songVideoGenerator;
 }