public EncodingJobFactory(ILogger logger, ILiveTvManager liveTvManager, ILibraryManager libraryManager, IChannelManager channelManager) { _logger = logger; _liveTvManager = liveTvManager; _libraryManager = libraryManager; _channelManager = channelManager; }
public RefreshChannelsScheduledTask(IChannelManager channelManager, IUserManager userManager, ILogger logger, ILibraryManager libraryManager) { _channelManager = channelManager; _userManager = userManager; _logger = logger; _libraryManager = libraryManager; }
public LocalTrailerDownloadTask(ILibraryManager libraryManager, ILogger logger, ILibraryMonitor libraryMonitor, IChannelManager channelManager) { _libraryManager = libraryManager; _logger = logger; _channelManager = channelManager; _libraryMonitor = libraryMonitor; }
public EntityManager( IChannelManager channelManager, IObjectPool<IEntity> objectPool) { _channelManager = channelManager; _entityPool = objectPool; }
public ChannelPostScanTask(IChannelManager channelManager, IUserManager userManager, ILogger logger, ILibraryManager libraryManager) { _channelManager = channelManager; _userManager = userManager; _logger = logger; _libraryManager = libraryManager; }
public DefaultIntroProvider(ISecurityManager security, IChannelManager channelManager, ILocalizationManager localization, IConfigurationManager serverConfig, ILibraryManager libraryManager) { _security = security; _channelManager = channelManager; _localization = localization; _serverConfig = serverConfig; _libraryManager = libraryManager; }
public UserViewManager(ILibraryManager libraryManager, ILocalizationManager localizationManager, IUserManager userManager, IChannelManager channelManager, ILiveTvManager liveTvManager, IServerConfigurationManager config) { _libraryManager = libraryManager; _localizationManager = localizationManager; _userManager = userManager; _channelManager = channelManager; _liveTvManager = liveTvManager; _config = config; }
public ChannelDownloadScheduledTask(IChannelManager manager, IServerConfigurationManager config, ILogger logger, IFileSystem fileSystem, ILibraryManager libraryManager, IUserManager userManager) { _manager = manager; _config = config; _logger = logger; _fileSystem = fileSystem; _libraryManager = libraryManager; _userManager = userManager; }
internal Pipe(IChannelManager parent, string name, uint outBuffer, uint inBuffer, int maxReadBytes) { _parent = parent; PipeConnection = new ServerPipeConnection(name, outBuffer, inBuffer, maxReadBytes); PipeThread = new Thread(new ThreadStart(PipeListener)); PipeThread.IsBackground = true; PipeThread.Name = "Pipe Thread " + this.PipeConnection.NativeHandle.ToString(); LastAction = DateTime.Now; }
internal ServerNamedPipe(string name, uint outBuffer, uint inBuffer, int maxReadBytes, bool secure, IChannelManager pipeManager, DebugMessage activityRef) { DebugMessageRef = activityRef; PipeManager = pipeManager; PipeConnection = new ServerPipeConnection(name, outBuffer, inBuffer, maxReadBytes, secure); PipeThread = new Thread(new ThreadStart(PipeListener)); PipeThread.IsBackground = true; PipeThread.Name = "Pipe Thread " + this.PipeConnection.NativeHandle.ToString(); LastAction = DateTime.Now; }
public Form1() { // // Required for Windows Form Designer support // InitializeComponent(); PipeManager = new PipeManager(DebugMessage); PipeManager.Initialize(); }
public DefaultIntroProvider(ISecurityManager security, IChannelManager channelManager, ILocalizationManager localization, IConfigurationManager serverConfig, ILibraryManager libraryManager, IFileSystem fileSystem, IMediaSourceManager mediaSourceManager) { _security = security; _channelManager = channelManager; _localization = localization; _serverConfig = serverConfig; _libraryManager = libraryManager; _fileSystem = fileSystem; _mediaSourceManager = mediaSourceManager; }
public UserViewManager(ILibraryManager libraryManager, ILocalizationManager localizationManager, IFileSystem fileSystem, IUserManager userManager, IChannelManager channelManager, ILiveTvManager liveTvManager, IServerApplicationPaths appPaths, IPlaylistManager playlists) { _libraryManager = libraryManager; _localizationManager = localizationManager; _fileSystem = fileSystem; _userManager = userManager; _channelManager = channelManager; _liveTvManager = liveTvManager; _appPaths = appPaths; _playlists = playlists; }
public ChannelDownloadScheduledTask(IChannelManager manager, IServerConfigurationManager config, ILogger logger, IHttpClient httpClient, IFileSystem fileSystem, ILibraryManager libraryManager, IUserManager userManager, ISecurityManager security) { _manager = manager; _config = config; _logger = logger; _httpClient = httpClient; _fileSystem = fileSystem; _libraryManager = libraryManager; _userManager = userManager; _security = security; }
public Form1() { // // Required for Windows Form Designer support // InitializeComponent(); ActivityRef = this.Activity; PipeManager = new PipeManager(); PipeManager.Initialize(); }
public UserViewManager(ILibraryManager libraryManager, ILocalizationManager localizationManager, IUserManager userManager, IChannelManager channelManager, ILiveTvManager liveTvManager, IPlaylistManager playlists, ICollectionManager collectionManager, IServerConfigurationManager config) { _libraryManager = libraryManager; _localizationManager = localizationManager; _userManager = userManager; _channelManager = channelManager; _liveTvManager = liveTvManager; _playlists = playlists; _collectionManager = collectionManager; _config = config; }
public ControlHandler(ILogger logger, ILibraryManager libraryManager, DeviceProfile profile, string serverAddress, IImageProcessor imageProcessor, IUserDataManager userDataManager, User user, int systemUpdateId, IServerConfigurationManager config, ILocalizationManager localization, IChannelManager channelManager) : base(config, logger) { _libraryManager = libraryManager; _userDataManager = userDataManager; _user = user; _systemUpdateId = systemUpdateId; _channelManager = channelManager; _profile = profile; _didlBuilder = new DidlBuilder(profile, user, imageProcessor, serverAddress, userDataManager, localization); }
/// <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, ILiveTvManager liveTvManager, IDlnaManager dlnaManager, IChannelManager channelManager, ISubtitleEncoder subtitleEncoder) { SubtitleEncoder = subtitleEncoder; ChannelManager = channelManager; DlnaManager = dlnaManager; LiveTvManager = liveTvManager; FileSystem = fileSystem; ServerConfigurationManager = serverConfig; UserManager = userManager; LibraryManager = libraryManager; IsoManager = isoManager; MediaEncoder = mediaEncoder; }
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, IUserViewManager userViewManager, IMediaEncoder mediaEncoder) : base(config, logger) { _libraryManager = libraryManager; _userDataManager = userDataManager; _user = user; _systemUpdateId = systemUpdateId; _channelManager = channelManager; _userViewManager = userViewManager; _mediaEncoder = mediaEncoder; _profile = profile; _config = config; _didlBuilder = new DidlBuilder(profile, user, imageProcessor, serverAddress, accessToken, userDataManager, localization, mediaSourceManager, Logger, libraryManager, _mediaEncoder); }
protected BaseSystem(IChannelManager channelManager, int priority, IEnumerable<string> channels = null) { ID = Guid.NewGuid(); Priority = priority; if (channels == null) { Channels.Add(channelManager.Channel); return; } foreach (var c in channels) { Channels.Add(c); } }
public MediaEncoder(ILogger logger, IJsonSerializer jsonSerializer, string ffMpegPath, string ffProbePath, string version, IServerConfigurationManager configurationManager, IFileSystem fileSystem, ILiveTvManager liveTvManager, IIsoManager isoManager, ILibraryManager libraryManager, IChannelManager channelManager, ISessionManager sessionManager, Func<ISubtitleEncoder> subtitleEncoder) { _logger = logger; _jsonSerializer = jsonSerializer; Version = version; ConfigurationManager = configurationManager; FileSystem = fileSystem; LiveTvManager = liveTvManager; IsoManager = isoManager; LibraryManager = libraryManager; ChannelManager = channelManager; SessionManager = sessionManager; SubtitleEncoder = subtitleEncoder; FFProbePath = ffProbePath; FFMpegPath = ffMpegPath; }
public void SetupBeforeEachTest() { this.channelManagerFactory = A.Fake<IChannelManagerFactory>(); this.messageHandlerTypesIndexFactory = A.Fake<IMessageHandlerTypesIndexFactory>(); this.messageHandlerInvokerFactory = A.Fake<IMessageHandlerInvokerFactory>(); this.queueNameConvention = A.Fake<IQueueNameConvention>(); this.messageEncoder = A.Fake<IMessageEncoder>(); this.messageSerialiser = A.Fake<IMessageSerialiser>(); this.logger = A.Fake<ILogger>(); this.configuration = A.Fake<IConfiguration>(); this.channelManager = A.Fake<IChannelManager>(); this.channel = A.Fake<IModel>(); A.CallTo(() => this.channelManagerFactory.Create()).Returns(this.channelManager); A.CallTo(() => this.channelManager.CreateChannel()).Returns(this.channel); this.componentUnderTest = new RabbitMQMessageListener(this.channelManagerFactory, new Type[0], this.messageHandlerTypesIndexFactory, this.messageHandlerInvokerFactory, this.queueNameConvention, this.messageEncoder, this.messageSerialiser, this.logger, this.configuration); }
public ContentDirectory(IDlnaManager dlna, IUserDataManager userDataManager, IImageProcessor imageProcessor, ILibraryManager libraryManager, IServerConfigurationManager config, IUserManager userManager, ILogger logger, IHttpClient httpClient, ILocalizationManager localization, IChannelManager channelManager) : base(logger, httpClient) { _dlna = dlna; _userDataManager = userDataManager; _imageProcessor = imageProcessor; _libraryManager = libraryManager; _config = config; _userManager = userManager; _localization = localization; _channelManager = channelManager; }
public MediaEncoder(ILogger logger, IJsonSerializer jsonSerializer, string ffMpegPath, string ffProbePath, bool hasExternalEncoder, IServerConfigurationManager configurationManager, IFileSystem fileSystem, ILiveTvManager liveTvManager, IIsoManager isoManager, ILibraryManager libraryManager, IChannelManager channelManager, ISessionManager sessionManager, Func<ISubtitleEncoder> subtitleEncoder, Func<IMediaSourceManager> mediaSourceManager, IHttpClient httpClient, IZipClient zipClient) { _logger = logger; _jsonSerializer = jsonSerializer; ConfigurationManager = configurationManager; FileSystem = fileSystem; LiveTvManager = liveTvManager; IsoManager = isoManager; LibraryManager = libraryManager; ChannelManager = channelManager; SessionManager = sessionManager; SubtitleEncoder = subtitleEncoder; MediaSourceManager = mediaSourceManager; _httpClient = httpClient; _zipClient = zipClient; FFProbePath = ffProbePath; FFMpegPath = ffMpegPath; _hasExternalEncoder = hasExternalEncoder; }
public RabbitMQMessageListener( IChannelManagerFactory channelManagerFactory, Type[] messageHandlerTypes, IMessageHandlerTypesIndexFactory messageHandlerTypesIndexFactory, IMessageHandlerInvokerFactory messageHandlerInvokerFactory, IQueueNameConvention queueNameConvention, IMessageEncoder messageEncoder, IMessageSerialiser messageSerialiser, ILogger logger, IConfiguration configuration) { this.channelManager = channelManagerFactory.Create(); this.queueNameConvention = queueNameConvention; this.messageEncoder = messageEncoder; this.messageSerialiser = messageSerialiser; this.logger = logger; this.configuration = configuration; this.messageHandlerTypesIndex = messageHandlerTypesIndexFactory.Create(messageHandlerTypes); this.messageHandlerInvoker = messageHandlerInvokerFactory.CreateAggregate(this.messageHandlerTypesIndex); }
public FFProbeProvider(ILogger logger, IMediaSourceManager mediaSourceManager, IChannelManager channelManager, IIsoManager isoManager, IMediaEncoder mediaEncoder, IItemRepository itemRepo, IBlurayExaminer blurayExaminer, ILocalizationManager localization, IApplicationPaths appPaths, IJsonSerializer json, IEncodingManager encodingManager, IFileSystem fileSystem, IServerConfigurationManager config, ISubtitleManager subtitleManager, IChapterManager chapterManager, ILibraryManager libraryManager) { _logger = logger; _isoManager = isoManager; _mediaEncoder = mediaEncoder; _itemRepo = itemRepo; _blurayExaminer = blurayExaminer; _localization = localization; _appPaths = appPaths; _json = json; _encodingManager = encodingManager; _fileSystem = fileSystem; _config = config; _subtitleManager = subtitleManager; _chapterManager = chapterManager; _libraryManager = libraryManager; _channelManager = channelManager; _mediaSourceManager = mediaSourceManager; _subtitleResolver = new SubtitleResolver(BaseItem.LocalizationManager, fileSystem); }
public BaseEncoder(MediaEncoder mediaEncoder, ILogger logger, IServerConfigurationManager configurationManager, IFileSystem fileSystem, ILiveTvManager liveTvManager, IIsoManager isoManager, ILibraryManager libraryManager, IChannelManager channelManager, ISessionManager sessionManager, ISubtitleEncoder subtitleEncoder) { MediaEncoder = mediaEncoder; Logger = logger; ConfigurationManager = configurationManager; FileSystem = fileSystem; LiveTvManager = liveTvManager; IsoManager = isoManager; LibraryManager = libraryManager; ChannelManager = channelManager; SessionManager = sessionManager; SubtitleEncoder = subtitleEncoder; }
public ContentDirectory(IDlnaManager dlna, IUserDataManager userDataManager, IImageProcessor imageProcessor, ILibraryManager libraryManager, IServerConfigurationManager config, IUserManager userManager, ILogger logger, IHttpClient httpClient, ILocalizationManager localization, IChannelManager channelManager, IMediaSourceManager mediaSourceManager, IUserViewManager userViewManager) : base(logger, httpClient) { _dlna = dlna; _userDataManager = userDataManager; _imageProcessor = imageProcessor; _libraryManager = libraryManager; _config = config; _userManager = userManager; _localization = localization; _channelManager = channelManager; _mediaSourceManager = mediaSourceManager; _userViewManager = userViewManager; }
public MediaEncoder(ILogger logger, IJsonSerializer jsonSerializer, string ffMpegPath, string ffProbePath, bool hasExternalEncoder, IServerConfigurationManager configurationManager, IFileSystem fileSystem, ILiveTvManager liveTvManager, IIsoManager isoManager, ILibraryManager libraryManager, IChannelManager channelManager, ISessionManager sessionManager, Func <ISubtitleEncoder> subtitleEncoder, Func <IMediaSourceManager> mediaSourceManager, IHttpClient httpClient, IZipClient zipClient, IProcessFactory processFactory, int defaultImageExtractionTimeoutMs) { _logger = logger; _jsonSerializer = jsonSerializer; ConfigurationManager = configurationManager; FileSystem = fileSystem; LiveTvManager = liveTvManager; IsoManager = isoManager; LibraryManager = libraryManager; ChannelManager = channelManager; SessionManager = sessionManager; SubtitleEncoder = subtitleEncoder; MediaSourceManager = mediaSourceManager; _httpClient = httpClient; _zipClient = zipClient; _processFactory = processFactory; DefaultImageExtractionTimeoutMs = defaultImageExtractionTimeoutMs; FFProbePath = ffProbePath; FFMpegPath = ffMpegPath; _originalFFProbePath = ffProbePath; _originalFFMpegPath = ffMpegPath; _hasExternalEncoder = hasExternalEncoder; }
public EntileClient( IChannelManager channelManager, IRegistrationManager registrationManager, IRemoteTileManager remoteTileManager, ISettingsProvider settingsProvider ) { _settingsProvider = settingsProvider; _channelManager = channelManager; _registrationManager = registrationManager; _remoteTileManager = remoteTileManager; ChannelManager.OpenChannelCompleted += OnOpenChannelCompleted; ChannelManager.HttpNotificationReceived += OnHttpNotificationReceived; ChannelManager.ShellToastNotificationReceived += OnShellToastNotificationReceived; RegistrationManager.RegisterCompleted += OnRegisterWithProviderCompleted; RegistrationManager.UpdateExtraInfoCompleted += OnUpdateExtraInfoCompleted; _extraInfo = _settingsProvider.GetExtraInfo(); _enable = _settingsProvider.GetEnabled(); }
public CommandService( IChatModel cm, IChatConnection conn, IChannelManager manager, IUnityContainer contain, IRegionManager regman, IEventAggregator eventagg, ICharacterManager characterManager, IAutomationService automation) : base(contain, regman, eventagg, cm, characterManager) { connection = conn; this.manager = manager; this.automation = automation; Events.GetEvent<CharacterSelectedLoginEvent>() .Subscribe(GetCharacter, ThreadOption.BackgroundThread, true); Events.GetEvent<ChatCommandEvent>().Subscribe(EnqueAction, ThreadOption.BackgroundThread, true); Events.GetEvent<ConnectionClosedEvent>().Subscribe(WipeState, ThreadOption.PublisherThread, true); ChatModel.CurrentAccount = connection.Account; }
public void init(ChannelConfig channelConfig, ExecutorPool executorPool, IEventLoopGroup eventLoopGroup) { if (channelConfig.UseConvChannel) { var convIndex = 0; if (channelConfig.KcpTag) { convIndex += Ukcp.KCP_TAG; } if (channelConfig.Crc32Check) { convIndex += Ukcp.HEADER_CRC; } if (channelConfig.FecDataShardCount != 0 && channelConfig.FecParityShardCount != 0) { convIndex += Fec.fecHeaderSizePlus2; } _channelManager = new ConvChannelManager(convIndex); } else { _channelManager = new ClientEndPointChannelManager(); } //初始化线程池 创建一个线程就够了 _executorPool = executorPool; _executorPool.CreateMessageExecutor(); _eventLoopGroup = eventLoopGroup; bootstrap = new Bootstrap(); bootstrap.Group(_eventLoopGroup); bootstrap.ChannelFactory(() => new SocketDatagramChannel(AddressFamily.InterNetwork)); bootstrap.Handler(new ActionChannelInitializer <SocketDatagramChannel>(channel => { var pipeline = channel.Pipeline; pipeline.AddLast(new ClientChannelHandler(_channelManager, channelConfig)); })); }
public ChannelManagerController(IMasterData <Models.Request.ChannelManager, int> iMasterData, ILogger iLogger, IConnection <Bank> banks, IConnection <Contacts> contacts, IConnection <Payment> payment, IConnection <EmailAddresses> emailAddresses, IConnection <Core.Model.ChannelManager.ChannelManager> channelManager, IConnection <FunctionChannelManagerRelation> functionChannelManagerRelation, IConnection <Functions> functions, IConnection <UserRelation> userRelation, IChannelManager iChannelManagerRepository) : base(iMasterData, iLogger, "ChannelManager") { this._bank = banks; this._contacts = contacts; this._payment = payment; this._channelManager = channelManager; this._functionChannelManagerRelation = functionChannelManagerRelation; this._functions = functions; this._userRelation = userRelation; this._emailAddresses = emailAddresses; this._logger = iLogger; this._iChannelManagerRepository = iChannelManagerRepository; }
public ChannelsViewModel(IChannelManager channelManager) { RefreshCommand = new MvxCommand(() => { channelManager.RequestPrivateChannels(); channelManager.RequestPublicChannels(); }); if (channelManager.PublicChannels.Count == 0) { RefreshCommand.Execute(null); } Func <ChannelListItem, ListItem> mapper = item => new ListItem(channelManager, item); Tabs = new[] { new Tab(Strings.Channels_Public, new MappingObservableList <ChannelListItem, ListItem>(channelManager.PublicChannels, mapper)), new Tab(Strings.Channels_Private, new MappingObservableList <ChannelListItem, ListItem>(channelManager.PrivateChannels, mapper)) }; SelectedTab = Tabs[0]; TabSelectedCommand = new MvxCommand <Tab>(tab => SelectedTab = tab); CreateCommand = new MvxCommand <string>(name => { channelManager.CreateChannel(name); channelManager.RequestPrivateChannels(); }); }
public MessageManager(IChatManager chatManager, ICharacterManager characterManager, IChannelManager channelManager) { this.chatManager = chatManager; this.characterManager = characterManager; this.channelManager = channelManager; chatManager.CommandReceived += HandleServerCommand; chatManager.Connected += () => { MaxChatBytes = chatManager.ServerVars["chat_max"].ToObject <int>(); MaxAdBytes = chatManager.ServerVars["lfrp_max"].ToObject <int>(); MaxPrivateBytes = chatManager.ServerVars["priv_max"].ToObject <int>(); msgFlood = this.chatManager.ServerVars["msg_flood"].ToObject <double>(); var pinned = AppSettings.Instance.PinnedChannels; if (pinned != null) { foreach (var channel in AppSettings.Instance.PinnedChannels) { chatManager.Send(Helpers.CreateClientCommand(ClientCommandType.JCH, new ClientJch { channel = channel })); } } }; }
public MediaEncoder(ILogger logger, IJsonSerializer jsonSerializer, string ffMpegPath, string ffProbePath, bool hasExternalEncoder, IServerConfigurationManager configurationManager, IFileSystem fileSystem, ILiveTvManager liveTvManager, IIsoManager isoManager, ILibraryManager libraryManager, IChannelManager channelManager, ISessionManager sessionManager, Func <ISubtitleEncoder> subtitleEncoder, Func <IMediaSourceManager> mediaSourceManager, IHttpClient httpClient, IZipClient zipClient, IMemoryStreamFactory memoryStreamProvider, IProcessFactory processFactory, int defaultImageExtractionTimeoutMs, bool enableEncoderFontFile, IEnvironmentInfo environmentInfo) { if (jsonSerializer == null) { throw new ArgumentNullException("jsonSerializer"); } _logger = logger; _jsonSerializer = jsonSerializer; ConfigurationManager = configurationManager; FileSystem = fileSystem; LiveTvManager = liveTvManager; IsoManager = isoManager; LibraryManager = libraryManager; ChannelManager = channelManager; SessionManager = sessionManager; SubtitleEncoder = subtitleEncoder; MediaSourceManager = mediaSourceManager; _httpClient = httpClient; _zipClient = zipClient; _memoryStreamProvider = memoryStreamProvider; _processFactory = processFactory; DefaultImageExtractionTimeoutMs = defaultImageExtractionTimeoutMs; EnableEncoderFontFile = enableEncoderFontFile; _environmentInfo = environmentInfo; FFProbePath = ffProbePath; FFMpegPath = ffMpegPath; _originalFFProbePath = ffProbePath; _originalFFMpegPath = ffMpegPath; _hasExternalEncoder = hasExternalEncoder; SetEnvironmentVariable(); }
public ContentDirectory(IDlnaManager dlna, IUserDataManager userDataManager, IImageProcessor imageProcessor, ILibraryManager libraryManager, IServerConfigurationManager config, IUserManager userManager, ILogger logger, IHttpClient httpClient, ILocalizationManager localization, IChannelManager channelManager, IMediaSourceManager mediaSourceManager, IUserViewManager userViewManager, Func <IMediaEncoder> mediaEncoder, IXmlReaderSettingsFactory xmlReaderSettingsFactory, ITVSeriesManager tvSeriesManager) : base(logger, httpClient) { _dlna = dlna; _userDataManager = userDataManager; _imageProcessor = imageProcessor; _libraryManager = libraryManager; _config = config; _userManager = userManager; _localization = localization; _channelManager = channelManager; _mediaSourceManager = mediaSourceManager; _userViewManager = userViewManager; _mediaEncoder = mediaEncoder; XmlReaderSettingsFactory = xmlReaderSettingsFactory; _tvSeriesManager = tvSeriesManager; }
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, IUserViewManager userViewManager, IMediaEncoder mediaEncoder, IXmlReaderSettingsFactory xmlReaderSettingsFactory, ITVSeriesManager tvSeriesManager) : base(config, logger, xmlReaderSettingsFactory) { _libraryManager = libraryManager; _userDataManager = userDataManager; _user = user; _systemUpdateId = systemUpdateId; _channelManager = channelManager; _userViewManager = userViewManager; _tvSeriesManager = tvSeriesManager; _profile = profile; _config = config; _didlBuilder = new DidlBuilder(profile, user, imageProcessor, serverAddress, accessToken, userDataManager, localization, mediaSourceManager, Logger, libraryManager, mediaEncoder); }
protected BaseProgressiveStreamingService(IServerConfigurationManager serverConfig, IUserManager userManager, ILibraryManager libraryManager, IIsoManager isoManager, IMediaEncoder mediaEncoder, IFileSystem fileSystem, ILiveTvManager liveTvManager, IDlnaManager dlnaManager, IChannelManager channelManager, ISubtitleEncoder subtitleEncoder, IImageProcessor imageProcessor, IHttpClient httpClient) : base(serverConfig, userManager, libraryManager, isoManager, mediaEncoder, fileSystem, liveTvManager, dlnaManager, channelManager, subtitleEncoder) { ImageProcessor = imageProcessor; HttpClient = httpClient; }
public ControlHandler(ILogger logger, ILibraryManager libraryManager, DeviceProfile profile, string serverAddress, IImageProcessor imageProcessor, IUserDataManager userDataManager, User user, int systemUpdateId, IServerConfigurationManager config, IUserViewManager userViewManager, IChannelManager channelManager) : base(config, logger) { _libraryManager = libraryManager; _userDataManager = userDataManager; _user = user; _systemUpdateId = systemUpdateId; _userViewManager = userViewManager; _channelManager = channelManager; _profile = profile; _didlBuilder = new DidlBuilder(profile, user, imageProcessor, serverAddress); }
public ChannelJoin(IChannelManager channelManager) { _channelManager = channelManager; }
public CandidateWorkflowSubscriber(IChannelManager <IService> proxyManager, ICandidatesQuery candidatesQuery) { _proxyManager = proxyManager; _candidatesQuery = candidatesQuery; }
public ClientChannelHandler(IChannelManager channelManager, ChannelConfig channelConfig) { this._channelManager = channelManager; this._channelConfig = channelConfig; }
public ChannelDynamicMediaSourceProvider(IChannelManager channelManager) { _channelManager = (ChannelManager)channelManager; }
/// <summary> /// Initializes a new instance of the <see cref="LibraryService" /> class. /// </summary> public LibraryService(IItemRepository itemRepo, ILibraryManager libraryManager, IUserManager userManager, IDtoService dtoService, IUserDataManager userDataManager, IChannelManager channelManager, ISessionManager sessionManager) { _itemRepo = itemRepo; _libraryManager = libraryManager; _userManager = userManager; _dtoService = dtoService; _userDataManager = userDataManager; _channelManager = channelManager; _sessionManager = sessionManager; }
public RefreshRecordingsTask(IHttpClient httpClient, IJsonSerializer jsonSerializer, IXmlSerializer xmlSerializer, IChannelManager channelManager, ILibraryManager libraryManager) : base(httpClient, jsonSerializer, xmlSerializer) { _channelManager = channelManager; _libraryManager = libraryManager; }
public GangManager(IGangRepository gangRepository, IChannelManager channelManager, Gang.Factory gangFactory) { _gangRepository = gangRepository; _channelManager = channelManager; _gangFactory = gangFactory; }
public MpegDashService(IServerConfigurationManager serverConfig, IUserManager userManager, ILibraryManager libraryManager, IIsoManager isoManager, IMediaEncoder mediaEncoder, IFileSystem fileSystem, ILiveTvManager liveTvManager, IDlnaManager dlnaManager, IChannelManager channelManager, ISubtitleEncoder subtitleEncoder, IDeviceManager deviceManager, INetworkManager networkManager) : base(serverConfig, userManager, libraryManager, isoManager, mediaEncoder, fileSystem, liveTvManager, dlnaManager, channelManager, subtitleEncoder, deviceManager) { NetworkManager = networkManager; }
public AspectManager(IChannelManager channelManager, IObjectPool <IAspect> aspectPool) { _aspectPool = aspectPool; _channelManager = channelManager; }
public VideoService(IServerConfigurationManager serverConfig, IUserManager userManager, ILibraryManager libraryManager, IIsoManager isoManager, IMediaEncoder mediaEncoder, IFileSystem fileSystem, ILiveTvManager liveTvManager, IDlnaManager dlnaManager, IChannelManager channelManager, ISubtitleEncoder subtitleEncoder, IImageProcessor imageProcessor, IHttpClient httpClient) : base(serverConfig, userManager, libraryManager, isoManager, mediaEncoder, fileSystem, liveTvManager, dlnaManager, channelManager, subtitleEncoder, imageProcessor, httpClient) { }
public VideoEncoder(MediaEncoder mediaEncoder, ILogger logger, IServerConfigurationManager configurationManager, IFileSystem fileSystem, ILiveTvManager liveTvManager, IIsoManager isoManager, ILibraryManager libraryManager, IChannelManager channelManager, ISessionManager sessionManager, ISubtitleEncoder subtitleEncoder) : base(mediaEncoder, logger, configurationManager, fileSystem, liveTvManager, isoManager, libraryManager, channelManager, sessionManager, subtitleEncoder) { }
public DynamicHlsService(IServerConfigurationManager serverConfig, IUserManager userManager, ILibraryManager libraryManager, IIsoManager isoManager, IMediaEncoder mediaEncoder, IFileSystem fileSystem, ILiveTvManager liveTvManager, IDlnaManager dlnaManager, IChannelManager channelManager, ISubtitleEncoder subtitleEncoder, INetworkManager networkManager) : base(serverConfig, userManager, libraryManager, isoManager, mediaEncoder, fileSystem, liveTvManager, dlnaManager, channelManager, subtitleEncoder) { NetworkManager = networkManager; }
public ChannelsController(IChannelManager channelManager, IMapper mapper) { this.channelManager = channelManager; this.mapper = mapper; }
public ChannelService(IChannelManager channelManager, IUserManager userManager) { _channelManager = channelManager; _userManager = userManager; }
public MediaEncoder(ILogger logger, IJsonSerializer jsonSerializer, string ffMpegPath, string ffProbePath, string version, IServerConfigurationManager configurationManager, IFileSystem fileSystem, ILiveTvManager liveTvManager, IIsoManager isoManager, ILibraryManager libraryManager, IChannelManager channelManager, ISessionManager sessionManager, Func <ISubtitleEncoder> subtitleEncoder, Func <IMediaSourceManager> mediaSourceManager) { _logger = logger; _jsonSerializer = jsonSerializer; Version = version; ConfigurationManager = configurationManager; FileSystem = fileSystem; LiveTvManager = liveTvManager; IsoManager = isoManager; LibraryManager = libraryManager; ChannelManager = channelManager; SessionManager = sessionManager; SubtitleEncoder = subtitleEncoder; MediaSourceManager = mediaSourceManager; FFProbePath = ffProbePath; FFMpegPath = ffMpegPath; }
/// <summary> /// Initializes a new instance of the <see cref="LibraryService" /> class. /// </summary> public LibraryService(IItemRepository itemRepo, ILibraryManager libraryManager, IUserManager userManager, IDtoService dtoService, IUserDataManager userDataManager, IChannelManager channelManager, ISessionManager sessionManager, IAuthorizationContext authContext) { _itemRepo = itemRepo; _libraryManager = libraryManager; _userManager = userManager; _dtoService = dtoService; _userDataManager = userDataManager; _channelManager = channelManager; _sessionManager = sessionManager; _authContext = authContext; }
public VideoHlsService(IServerConfigurationManager serverConfig, IUserManager userManager, ILibraryManager libraryManager, IIsoManager isoManager, IMediaEncoder mediaEncoder, IFileSystem fileSystem, ILiveTvManager liveTvManager, IDlnaManager dlnaManager, IChannelManager channelManager, ISubtitleEncoder subtitleEncoder) : base(serverConfig, userManager, libraryManager, isoManager, mediaEncoder, fileSystem, liveTvManager, dlnaManager, channelManager, subtitleEncoder) { }
public ChannelKick(IChannelManager channelManager) { _channelManager = channelManager; }