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