diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-06-15 12:46:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-06-15 12:46:35 -0400 |
| commit | f18ea222f21f1cd6ce9e4e4c329633438ba1ed9a (patch) | |
| tree | 65efdfdd7bbee562aa8ef6ee0835bbf14d82d582 /MediaBrowser.Server.Implementations/LiveTv | |
| parent | 48bf454f094d44106fe4ff137d0160aa7775cff8 (diff) | |
| parent | 6118e5f966c4f26e44c4028ed946a701ec25e8be (diff) | |
Merge pull request #1847 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Server.Implementations/LiveTv')
| -rw-r--r-- | MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs b/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs index 010ee80ff..d536d3004 100644 --- a/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs +++ b/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs @@ -66,7 +66,8 @@ namespace MediaBrowser.Server.Implementations.LiveTv.Listings { CancellationToken = cancellationToken, Url = path, - Progress = new Progress<Double>() + Progress = new Progress<Double>(), + EnableHttpCompression = false }).ConfigureAwait(false); @@ -96,7 +97,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 +108,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 }); } |
