Example #1
0
 public EncodedRecorder(ILogger logger, IFileSystem fileSystem, IMediaEncoder mediaEncoder, IApplicationPaths appPaths, IJsonSerializer json, LiveTvOptions liveTvOptions)
 {
     _logger        = logger;
     _fileSystem    = fileSystem;
     _mediaEncoder  = mediaEncoder;
     _appPaths      = appPaths;
     _json          = json;
     _liveTvOptions = liveTvOptions;
 }
Example #2
0
 public EncodedRecorder(ILogger logger, IFileSystem fileSystem, IMediaEncoder mediaEncoder, IServerApplicationPaths appPaths, IJsonSerializer json, LiveTvOptions liveTvOptions, IHttpClient httpClient, IProcessFactory processFactory)
 {
     _logger         = logger;
     _fileSystem     = fileSystem;
     _mediaEncoder   = mediaEncoder;
     _appPaths       = appPaths;
     _json           = json;
     _liveTvOptions  = liveTvOptions;
     _httpClient     = httpClient;
     _processFactory = processFactory;
 }
Example #3
0
 private void SaveLiveTVConfiguration(LiveTvOptions config)
 {
     _config.SaveConfiguration("livetv", config);
 }
Example #4
0
 private void UpdateConfiguration(LiveTvOptions options)
 {
     _config.SaveConfiguration("livetv", options);
 }