• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# IMediaSourceManager类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: ContentDirectory

 public ContentDirectory(IDlnaManager dlna,
     IUserDataManager userDataManager,
     IImageProcessor imageProcessor,
     ILibraryManager libraryManager,
     IServerConfigurationManager config,
     IUserManager userManager,
     ILogger logger,
     IHttpClient httpClient, ILocalizationManager localization, IChannelManager channelManager, IMediaSourceManager mediaSourceManager)
     : base(logger, httpClient)
 {
     _dlna = dlna;
     _userDataManager = userDataManager;
     _imageProcessor = imageProcessor;
     _libraryManager = libraryManager;
     _config = config;
     _userManager = userManager;
     _localization = localization;
     _channelManager = channelManager;
     _mediaSourceManager = mediaSourceManager;
 }
开发者ID:rezafouladian,项目名称:Emby,代码行数:20,代码来源:ContentDirectory.cs


示例17: DynamicHlsService

 public DynamicHlsService(IServerConfigurationManager serverConfig, IUserManager userManager, ILibraryManager libraryManager, IIsoManager isoManager, IMediaEncoder mediaEncoder, IFileSystem fileSystem, IDlnaManager dlnaManager, ISubtitleEncoder subtitleEncoder, IDeviceManager deviceManager, IMediaSourceManager mediaSourceManager, IZipClient zipClient, IJsonSerializer jsonSerializer, INetworkManager networkManager)
     : base(serverConfig, userManager, libraryManager, isoManager, mediaEncoder, fileSystem, dlnaManager, subtitleEncoder, deviceManager, mediaSourceManager, zipClient, jsonSerializer)
 {
     NetworkManager = networkManager;
 }
开发者ID:RavenB,项目名称:Emby,代码行数:5,代码来源:DynamicHlsService.cs


示例18: BaseProgressiveStreamingService

 protected BaseProgressiveStreamingService(IServerConfigurationManager serverConfig, IUserManager userManager, ILibraryManager libraryManager, IIsoManager isoManager, IMediaEncoder mediaEncoder, IFileSystem fileSystem, IDlnaManager dlnaManager, ISubtitleEncoder subtitleEncoder, IDeviceManager deviceManager, IMediaSourceManager mediaSourceManager, IZipClient zipClient, IJsonSerializer jsonSerializer, IImageProcessor imageProcessor, IHttpClient httpClient) : base(serverConfig, userManager, libraryManager, isoManager, mediaEncoder, fileSystem, dlnaManager, subtitleEncoder, deviceManager, mediaSourceManager, zipClient, jsonSerializer)
 {
     ImageProcessor = imageProcessor;
     HttpClient = httpClient;
 }
开发者ID:jrags56,项目名称:MediaBrowser,代码行数:5,代码来源:BaseProgressiveStreamingService.cs


示例19: VideoService

 public VideoService(IServerConfigurationManager serverConfig, IUserManager userManager, ILibraryManager libraryManager, IIsoManager isoManager, IMediaEncoder mediaEncoder, IFileSystem fileSystem, IDlnaManager dlnaManager, ISubtitleEncoder subtitleEncoder, IDeviceManager deviceManager, IMediaSourceManager mediaSourceManager, IZipClient zipClient, IJsonSerializer jsonSerializer, IImageProcessor imageProcessor, IHttpClient httpClient) : base(serverConfig, userManager, libraryManager, isoManager, mediaEncoder, fileSystem, dlnaManager, subtitleEncoder, deviceManager, mediaSourceManager, zipClient, jsonSerializer, imageProcessor, httpClient)
 {
 }
开发者ID:rezafouladian,项目名称:Emby,代码行数:3,代码来源:VideoService.cs


示例20: VideoEncoder

 public VideoEncoder(MediaEncoder mediaEncoder, ILogger logger, IServerConfigurationManager configurationManager, IFileSystem fileSystem, IIsoManager isoManager, ILibraryManager libraryManager, ISessionManager sessionManager, ISubtitleEncoder subtitleEncoder, IMediaSourceManager mediaSourceManager) : base(mediaEncoder, logger, configurationManager, fileSystem, isoManager, libraryManager, sessionManager, subtitleEncoder, mediaSourceManager)
 {
 }
开发者ID:ratanparai,项目名称:Emby,代码行数:3,代码来源:VideoEncoder.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# IMediator类代码示例发布时间:2022-05-24
下一篇:
C# IMediaService类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap