aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/LiveTv/Listings
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-06-06 14:22:42 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-06-06 14:22:42 -0400
commit83105f5aaeea7af09154f6c765b414393740f00d (patch)
tree333f6ae3ccc25d7122a1558c42bd4e1ddeb04f24 /MediaBrowser.Server.Implementations/LiveTv/Listings
parentfaefbf36cc761f6b488f9ad3dfdd3ebdf7022c8a (diff)
stubbed out channel mappings
Diffstat (limited to 'MediaBrowser.Server.Implementations/LiveTv/Listings')
-rw-r--r--MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs13
1 files changed, 0 insertions, 13 deletions
diff --git a/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs b/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs
index 4f43d93b70..5b0b2ad84b 100644
--- a/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs
+++ b/MediaBrowser.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs
@@ -17,14 +17,6 @@ namespace MediaBrowser.Server.Implementations.LiveTv.Listings
{
private readonly IServerConfigurationManager _config;
- private Dictionary<string, string> _channelMappings = new Dictionary<string, string>(){
- { "1", "UK_RT_2667" },
- { "2", "UK_RT_116" },
- { "3", "UK_RT_2118" },
- { "4", "UK_RT_2056" },
- { "5", "UK_RT_134" }
- };
-
public XmlTvListingsProvider(IServerConfigurationManager config)
{
_config = config;
@@ -51,11 +43,6 @@ namespace MediaBrowser.Server.Implementations.LiveTv.Listings
var reader = new XmlTvReader(info.Path, GetLanguage(), null);
string mappedChannel = channelNumber;
- if (_channelMappings.ContainsKey(channelNumber))
- {
- mappedChannel = _channelMappings[channelNumber];
- }
-
var results = reader.GetProgrammes(mappedChannel, startDateUtc, endDateUtc, cancellationToken);
return Task.FromResult(results.Select(p => new ProgramInfo()
{