mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-01-19 13:52:04 +01:00
- Samsung J series: fixed deleting of channels
- LG GlobalClone: modified channel names were not written to the file - LG GlobalClone: ask whether the conflicting xx*.TLL files should be renamed so that the TV can import the GlobalClone file. - LG GlobalClone: improved support for old file format with may have caused errors due to invalid XML characters inside the file. - Panasonic: re-enabled channel lists with gaps in the numbers - Update-Check: looking for latest version at github.com - Detecting corrupted files with 0 size or all bytes with value 0 - upgraded to latest DevExpress version
This commit is contained in:
@@ -192,7 +192,8 @@ namespace ChanSort.Loader.LG
|
||||
{
|
||||
if (fileContent.Length < 4)
|
||||
throw new FileLoadException(ERR_modelUnknown);
|
||||
if (BitConverter.ToUInt32(fileContent, off) == 0x5A5A5A5A)
|
||||
var magic = BitConverter.ToUInt32(fileContent, off);
|
||||
if (magic == 0x5A5A5A5A || magic == 0xA5A5A5A5)
|
||||
off += 4;
|
||||
}
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user