aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-06-05 17:08:55 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-06-05 17:08:55 -0400
commit7388320d96a12044f367bf3f1e5e6e31c1904608 (patch)
tree74c37c16a6fa7d57b437fd1f8b490c0d2d358901
parentfa76620eb75dcf194ce02a2c1fe2b6178e5acaa3 (diff)
update xmltv
-rw-r--r--MediaBrowser.Model/LiveTv/LiveTvOptions.cs4
-rw-r--r--MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs6
2 files changed, 2 insertions, 8 deletions
diff --git a/MediaBrowser.Model/LiveTv/LiveTvOptions.cs b/MediaBrowser.Model/LiveTv/LiveTvOptions.cs
index bcc957df2..33f63e3eb 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 ac741a7d2..a713ff0ef 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<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>(){
{ "1", "UK_RT_2667" },