rework guide mappings

This commit is contained in:
Luke Pulverenti
2017-02-04 18:32:16 -05:00
parent ac3ec6d185
commit 851364f84f
10 changed files with 289 additions and 322 deletions

View File

@@ -96,17 +96,5 @@ namespace MediaBrowser.Model.LiveTv
EnableAllTuners = true;
ChannelMappings = new NameValuePair[] {};
}
public string GetMappedChannel(string channelNumber)
{
foreach (NameValuePair mapping in ChannelMappings)
{
if (StringHelper.EqualsIgnoreCase(mapping.Name, channelNumber))
{
return mapping.Value;
}
}
return channelNumber;
}
}
}