mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-09 15:20:34 +02:00
update xmltv
This commit is contained in:
parent
fa76620eb7
commit
7388320d96
|
@ -80,9 +80,9 @@ namespace MediaBrowser.Model.LiveTv
|
||||||
|
|
||||||
public ListingsProviderInfo()
|
public ListingsProviderInfo()
|
||||||
{
|
{
|
||||||
NewsCategories = new string[] { "news" };
|
NewsCategories = new string[] { "news", "journalism", "documentary", "current affairs" };
|
||||||
SportsCategories = new string[] { "sports", "basketball", "baseball", "football" };
|
SportsCategories = new string[] { "sports", "basketball", "baseball", "football" };
|
||||||
KidsCategories = new string[] { "kids", "family", "children" };
|
KidsCategories = new string[] { "kids", "family", "children", "childrens", "disney" };
|
||||||
MovieCategories = new string[] { "movie" };
|
MovieCategories = new string[] { "movie" };
|
||||||
EnabledTuners = new string[] { };
|
EnabledTuners = new string[] { };
|
||||||
EnableAllTuners = true;
|
EnableAllTuners = true;
|
||||||
|
|
|
@ -15,12 +15,6 @@ namespace MediaBrowser.Server.Implementations.LiveTv.Listings
|
||||||
public class XmlTvListingsProvider : IListingsProvider
|
public class XmlTvListingsProvider : IListingsProvider
|
||||||
{
|
{
|
||||||
private string _language = null;
|
private string _language = null;
|
||||||
private Dictionary<string, List<string>> _categoryMappings = new Dictionary<string, List<string>>(){
|
|
||||||
{ "Movie", new List<String>() { "Movie", "Film" } },
|
|
||||||
//{ "Sports", new List<String>() { "Sports", "Football", "Rugby", "Soccer" } },
|
|
||||||
//{ "Kids", new List<String>() { "Childrens", "Children", "Kids", "Disney" } },
|
|
||||||
//{ "News", new List<String>() { "News", "Journalism", "Documentary", "Current Affairs" } },
|
|
||||||
};
|
|
||||||
|
|
||||||
private Dictionary<string, string> _channelMappings = new Dictionary<string, string>(){
|
private Dictionary<string, string> _channelMappings = new Dictionary<string, string>(){
|
||||||
{ "1", "UK_RT_2667" },
|
{ "1", "UK_RT_2667" },
|
||||||
|
|
Loading…
Reference in a new issue