jellyfin/MediaBrowser.Model/LiveTv/LiveTvOptions.cs

47 lines
1.3 KiB
C#
Raw Normal View History

2015-07-20 20:32:55 +02:00
using System.Collections.Generic;
namespace MediaBrowser.Model.LiveTv
{
public class LiveTvOptions
{
public int? GuideDays { get; set; }
2015-03-14 21:00:32 +01:00
public bool EnableMovieProviders { get; set; }
2015-07-20 20:32:55 +02:00
public string RecordingPath { get; set; }
2015-08-22 21:46:55 +02:00
public bool EnableAutoOrganize { get; set; }
2015-03-15 02:42:09 +01:00
2015-07-23 07:25:55 +02:00
public List<TunerHostInfo> TunerHosts { get; set; }
public List<ListingsProviderInfo> ListingProviders { get; set; }
2015-03-15 02:42:09 +01:00
public LiveTvOptions()
{
EnableMovieProviders = true;
2015-07-20 20:32:55 +02:00
TunerHosts = new List<TunerHostInfo>();
2015-07-23 07:25:55 +02:00
ListingProviders = new List<ListingsProviderInfo>();
2015-03-15 02:42:09 +01:00
}
}
2015-07-20 20:32:55 +02:00
public class TunerHostInfo
{
2015-07-21 06:22:46 +02:00
public string Id { get; set; }
2015-07-20 20:32:55 +02:00
public string Url { get; set; }
public string Type { get; set; }
2015-07-25 20:11:46 +02:00
public bool ImportFavoritesOnly { get; set; }
2015-07-27 18:21:18 +02:00
public bool IsEnabled { get; set; }
public TunerHostInfo()
{
IsEnabled = true;
}
2015-07-20 20:32:55 +02:00
}
2015-07-23 07:25:55 +02:00
public class ListingsProviderInfo
{
2015-07-23 15:23:22 +02:00
public string Id { get; set; }
public string Type { get; set; }
2015-07-23 07:25:55 +02:00
public string Username { get; set; }
public string Password { get; set; }
public string ListingsId { get; set; }
2015-07-23 15:23:22 +02:00
public string ZipCode { get; set; }
2015-07-24 01:40:54 +02:00
public string Country { get; set; }
2015-07-23 07:25:55 +02:00
}
}