From 6e2358ffbbb2f3a42c29d770a84fc6f3daf94591 Mon Sep 17 00:00:00 2001 From: Horst Beham Date: Fri, 2 Apr 2021 19:36:46 +0200 Subject: [PATCH] - Philips: another fix for lists with missing s2channellib\\DVBSall.xml file --- source/ChanSort.Loader.Philips/ChanLstBin.cs | 2 ++ source/changelog.md | 3 +++ 2 files changed, 5 insertions(+) diff --git a/source/ChanSort.Loader.Philips/ChanLstBin.cs b/source/ChanSort.Loader.Philips/ChanLstBin.cs index cd6e7c4..2c2b988 100644 --- a/source/ChanSort.Loader.Philips/ChanLstBin.cs +++ b/source/ChanSort.Loader.Philips/ChanLstBin.cs @@ -154,6 +154,8 @@ namespace ChanSort.Loader.Philips foreach (var entry in crcOffsetByRelPath) { var path = baseDir + entry.Key; + if (!File.Exists(path)) + continue; var data = File.ReadAllBytes(path); var length = data.Length; if (VersionMajor < 12 && length > 0x6000) diff --git a/source/changelog.md b/source/changelog.md index a12cece..22054a4 100644 --- a/source/changelog.md +++ b/source/changelog.md @@ -1,6 +1,9 @@ ChanSort Change Log =================== +2021-04-02_1734: +- Philips: another fix for lists with missing s2channellib\\DVBSall.xml file + 2021-04-02 - Philips: skip read-only files when loading the list, so they don't cause errors when the list is saved (e.g. DVBSall.xml)