Beispiel #1
0
 public FFProbeVideoInfo(
     ILogger logger,
     IMediaSourceManager mediaSourceManager,
     IMediaEncoder mediaEncoder,
     IItemRepository itemRepo,
     IBlurayExaminer blurayExaminer,
     ILocalizationManager localization,
     IEncodingManager encodingManager,
     IServerConfigurationManager config,
     ISubtitleManager subtitleManager,
     IChapterManager chapterManager,
     ILibraryManager libraryManager,
     AudioResolver audioResolver)
 {
     _logger             = logger;
     _mediaEncoder       = mediaEncoder;
     _itemRepo           = itemRepo;
     _blurayExaminer     = blurayExaminer;
     _localization       = localization;
     _encodingManager    = encodingManager;
     _config             = config;
     _subtitleManager    = subtitleManager;
     _chapterManager     = chapterManager;
     _libraryManager     = libraryManager;
     _audioResolver      = audioResolver;
     _mediaSourceManager = mediaSourceManager;
 }
 public FFProbeProvider(
     ILogger <FFProbeProvider> logger,
     IMediaSourceManager mediaSourceManager,
     IMediaEncoder mediaEncoder,
     IItemRepository itemRepo,
     IBlurayExaminer blurayExaminer,
     ILocalizationManager localization,
     IEncodingManager encodingManager,
     IServerConfigurationManager config,
     ISubtitleManager subtitleManager,
     IChapterManager chapterManager,
     ILibraryManager libraryManager,
     NamingOptions namingOptions)
 {
     _logger           = logger;
     _audioResolver    = new AudioResolver(localization, mediaEncoder, namingOptions);
     _subtitleResolver = new SubtitleResolver(localization, mediaEncoder, namingOptions);
     _videoProber      = new FFProbeVideoInfo(
         _logger,
         mediaSourceManager,
         mediaEncoder,
         itemRepo,
         blurayExaminer,
         localization,
         encodingManager,
         config,
         subtitleManager,
         chapterManager,
         libraryManager,
         _audioResolver,
         _subtitleResolver);
     _audioProber = new FFProbeAudioInfo(mediaSourceManager, mediaEncoder, itemRepo, libraryManager);
 }