diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-06-14 15:23:39 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-06-14 15:23:39 -0400 |
| commit | 2b49a0ee0fcbac5cd2cdcea8157e56d7f4fe743f (patch) | |
| tree | 9a3e8bbc4c50f3c1a739099a3c942b2c85ad93af /MediaBrowser.Server.Implementations/LiveTv | |
| parent | 48a66372a587ad168a2612b2f1187c89f998247e (diff) | |
| parent | 66c86ccc58d1022bdb65d63b47df82845ad921c7 (diff) | |
Merge pull request #1844 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Server.Implementations/LiveTv')
| -rw-r--r-- | MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs b/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs index 1628ddc01..07affb865 100644 --- a/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs +++ b/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs @@ -45,6 +45,8 @@ namespace MediaBrowser.Server.Implementations.LiveTv.Listings private async Task<string> GetXml(string path, CancellationToken cancellationToken) { + _logger.Info("xmltv path: {0}", path); + if (!path.StartsWith("http", StringComparison.OrdinalIgnoreCase)) { return path; @@ -161,7 +163,9 @@ namespace MediaBrowser.Server.Implementations.LiveTv.Listings { Id = c.Id, Name = c.DisplayName, - ImageUrl = c.Icon != null && !String.IsNullOrEmpty(c.Icon.Source) ? c.Icon.Source : null + ImageUrl = c.Icon != null && !String.IsNullOrEmpty(c.Icon.Source) ? c.Icon.Source : null, + Number = c.Id + }).ToList(); } } |
