LiveTvOptions.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 List<TunerHostInfo> TunerHosts { get; set; }
  10. public List<ListingsProviderInfo> ListingProviders { get; set; }
  11. public LiveTvOptions()
  12. {
  13. EnableMovieProviders = true;
  14. TunerHosts = new List<TunerHostInfo>();
  15. ListingProviders = new List<ListingsProviderInfo>();
  16. }
  17. }
  18. public class TunerHostInfo
  19. {
  20. public string Id { get; set; }
  21. public string Url { get; set; }
  22. public string Type { get; set; }
  23. public bool ImportFavoritesOnly { get; set; }
  24. public bool IsEnabled { get; set; }
  25. public TunerHostInfo()
  26. {
  27. IsEnabled = true;
  28. }
  29. }
  30. public class ListingsProviderInfo
  31. {
  32. public string Id { get; set; }
  33. public string Type { get; set; }
  34. public string Username { get; set; }
  35. public string Password { get; set; }
  36. public string ListingsId { get; set; }
  37. public string ZipCode { get; set; }
  38. public string Country { get; set; }
  39. }
  40. }