LiveTvOptions.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #nullable disable
  2. #pragma warning disable CS1591
  3. using System;
  4. namespace MediaBrowser.Model.LiveTv
  5. {
  6. public class LiveTvOptions
  7. {
  8. public LiveTvOptions()
  9. {
  10. TunerHosts = Array.Empty<TunerHostInfo>();
  11. ListingProviders = Array.Empty<ListingsProviderInfo>();
  12. MediaLocationsCreated = Array.Empty<string>();
  13. RecordingPostProcessorArguments = "\"{path}\"";
  14. }
  15. public int? GuideDays { get; set; }
  16. public string RecordingPath { get; set; }
  17. public string MovieRecordingPath { get; set; }
  18. public string SeriesRecordingPath { get; set; }
  19. public bool EnableRecordingSubfolders { get; set; }
  20. public bool EnableOriginalAudioWithEncodedRecordings { get; set; }
  21. public TunerHostInfo[] TunerHosts { get; set; }
  22. public ListingsProviderInfo[] ListingProviders { get; set; }
  23. public int PrePaddingSeconds { get; set; }
  24. public int PostPaddingSeconds { get; set; }
  25. public string[] MediaLocationsCreated { get; set; }
  26. public string RecordingPostProcessor { get; set; }
  27. public string RecordingPostProcessorArguments { get; set; }
  28. public bool SaveRecordingNFO { get; set; } = true;
  29. public bool SaveRecordingImages { get; set; } = true;
  30. }
  31. }