jellyfin/MediaBrowser.Model/LiveTv/LiveTvOptions.cs

37 lines
1.0 KiB
C#
Raw Normal View History

2015-07-20 18:32:55 +00:00
using System.Collections.Generic;
namespace MediaBrowser.Model.LiveTv
{
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; }
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-03-15 01:42:09 +00:00
public LiveTvOptions()
{
EnableMovieProviders = 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>();
2015-03-15 01:42:09 +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; }
}
2015-07-23 05:25:55 +00:00
public class ListingsProviderInfo
{
public string ProviderName { get; set; }
public string Username { get; set; }
public string Password { get; set; }
public string ZipCode { get; set; }
public string ListingsId { get; set; }
}
}