update xmltv categories

This commit is contained in:
Luke Pulverenti 2016-06-05 17:07:23 -04:00
parent d47d3b0c70
commit fa76620eb7

View File

@ -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,