2015-07-20 18:32:55 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.LiveTv
|
2014-05-08 20:26:20 +00:00
|
|
|
|
{
|
|
|
|
|
public class LiveTvOptions
|
|
|
|
|
{
|
|
|
|
|
public int? GuideDays { get; set; }
|
2015-03-14 20:00:32 +00:00
|
|
|
|
public bool EnableMovieProviders { get; set; }
|
2015-07-20 18:32:55 +00:00
|
|
|
|
public string RecordingPath { get; set; }
|
2016-05-04 20:50:47 +00:00
|
|
|
|
public string MovieRecordingPath { get; set; }
|
|
|
|
|
public string SeriesRecordingPath { get; set; }
|
2015-08-22 19:46:55 +00:00
|
|
|
|
public bool EnableAutoOrganize { get; set; }
|
2016-02-12 07:01:38 +00:00
|
|
|
|
public bool EnableRecordingEncoding { get; set; }
|
2016-05-04 20:50:47 +00:00
|
|
|
|
public bool EnableRecordingSubfolders { get; set; }
|
2016-04-27 21:26:28 +00:00
|
|
|
|
public bool EnableOriginalAudioWithEncodedRecordings { get; set; }
|
2015-03-15 01:42:09 +00:00
|
|
|
|
|
2015-07-23 05:25:55 +00:00
|
|
|
|
public List<TunerHostInfo> TunerHosts { get; set; }
|
|
|
|
|
public List<ListingsProviderInfo> ListingProviders { get; set; }
|
2015-08-24 02:08:20 +00:00
|
|
|
|
|
|
|
|
|
public int PrePaddingSeconds { get; set; }
|
|
|
|
|
public int PostPaddingSeconds { get; set; }
|
2016-02-24 19:06:26 +00:00
|
|
|
|
|
2016-05-20 15:57:07 +00:00
|
|
|
|
public string[] MediaLocationsCreated { get; set; }
|
|
|
|
|
|
2015-03-15 01:42:09 +00:00
|
|
|
|
public LiveTvOptions()
|
|
|
|
|
{
|
|
|
|
|
EnableMovieProviders = true;
|
2016-05-04 20:50:47 +00:00
|
|
|
|
EnableRecordingSubfolders = true;
|
2015-07-20 18:32:55 +00:00
|
|
|
|
TunerHosts = new List<TunerHostInfo>();
|
2015-07-23 05:25:55 +00:00
|
|
|
|
ListingProviders = new List<ListingsProviderInfo>();
|
2016-05-20 15:57:07 +00:00
|
|
|
|
MediaLocationsCreated = new string[] { };
|
2015-03-15 01:42:09 +00:00
|
|
|
|
}
|
2014-05-08 20:26:20 +00:00
|
|
|
|
}
|
2015-07-20 18:32:55 +00:00
|
|
|
|
|
|
|
|
|
public class TunerHostInfo
|
|
|
|
|
{
|
2015-07-21 04:22:46 +00:00
|
|
|
|
public string Id { get; set; }
|
2015-07-20 18:32:55 +00:00
|
|
|
|
public string Url { get; set; }
|
|
|
|
|
public string Type { get; set; }
|
2016-03-08 05:00:03 +00:00
|
|
|
|
public string DeviceId { get; set; }
|
2015-07-25 18:11:46 +00:00
|
|
|
|
public bool ImportFavoritesOnly { get; set; }
|
2016-04-04 06:46:45 +00:00
|
|
|
|
public bool AllowHWTranscoding { get; set; }
|
2015-07-27 16:21:18 +00:00
|
|
|
|
public bool IsEnabled { get; set; }
|
2016-03-13 07:34:17 +00:00
|
|
|
|
public string M3UUrl { get; set; }
|
2016-03-16 21:39:49 +00:00
|
|
|
|
public string InfoUrl { get; set; }
|
2016-03-13 07:34:17 +00:00
|
|
|
|
public string FriendlyName { get; set; }
|
|
|
|
|
public int Tuners { get; set; }
|
2016-03-14 03:32:03 +00:00
|
|
|
|
public string DiseqC { get; set; }
|
2016-03-31 19:41:52 +00:00
|
|
|
|
public string SourceA { get; set; }
|
|
|
|
|
public string SourceB { get; set; }
|
|
|
|
|
public string SourceC { get; set; }
|
|
|
|
|
public string SourceD { get; set; }
|
2015-07-27 16:21:18 +00:00
|
|
|
|
|
2016-02-25 20:29:38 +00:00
|
|
|
|
public int DataVersion { get; set; }
|
|
|
|
|
|
2015-07-27 16:21:18 +00:00
|
|
|
|
public TunerHostInfo()
|
|
|
|
|
{
|
|
|
|
|
IsEnabled = true;
|
2016-04-04 06:46:45 +00:00
|
|
|
|
AllowHWTranscoding = true;
|
2015-07-27 16:21:18 +00:00
|
|
|
|
}
|
2015-07-20 18:32:55 +00:00
|
|
|
|
}
|
2015-07-23 05:25:55 +00:00
|
|
|
|
|
|
|
|
|
public class ListingsProviderInfo
|
|
|
|
|
{
|
2015-07-23 13:23:22 +00:00
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
public string Type { get; set; }
|
2015-07-23 05:25:55 +00:00
|
|
|
|
public string Username { get; set; }
|
|
|
|
|
public string Password { get; set; }
|
|
|
|
|
public string ListingsId { get; set; }
|
2015-07-23 13:23:22 +00:00
|
|
|
|
public string ZipCode { get; set; }
|
2015-07-23 23:40:54 +00:00
|
|
|
|
public string Country { get; set; }
|
2016-02-17 03:07:15 +00:00
|
|
|
|
public string Path { get; set; }
|
2016-02-24 19:06:26 +00:00
|
|
|
|
|
|
|
|
|
public string[] EnabledTuners { get; set; }
|
|
|
|
|
public bool EnableAllTuners { get; set; }
|
2016-06-05 20:41:44 +00:00
|
|
|
|
public string[] NewsCategories { get; set; }
|
|
|
|
|
public string[] SportsCategories { get; set; }
|
|
|
|
|
public string[] KidsCategories { get; set; }
|
|
|
|
|
public string[] MovieCategories { get; set; }
|
2016-02-24 19:06:26 +00:00
|
|
|
|
|
|
|
|
|
public ListingsProviderInfo()
|
|
|
|
|
{
|
2016-06-05 21:08:55 +00:00
|
|
|
|
NewsCategories = new string[] { "news", "journalism", "documentary", "current affairs" };
|
2016-06-05 20:41:44 +00:00
|
|
|
|
SportsCategories = new string[] { "sports", "basketball", "baseball", "football" };
|
2016-06-05 21:08:55 +00:00
|
|
|
|
KidsCategories = new string[] { "kids", "family", "children", "childrens", "disney" };
|
2016-06-05 20:41:44 +00:00
|
|
|
|
MovieCategories = new string[] { "movie" };
|
2016-02-24 19:06:26 +00:00
|
|
|
|
EnabledTuners = new string[] { };
|
|
|
|
|
EnableAllTuners = true;
|
|
|
|
|
}
|
2015-07-23 05:25:55 +00:00
|
|
|
|
}
|
2016-04-04 06:46:45 +00:00
|
|
|
|
}
|