mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-27 12:34:56 +01:00
rework guide mappings
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user