2015-07-20 11:32:55 -07:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.LiveTv
|
2014-05-08 13:26:20 -07:00
|
|
|
|
{
|
|
|
|
|
public class LiveTvOptions
|
|
|
|
|
{
|
|
|
|
|
public int? GuideDays { get; set; }
|
2015-03-14 13:00:32 -07:00
|
|
|
|
public bool EnableMovieProviders { get; set; }
|
2015-07-20 11:32:55 -07:00
|
|
|
|
public string RecordingPath { get; set; }
|
2015-08-22 12:46:55 -07:00
|
|
|
|
public bool EnableAutoOrganize { get; set; }
|
2016-02-12 00:01:38 -07:00
|
|
|
|
public bool EnableRecordingEncoding { get; set; }
|
2015-03-14 18:42:09 -07:00
|
|
|
|
|
2015-07-22 22:25:55 -07:00
|
|
|
|
public List<TunerHostInfo> TunerHosts { get; set; }
|
|
|
|
|
public List<ListingsProviderInfo> ListingProviders { get; set; }
|
2015-08-23 19:08:20 -07:00
|
|
|
|
|
|
|
|
|
public int PrePaddingSeconds { get; set; }
|
|
|
|
|
public int PostPaddingSeconds { get; set; }
|
2016-02-24 12:06:26 -07:00
|
|
|
|
|
2015-03-14 18:42:09 -07:00
|
|
|
|
public LiveTvOptions()
|
|
|
|
|
{
|
|
|
|
|
EnableMovieProviders = true;
|
2015-07-20 11:32:55 -07:00
|
|
|
|
TunerHosts = new List<TunerHostInfo>();
|
2015-07-22 22:25:55 -07:00
|
|
|
|
ListingProviders = new List<ListingsProviderInfo>();
|
2015-03-14 18:42:09 -07:00
|
|
|
|
}
|
2014-05-08 13:26:20 -07:00
|
|
|
|
}
|
2015-07-20 11:32:55 -07:00
|
|
|
|
|
|
|
|
|
public class TunerHostInfo
|
|
|
|
|
{
|
2015-07-20 21:22:46 -07:00
|
|
|
|
public string Id { get; set; }
|
2015-07-20 11:32:55 -07:00
|
|
|
|
public string Url { get; set; }
|
|
|
|
|
public string Type { get; set; }
|
2016-03-07 22:00:03 -07:00
|
|
|
|
public string DeviceId { get; set; }
|
2015-07-25 11:11:46 -07:00
|
|
|
|
public bool ImportFavoritesOnly { get; set; }
|
2015-07-27 09:21:18 -07:00
|
|
|
|
public bool IsEnabled { get; set; }
|
2016-03-13 00:34:17 -07:00
|
|
|
|
public string M3UUrl { get; set; }
|
|
|
|
|
public string FriendlyName { get; set; }
|
|
|
|
|
public int Tuners { get; set; }
|
2016-03-13 20:32:03 -07:00
|
|
|
|
public string DiseqC { get; set; }
|
2015-07-27 09:21:18 -07:00
|
|
|
|
|
2016-02-25 13:29:38 -07:00
|
|
|
|
public int DataVersion { get; set; }
|
|
|
|
|
|
2015-07-27 09:21:18 -07:00
|
|
|
|
public TunerHostInfo()
|
|
|
|
|
{
|
|
|
|
|
IsEnabled = true;
|
|
|
|
|
}
|
2015-07-20 11:32:55 -07:00
|
|
|
|
}
|
2015-07-22 22:25:55 -07:00
|
|
|
|
|
|
|
|
|
public class ListingsProviderInfo
|
|
|
|
|
{
|
2015-07-23 06:23:22 -07:00
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
public string Type { get; set; }
|
2015-07-22 22:25:55 -07:00
|
|
|
|
public string Username { get; set; }
|
|
|
|
|
public string Password { get; set; }
|
|
|
|
|
public string ListingsId { get; set; }
|
2015-07-23 06:23:22 -07:00
|
|
|
|
public string ZipCode { get; set; }
|
2015-07-23 16:40:54 -07:00
|
|
|
|
public string Country { get; set; }
|
2016-02-16 20:07:15 -07:00
|
|
|
|
public string Path { get; set; }
|
2016-02-24 12:06:26 -07:00
|
|
|
|
|
|
|
|
|
public string[] EnabledTuners { get; set; }
|
|
|
|
|
public bool EnableAllTuners { get; set; }
|
|
|
|
|
|
|
|
|
|
public ListingsProviderInfo()
|
|
|
|
|
{
|
|
|
|
|
EnabledTuners = new string[] { };
|
|
|
|
|
EnableAllTuners = true;
|
|
|
|
|
}
|
2015-07-22 22:25:55 -07:00
|
|
|
|
}
|
2014-05-08 13:26:20 -07:00
|
|
|
|
}
|