aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/LiveTv/LiveTvOptions.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model/LiveTv/LiveTvOptions.cs')
-rw-r--r--MediaBrowser.Model/LiveTv/LiveTvOptions.cs39
1 files changed, 38 insertions, 1 deletions
diff --git a/MediaBrowser.Model/LiveTv/LiveTvOptions.cs b/MediaBrowser.Model/LiveTv/LiveTvOptions.cs
index c6f6ed84c..2b45422ec 100644
--- a/MediaBrowser.Model/LiveTv/LiveTvOptions.cs
+++ b/MediaBrowser.Model/LiveTv/LiveTvOptions.cs
@@ -1,13 +1,50 @@
-namespace MediaBrowser.Model.LiveTv
+using System.Collections.Generic;
+
+namespace MediaBrowser.Model.LiveTv
{
public class LiveTvOptions
{
public int? GuideDays { get; set; }
public bool EnableMovieProviders { get; set; }
+ public string RecordingPath { get; set; }
+ public bool EnableAutoOrganize { get; set; }
+
+ public List<TunerHostInfo> TunerHosts { get; set; }
+ public List<ListingsProviderInfo> ListingProviders { get; set; }
+ public int PrePaddingSeconds { get; set; }
+ public int PostPaddingSeconds { get; set; }
+
public LiveTvOptions()
{
EnableMovieProviders = true;
+ TunerHosts = new List<TunerHostInfo>();
+ ListingProviders = new List<ListingsProviderInfo>();
}
}
+
+ public class TunerHostInfo
+ {
+ public string Id { get; set; }
+ public string Url { get; set; }
+ public string Type { get; set; }
+ public bool ImportFavoritesOnly { get; set; }
+ public bool IsEnabled { get; set; }
+
+ public TunerHostInfo()
+ {
+ IsEnabled = true;
+ }
+ }
+
+ public class ListingsProviderInfo
+ {
+ public string Id { get; set; }
+ public string Type { get; set; }
+ public string Username { get; set; }
+ public string Password { get; set; }
+ public string ListingsId { get; set; }
+ public string ZipCode { get; set; }
+ public string Country { get; set; }
+ }
} \ No newline at end of file