diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-06-15 11:55:46 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-06-15 11:55:46 -0400 |
| commit | c20674a2997b962d603b678fc50037e0d214970e (patch) | |
| tree | bacf5270dc749b9a979ebb5bbce50e5ad21eef21 | |
| parent | c8b4e580bb827166fcf45a109751702e15be982e (diff) | |
| parent | 1ce4787a351d87f96b86c775c52f3ffb3160979a (diff) | |
Merge pull request #1846 from ChubbyArse/dev
IsSeries driven by Episode data
| -rw-r--r-- | MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs b/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs index 010ee80ff..d00112d07 100644 --- a/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs +++ b/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs @@ -96,7 +96,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv.Listings ShortOverview = p.Description, ProductionYear = !p.CopyrightDate.HasValue ? (int?)null : p.CopyrightDate.Value.Year, SeasonNumber = p.Episode == null ? null : p.Episode.Series, - IsSeries = p.IsSeries, + IsSeries = p.Episode != null, IsRepeat = p.IsRepeat, IsPremiere = p.Premiere != null, IsKids = p.Categories.Any(c => info.KidsCategories.Contains(c, StringComparer.InvariantCultureIgnoreCase)), @@ -107,7 +107,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv.Listings HasImage = p.Icon != null && !String.IsNullOrEmpty(p.Icon.Source), OfficialRating = p.Rating != null && !String.IsNullOrEmpty(p.Rating.Value) ? p.Rating.Value : null, CommunityRating = p.StarRating.HasValue ? p.StarRating.Value : (float?)null, - SeriesId = p.IsSeries ? p.Title.GetMD5().ToString("N") : null + SeriesId = p.Episode != null ? p.Title.GetMD5().ToString("N") : null }); } |
