From 7388320d96a12044f367bf3f1e5e6e31c1904608 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 5 Jun 2016 17:08:55 -0400 Subject: [PATCH] update xmltv --- MediaBrowser.Model/LiveTv/LiveTvOptions.cs | 4 ++-- .../LiveTv/Listings/XmlTvListingsProvider.cs | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/MediaBrowser.Model/LiveTv/LiveTvOptions.cs b/MediaBrowser.Model/LiveTv/LiveTvOptions.cs index bcc957df29..33f63e3eb2 100644 --- a/MediaBrowser.Model/LiveTv/LiveTvOptions.cs +++ b/MediaBrowser.Model/LiveTv/LiveTvOptions.cs @@ -80,9 +80,9 @@ namespace MediaBrowser.Model.LiveTv public ListingsProviderInfo() { - NewsCategories = new string[] { "news" }; + NewsCategories = new string[] { "news", "journalism", "documentary", "current affairs" }; 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" }; EnabledTuners = new string[] { }; EnableAllTuners = true; diff --git a/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs b/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs index ac741a7d2d..a713ff0ef0 100644 --- a/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs +++ b/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs @@ -15,12 +15,6 @@ namespace MediaBrowser.Server.Implementations.LiveTv.Listings public class XmlTvListingsProvider : IListingsProvider { private string _language = null; - private Dictionary> _categoryMappings = new Dictionary>(){ - { "Movie", new List() { "Movie", "Film" } }, - //{ "Sports", new List() { "Sports", "Football", "Rugby", "Soccer" } }, - //{ "Kids", new List() { "Childrens", "Children", "Kids", "Disney" } }, - //{ "News", new List() { "News", "Journalism", "Documentary", "Current Affairs" } }, - }; private Dictionary _channelMappings = new Dictionary(){ { "1", "UK_RT_2667" },