The Free Software Media System - Server Backend & API
update xmltv categories
Luke Pulverentifa76620eb75d
diff --git a/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs b/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.csindex c5060944d2..ac741a7d2d 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.ListingsIsSeries = 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,