public MediaProviderFactory(StreamsService baseStreamsService, ILogger logger) { _logger = logger; _folderProviders = new List<IFolderProvider> { new HomeFolderProvider(), new LiveFolderProvider(baseStreamsService), new FavoriteFolderProvider(), new FavoriteOnDemandFolderProvider(baseStreamsService), new FavoriteCondensedFolderProvider(baseStreamsService), //new FavoriteHighlightsFolderProvider(baseStreamsService), new DatesFolderProvider(baseStreamsService, logger), new OnDemandFolderProvider(baseStreamsService), new CondensedFolderProvider(baseStreamsService), //new HighlightsFolderProvider(baseStreamsService) }; _videoProviders = new List<IVideoProvider> { new LiveVideoProvider(baseStreamsService), new OnDemandVideoProvider(baseStreamsService), new CondensedVideoProvider(baseStreamsService), //new HighlightsVideoProvider(baseStreamsService) }; }
public HighlightsVideoProvider(StreamsService baseStreamsService) { _baseStreamsService = baseStreamsService; }
public FavoriteOnDemandFolderProvider(StreamsService baseStreamsService) { _baseStreamsService = baseStreamsService; }
public StreamsRestfulService(IHttpClient httpClient, IJsonSerializer jsonSerializer, IApplicationHost applicationHost) { _baseStreamsService = new StreamsService(httpClient, jsonSerializer, applicationHost); }
public FavoriteCondensedFolderProvider(StreamsService baseStreamsService) { _baseStreamsService = baseStreamsService; }
public OnDemandVideoProvider(StreamsService baseStreamsService) { _baseStreamsService = baseStreamsService; }
public HighlightsFolderProvider(StreamsService baseStreamsService) { _baseStreamsService = baseStreamsService; }
public LiveVideoProvider(StreamsService baseStreamsService) { _baseStreamsService = baseStreamsService; }
public CondensedVideoProvider(StreamsService baseStreamsService) { _baseStreamsService = baseStreamsService; }
public DatesFolderProvider(StreamsService baseStreamsService, ILogger logger) { _baseStreamsService = baseStreamsService; _logger = logger; }
public StreamsChannel(IHttpClient httpClient, IJsonSerializer jsonSerializer, IApplicationHost applicationHost, ILogManager logManager) { var baseStreamsService = new StreamsService(httpClient, jsonSerializer, applicationHost); var logger = logManager.GetLogger(GetType().Name); _mediaProviderFactory = new MediaProviderFactory(baseStreamsService, logger); }