aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-06-05 17:07:23 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-06-05 17:07:23 -0400
commitfa76620eb75dcf194ce02a2c1fe2b6178e5acaa3 (patch)
tree6d3182b233046a681f3449f88c86a195cdc63646
parentd47d3b0c7040a95175df55fc6f39d5e9b704f246 (diff)
update xmltv categories
-rw-r--r--MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs b/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs
index c5060944d..ac741a7d2 100644
--- a/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs
+++ b/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs
@@ -69,10 +69,10 @@ namespace MediaBrowser.Server.Implementations.LiveTv.Listings
IsSeries = p.IsSeries,
IsRepeat = p.IsRepeat,
// IsPremiere = !p.PreviouslyShown.HasValue,
- IsKids = p.Categories.Any(info.KidsGenres.Contains),
- IsMovie = p.Categories.Any(_categoryMappings["Movie"].Contains),
- IsNews = p.Categories.Any(info.NewsGenres.Contains),
- IsSports = p.Categories.Any(info.SportsGenres.Contains),
+ IsKids = p.Categories.Any(info.KidsCategories.Contains),
+ IsMovie = p.Categories.Any(info.MovieCategories.Contains),
+ IsNews = p.Categories.Any(info.NewsCategories.Contains),
+ IsSports = p.Categories.Any(info.SportsCategories.Contains),
ImageUrl = p.Icon != null && !String.IsNullOrEmpty(p.Icon.Source) ? p.Icon.Source : null,
HasImage = p.Icon != null && !String.IsNullOrEmpty(p.Icon.Source),
OfficialRating = p.Rating != null && !String.IsNullOrEmpty(p.Rating.Value) ? p.Rating.Value : null,