public GetMusicVideoCardsHandler(
     IMusicVideoRepository musicVideoRepository,
     IPlexPathReplacementService plexPathReplacementService,
     IJellyfinPathReplacementService jellyfinPathReplacementService,
     IEmbyPathReplacementService embyPathReplacementService)
 {
     _musicVideoRepository           = musicVideoRepository;
     _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;
 }
예제 #3
0
 public MusicVideoFolderScanner(
     ILocalFileSystem localFileSystem,
     ILocalStatisticsProvider localStatisticsProvider,
     ILocalMetadataProvider localMetadataProvider,
     ILocalSubtitlesProvider localSubtitlesProvider,
     IMetadataRepository metadataRepository,
     IImageCache imageCache,
     ISearchIndex searchIndex,
     ISearchRepository searchRepository,
     IArtistRepository artistRepository,
     IMusicVideoRepository musicVideoRepository,
     ILibraryRepository libraryRepository,
     IMediaItemRepository mediaItemRepository,
     IMediator mediator,
     IFFmpegProcessService ffmpegProcessService,
     ITempFilePool tempFilePool,
     IClient client,
     ILogger <MusicVideoFolderScanner> logger) : base(
         localFileSystem,
         localStatisticsProvider,
         metadataRepository,
         mediaItemRepository,
         imageCache,
         ffmpegProcessService,
         tempFilePool,
         client,
         logger)
 {
     _localFileSystem        = localFileSystem;
     _localMetadataProvider  = localMetadataProvider;
     _localSubtitlesProvider = localSubtitlesProvider;
     _searchIndex            = searchIndex;
     _searchRepository       = searchRepository;
     _artistRepository       = artistRepository;
     _musicVideoRepository   = musicVideoRepository;
     _libraryRepository      = libraryRepository;
     _mediator = mediator;
     _client   = client;
     _logger   = logger;
 }