- 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:
Horst Beham
2020-12-05 21:55:43 +01:00
parent 2c61c28b5f
commit 6584a666c6
43 changed files with 3491 additions and 80 deletions

View File

@@ -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))
?? "";
}
}
}