The Free Software Media System - Server Backend & API
Switch branches if statement
Bond_0096a6ea7fa1370
diff --git a/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs b/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.csindex 0232843b16..7570a2bcf9 100644--- a/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs+++ b/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs@@ -161,9 +161,9 @@ namespace Emby.Server.Implementations.LiveTv.ListingsIsMovie = program.Categories.Any(c => info.MovieCategories.Contains(c, StringComparison.OrdinalIgnoreCase)),IsNews = program.Categories.Any(c => info.NewsCategories.Contains(c, StringComparison.OrdinalIgnoreCase)),IsSports = program.Categories.Any(c => info.SportsCategories.Contains(c, StringComparison.OrdinalIgnoreCase)),- ImageUrl = !string.IsNullOrEmpty(program.Icon?.Source) ? program.Icon.Source : null,+ ImageUrl = string.IsNullOrEmpty(program.Icon?.Source) ? null : program.Icon.Source,HasImage = !string.IsNullOrEmpty(program.Icon?.Source),- OfficialRating = !string.IsNullOrEmpty(program.Rating?.Value) ? program.Rating.Value : null,+ OfficialRating = string.IsNullOrEmpty(program.Rating?.Value) ? null : program.Rating.Value,CommunityRating = program.StarRating,SeriesId = program.Episode == null ? null : program.Title.GetMD5().ToString("N", CultureInfo.InvariantCulture)};