Skip to content

Commit

Permalink
- Philips: another fix for lists with missing s2channellib\\DVBSall.x…
Browse files Browse the repository at this point in the history
…ml file
  • Loading branch information
Horst Beham committed Apr 2, 2021
1 parent 0306c63 commit 6e2358f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/ChanSort.Loader.Philips/ChanLstBin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ public void Save(string chanLstBinPath)
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)
Expand Down
3 changes: 3 additions & 0 deletions source/changelog.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down

0 comments on commit 6e2358f

Please sign in to comment.