mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-07-04 14:59:23 +02:00
- Philips: fixed error saving the Favorite.xml file (effects Philips "ChannelMap_105" and later file format versions)
- added Hungarian translation (credits to Istvan Krisko) - Sony XML: fixed display of wrong DVB-C cable channel/transponder number - LG webOS 5: unfortunately no news yet, but the insight that some "CX" models run on webOS 3.6 and others on 5.1, using different file formats.
This commit is contained in:
@@ -230,7 +230,12 @@ namespace ChanSort.Api
|
||||
if (freqInMhz > 2000)
|
||||
freqInMhz /= 1000;
|
||||
|
||||
return dvbcChannels.TryGet((int)(freqInMhz * 1000)) ?? dvbcChannels.TryGet((int)((freqInMhz-1) * 1000)) ?? "";
|
||||
return dvbcChannels.TryGet((int)(freqInMhz * 1000))
|
||||
?? dvbcChannels.TryGet((int)((freqInMhz - 1) * 1000))
|
||||
?? dvbcChannels.TryGet((int)((freqInMhz - 2) * 1000))
|
||||
?? dvbcChannels.TryGet((int)((freqInMhz + 1) * 1000))
|
||||
?? dvbcChannels.TryGet((int)((freqInMhz + 2) * 1000))
|
||||
?? "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user