LiveTvOptions.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. using System.Collections.Generic;
  2. namespace MediaBrowser.Model.LiveTv
  3. {
  4. public class LiveTvOptions
  5. {
  6. public int? GuideDays { get; set; }
  7. public bool EnableMovieProviders { get; set; }
  8. public string RecordingPath { get; set; }
  9. public bool EnableAutoOrganize { get; set; }
  10. public List<TunerHostInfo> TunerHosts { get; set; }
  11. public List<ListingsProviderInfo> ListingProviders { get; set; }
  12. public int PrePaddingSeconds { get; set; }
  13. public int PostPaddingSeconds { get; set; }
  14. public LiveTvOptions()
  15. {
  16. EnableMovieProviders = true;
  17. TunerHosts = new List<TunerHostInfo>();
  18. ListingProviders = new List<ListingsProviderInfo>();
  19. }
  20. }
  21. public class TunerHostInfo
  22. {
  23. public string Id { get; set; }
  24. public string Url { get; set; }
  25. public string Type { get; set; }
  26. public bool ImportFavoritesOnly { get; set; }
  27. public bool IsEnabled { get; set; }
  28. public TunerHostInfo()
  29. {
  30. IsEnabled = true;
  31. }
  32. }
  33. public class ListingsProviderInfo
  34. {
  35. public string Id { get; set; }
  36. public string Type { get; set; }
  37. public string Username { get; set; }
  38. public string Password { get; set; }
  39. public string ListingsId { get; set; }
  40. public string ZipCode { get; set; }
  41. public string Country { get; set; }
  42. }
  43. }