|
|
|
|
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 List<TunerHostInfo> TunerHosts { get; set; }
|
|
|
|
|
public List<ListingsProviderInfo> ListingProviders { 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 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; }
|
|
|
|
|
}
|
|
|
|
|
}
|