- fixed support for Philips channel lists with format 100

This commit is contained in:
Horst Beham
2020-01-02 20:49:30 +01:00
parent f04cb5e903
commit d293ee14d3
2 changed files with 4 additions and 1 deletions

View File

@@ -145,6 +145,8 @@ namespace ChanSort.Loader.PhilipsXml
private void LoadFile(string fileName)
{
if (!File.Exists(fileName))
return;
bool fail = false;
var fileData = new FileData();
try
@@ -282,7 +284,7 @@ namespace ChanSort.Loader.PhilipsXml
data.Add(attr.LocalName, attr.Value);
}
if (!int.TryParse(data["UniqueID"], out var uniqueId)) // UniqueId only exists in ChannelMap_105 and later
if (!data.ContainsKey("UniqueID") || !int.TryParse(data["UniqueID"], out var uniqueId)) // UniqueId only exists in ChannelMap_105 and later
uniqueId = rowId;
var chan = new Channel(curList.SignalSource & SignalSource.MaskAdInput, rowId, uniqueId, setupNode);
chan.OldProgramNr = -1;

View File

@@ -4,6 +4,7 @@ ChanSort Change Log
2020-01-02
- added support for m3u lists (SAT>IP, VLC, WinAmp, ...)
- added support for Hisense H50B7700UW (and maybe others which use the same favorite list table schema)
- fixed support for Philips lists with format 100
- fixed missing DLLs with spanish translation
- fixed polarity display for Samsung (caused by a stale .ini file in the package)
- disabled "Lock" toggle button when the list does not support parental locks