当前位置: 首页>>代码示例>>C#>>正文


C# IMediaSourceManager类代码示例

本文整理汇总了C#中IMediaSourceManager的典型用法代码示例。如果您正苦于以下问题:C# IMediaSourceManager类的具体用法?C# IMediaSourceManager怎么用?C# IMediaSourceManager使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


IMediaSourceManager类属于命名空间,在下文中一共展示了IMediaSourceManager类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: EncodingJobFactory

 public EncodingJobFactory(ILogger logger, ILibraryManager libraryManager, IMediaSourceManager mediaSourceManager, IConfigurationManager config)
 {
     _logger = logger;
     _libraryManager = libraryManager;
     _mediaSourceManager = mediaSourceManager;
     _config = config;
 }
开发者ID:RavenB,项目名称:Emby,代码行数:7,代码来源:EncodingJobFactory.cs

示例2: DlnaEntryPoint

 public DlnaEntryPoint(IServerConfigurationManager config, 
     ILogManager logManager, 
     IServerApplicationHost appHost, 
     INetworkManager network, 
     ISessionManager sessionManager, 
     IHttpClient httpClient, 
     ILibraryManager libraryManager, 
     IUserManager userManager, 
     IDlnaManager dlnaManager, 
     IImageProcessor imageProcessor, 
     IUserDataManager userDataManager, 
     ILocalizationManager localization, 
     IMediaSourceManager mediaSourceManager, 
     ISsdpHandler ssdpHandler)
 {
     _config = config;
     _appHost = appHost;
     _network = network;
     _sessionManager = sessionManager;
     _httpClient = httpClient;
     _libraryManager = libraryManager;
     _userManager = userManager;
     _dlnaManager = dlnaManager;
     _imageProcessor = imageProcessor;
     _userDataManager = userDataManager;
     _localization = localization;
     _mediaSourceManager = mediaSourceManager;
     _ssdpHandler = (SsdpHandler)ssdpHandler;
     _logger = logManager.GetLogger("Dlna");
 }
开发者ID:jrags56,项目名称:MediaBrowser,代码行数:30,代码来源:DlnaEntryPoint.cs

示例3: SubtitleScheduledTask

 public SubtitleScheduledTask(ILibraryManager libraryManager, IServerConfigurationManager config, ISubtitleManager subtitleManager, ILogger logger, IMediaSourceManager mediaSourceManager)
 {
     _libraryManager = libraryManager;
     _config = config;
     _subtitleManager = subtitleManager;
     _logger = logger;
     _mediaSourceManager = mediaSourceManager;
 }
开发者ID:jrags56,项目名称:MediaBrowser,代码行数:8,代码来源:SubtitleScheduledTask.cs

示例4: SubtitleManager

 public SubtitleManager(ILogger logger, IFileSystem fileSystem, ILibraryMonitor monitor, ILibraryManager libraryManager, IMediaSourceManager mediaSourceManager)
 {
     _logger = logger;
     _fileSystem = fileSystem;
     _monitor = monitor;
     _libraryManager = libraryManager;
     _mediaSourceManager = mediaSourceManager;
 }
开发者ID:rezafouladian,项目名称:Emby,代码行数:8,代码来源:SubtitleManager.cs

示例5: DefaultIntroProvider

 public DefaultIntroProvider(ISecurityManager security, ILocalizationManager localization, IConfigurationManager serverConfig, ILibraryManager libraryManager, IFileSystem fileSystem, IMediaSourceManager mediaSourceManager)
 {
     _security = security;
     _localization = localization;
     _serverConfig = serverConfig;
     _libraryManager = libraryManager;
     _fileSystem = fileSystem;
     _mediaSourceManager = mediaSourceManager;
 }
开发者ID:softworkz,项目名称:Emby,代码行数:9,代码来源:DefaultIntroProvider.cs

示例6: LiveTvMediaSourceProvider

 public LiveTvMediaSourceProvider(ILiveTvManager liveTvManager, IJsonSerializer jsonSerializer, ILogManager logManager, IMediaSourceManager mediaSourceManager, IMediaEncoder mediaEncoder, IServerApplicationHost appHost)
 {
     _liveTvManager = liveTvManager;
     _jsonSerializer = jsonSerializer;
     _mediaSourceManager = mediaSourceManager;
     _mediaEncoder = mediaEncoder;
     _appHost = appHost;
     _logger = logManager.GetLogger(GetType().Name);
 }
开发者ID:rezafouladian,项目名称:Emby,代码行数:9,代码来源:LiveTvMediaSourceProvider.cs

示例7: ApiEntryPoint

        /// <summary>
        /// Initializes a new instance of the <see cref="ApiEntryPoint" /> class.
        /// </summary>
        /// <param name="logger">The logger.</param>
        /// <param name="sessionManager">The session manager.</param>
        /// <param name="config">The configuration.</param>
        /// <param name="fileSystem">The file system.</param>
        /// <param name="mediaSourceManager">The media source manager.</param>
        public ApiEntryPoint(ILogger logger, ISessionManager sessionManager, IServerConfigurationManager config, IFileSystem fileSystem, IMediaSourceManager mediaSourceManager)
        {
            Logger = logger;
            _sessionManager = sessionManager;
            _config = config;
            _fileSystem = fileSystem;
            _mediaSourceManager = mediaSourceManager;

            Instance = this;
        }
开发者ID:raven-au,项目名称:Emby,代码行数:18,代码来源:ApiEntryPoint.cs

示例8: SubtitleEncoder

 public SubtitleEncoder(ILibraryManager libraryManager, ILogger logger, IApplicationPaths appPaths, IFileSystem fileSystem, IMediaEncoder mediaEncoder, IJsonSerializer json, IHttpClient httpClient, IMediaSourceManager mediaSourceManager)
 {
     _libraryManager = libraryManager;
     _logger = logger;
     _appPaths = appPaths;
     _fileSystem = fileSystem;
     _mediaEncoder = mediaEncoder;
     _json = json;
     _httpClient = httpClient;
     _mediaSourceManager = mediaSourceManager;
 }
开发者ID:ratanparai,项目名称:Emby,代码行数:11,代码来源:SubtitleEncoder.cs

示例9: DidlBuilder

 public DidlBuilder(DeviceProfile profile, User user, IImageProcessor imageProcessor, string serverAddress, string accessToken, IUserDataManager userDataManager, ILocalizationManager localization, IMediaSourceManager mediaSourceManager, ILogger logger)
 {
     _profile = profile;
     _imageProcessor = imageProcessor;
     _serverAddress = serverAddress;
     _userDataManager = userDataManager;
     _localization = localization;
     _mediaSourceManager = mediaSourceManager;
     _logger = logger;
     _accessToken = accessToken;
     _user = user;
 }
开发者ID:jrags56,项目名称:MediaBrowser,代码行数:12,代码来源:DidlBuilder.cs

示例10: ControlHandler

        public ControlHandler(ILogger logger, ILibraryManager libraryManager, DeviceProfile profile, string serverAddress, string accessToken, IImageProcessor imageProcessor, IUserDataManager userDataManager, User user, int systemUpdateId, IServerConfigurationManager config, ILocalizationManager localization, IChannelManager channelManager, IMediaSourceManager mediaSourceManager)
            : base(config, logger)
        {
            _libraryManager = libraryManager;
            _userDataManager = userDataManager;
            _user = user;
            _systemUpdateId = systemUpdateId;
            _channelManager = channelManager;
            _profile = profile;
            _config = config;

            _didlBuilder = new DidlBuilder(profile, user, imageProcessor, serverAddress, accessToken, userDataManager, localization, mediaSourceManager, Logger);
        }
开发者ID:jrags56,项目名称:MediaBrowser,代码行数:13,代码来源:ControlHandler.cs

示例11: EncodingJob

        public EncodingJob(ILogger logger, IMediaSourceManager mediaSourceManager)
        {
            _logger = logger;
            _mediaSourceManager = mediaSourceManager;
            Id = Guid.NewGuid().ToString("N");

            RemoteHttpHeaders = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
            _logger = logger;
            SupportedAudioCodecs = new List<string>();
            PlayableStreamFileNames = new List<string>();
            RemoteHttpHeaders = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
            TaskCompletionSource = new TaskCompletionSource<bool>();
        }
开发者ID:raven-au,项目名称:Emby,代码行数:13,代码来源:EncodingJob.cs

示例12: SyncConvertScheduledTask

 public SyncConvertScheduledTask(ILibraryManager libraryManager, ISyncRepository syncRepo, ISyncManager syncManager, ILogger logger, IUserManager userManager, ITVSeriesManager tvSeriesManager, IMediaEncoder mediaEncoder, ISubtitleEncoder subtitleEncoder, IConfigurationManager config, IFileSystem fileSystem, IMediaSourceManager mediaSourceManager)
 {
     _libraryManager = libraryManager;
     _syncRepo = syncRepo;
     _syncManager = syncManager;
     _logger = logger;
     _userManager = userManager;
     _tvSeriesManager = tvSeriesManager;
     _mediaEncoder = mediaEncoder;
     _subtitleEncoder = subtitleEncoder;
     _config = config;
     _fileSystem = fileSystem;
     _mediaSourceManager = mediaSourceManager;
 }
开发者ID:paul-777,项目名称:Emby,代码行数:14,代码来源:SyncConvertScheduledTask.cs

示例13: BaseStreamingService

 /// <summary>
 /// Initializes a new instance of the <see cref="BaseStreamingService" /> class.
 /// </summary>
 protected BaseStreamingService(IServerConfigurationManager serverConfig, IUserManager userManager, ILibraryManager libraryManager, IIsoManager isoManager, IMediaEncoder mediaEncoder, IFileSystem fileSystem, IDlnaManager dlnaManager, ISubtitleEncoder subtitleEncoder, IDeviceManager deviceManager, IMediaSourceManager mediaSourceManager, IZipClient zipClient, IJsonSerializer jsonSerializer)
 {
     JsonSerializer = jsonSerializer;
     ZipClient = zipClient;
     MediaSourceManager = mediaSourceManager;
     DeviceManager = deviceManager;
     SubtitleEncoder = subtitleEncoder;
     DlnaManager = dlnaManager;
     FileSystem = fileSystem;
     ServerConfigurationManager = serverConfig;
     UserManager = userManager;
     LibraryManager = libraryManager;
     IsoManager = isoManager;
     MediaEncoder = mediaEncoder;
 }
开发者ID:Cyrre,项目名称:Emby,代码行数:18,代码来源:BaseStreamingService.cs

示例14: PlayToManager

 public PlayToManager(ILogger logger, ISessionManager sessionManager, ILibraryManager libraryManager, IUserManager userManager, IDlnaManager dlnaManager, IServerApplicationHost appHost, IImageProcessor imageProcessor, IDeviceDiscovery deviceDiscovery, IHttpClient httpClient, IServerConfigurationManager config, IUserDataManager userDataManager, ILocalizationManager localization, IMediaSourceManager mediaSourceManager)
 {
     _logger = logger;
     _sessionManager = sessionManager;
     _libraryManager = libraryManager;
     _userManager = userManager;
     _dlnaManager = dlnaManager;
     _appHost = appHost;
     _imageProcessor = imageProcessor;
     _deviceDiscovery = deviceDiscovery;
     _httpClient = httpClient;
     _config = config;
     _userDataManager = userDataManager;
     _localization = localization;
     _mediaSourceManager = mediaSourceManager;
 }
开发者ID:Cyrre,项目名称:Emby,代码行数:16,代码来源:PlayToManager.cs

示例15: BaseEncoder

 protected BaseEncoder(MediaEncoder mediaEncoder,
     ILogger logger,
     IServerConfigurationManager configurationManager,
     IFileSystem fileSystem,
     IIsoManager isoManager,
     ILibraryManager libraryManager,
     ISessionManager sessionManager, 
     ISubtitleEncoder subtitleEncoder, 
     IMediaSourceManager mediaSourceManager)
 {
     MediaEncoder = mediaEncoder;
     Logger = logger;
     ConfigurationManager = configurationManager;
     FileSystem = fileSystem;
     IsoManager = isoManager;
     LibraryManager = libraryManager;
     SessionManager = sessionManager;
     SubtitleEncoder = subtitleEncoder;
     MediaSourceManager = mediaSourceManager;
 }
开发者ID:NickBolles,项目名称:Emby,代码行数:20,代码来源:BaseEncoder.cs


注:本文中的IMediaSourceManager类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。