update xmltv categories
This commit is contained in:
parent
d47d3b0c70
commit
fa76620eb7
|
@ -69,10 +69,10 @@ namespace MediaBrowser.Server.Implementations.LiveTv.Listings
|
||||||
IsSeries = p.IsSeries,
|
IsSeries = p.IsSeries,
|
||||||
IsRepeat = p.IsRepeat,
|
IsRepeat = p.IsRepeat,
|
||||||
// IsPremiere = !p.PreviouslyShown.HasValue,
|
// IsPremiere = !p.PreviouslyShown.HasValue,
|
||||||
IsKids = p.Categories.Any(info.KidsGenres.Contains),
|
IsKids = p.Categories.Any(info.KidsCategories.Contains),
|
||||||
IsMovie = p.Categories.Any(_categoryMappings["Movie"].Contains),
|
IsMovie = p.Categories.Any(info.MovieCategories.Contains),
|
||||||
IsNews = p.Categories.Any(info.NewsGenres.Contains),
|
IsNews = p.Categories.Any(info.NewsCategories.Contains),
|
||||||
IsSports = p.Categories.Any(info.SportsGenres.Contains),
|
IsSports = p.Categories.Any(info.SportsCategories.Contains),
|
||||||
ImageUrl = p.Icon != null && !String.IsNullOrEmpty(p.Icon.Source) ? p.Icon.Source : null,
|
ImageUrl = p.Icon != null && !String.IsNullOrEmpty(p.Icon.Source) ? p.Icon.Source : null,
|
||||||
HasImage = p.Icon != null && !String.IsNullOrEmpty(p.Icon.Source),
|
HasImage = p.Icon != null && !String.IsNullOrEmpty(p.Icon.Source),
|
||||||
OfficialRating = p.Rating != null && !String.IsNullOrEmpty(p.Rating.Value) ? p.Rating.Value : null,
|
OfficialRating = p.Rating != null && !String.IsNullOrEmpty(p.Rating.Value) ? p.Rating.Value : null,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user