aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/LiveTv/LiveTvOptions.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2015-09-02 11:50:00 -0400
committerLuke <luke.pulverenti@gmail.com>2015-09-02 11:50:00 -0400
commitf868dd81e856488280978006cbb67afc2677049d (patch)
tree616ba8ae846efe9ec889abeb12f6b2702c6b8592 /MediaBrowser.Model/LiveTv/LiveTvOptions.cs
parentaf89446c20fb302087b82c18c28da92076dbc5ac (diff)
parente6d5901408ba7d8e344a27ea1f3b0046c40e56c1 (diff)
Merge pull request #1164 from MediaBrowser/dev
3.0.5724.1
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 c6f6ed84ce..2b45422ec3 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