mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-05-06 22:46:20 +02:00
- added support for Philips PFL9715K/02 (Repair\s2channellib\*.dat channel list format version 0.1)
- added support for Grundig dtv_cmdb_3.bin channel lists with size of 1270 KB - fixed saving of Grundig dtv_cmdb_3.bin channel lists with size of 1293 KB - updated tivusat reference list - fixed issue when saving *cmdb_*.bin channel lists after applying a reference list which contains missing channels - HB_DATABASE_mm_dd.DBM for Strong SRT 7007: added option "reorderPhysically" in ChanSort.Loader.DBM.ini for this particular format to not only change the number but also change the order or data records in the file - removed app.config files containing assembly redirects from projects and included them in the central Solution.props instead - upgraded various NuGet packages
This commit is contained in:
@@ -7,7 +7,7 @@ namespace ChanSort.Loader.SatcoDX
|
||||
{
|
||||
internal class Channel : ChannelInfo
|
||||
{
|
||||
private byte[] data;
|
||||
private readonly byte[] data;
|
||||
public int FileOffset { get; }
|
||||
public int Length { get; }
|
||||
|
||||
@@ -75,7 +75,10 @@ namespace ChanSort.Loader.SatcoDX
|
||||
// 102-104: language
|
||||
// 106-107: country code
|
||||
// 108-110: language code
|
||||
|
||||
// 111-114: crypto code
|
||||
if (line.Length >= 115)
|
||||
this.Encrypted = line.Substring(111, 4) == "LCKD";
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -34,7 +34,6 @@ namespace ChanSort.Loader.SatcoDX
|
||||
list.VisibleColumnFieldNames.Remove("Lock");
|
||||
list.VisibleColumnFieldNames.Remove("Skip");
|
||||
list.VisibleColumnFieldNames.Remove("Hidden");
|
||||
list.VisibleColumnFieldNames.Remove("Encrypted");
|
||||
list.VisibleColumnFieldNames.Remove("Favorites");
|
||||
list.VisibleColumnFieldNames.Remove("ServiceType");
|
||||
list.VisibleColumnFieldNames.Add("ServiceTypeName");
|
||||
@@ -63,7 +62,7 @@ namespace ChanSort.Loader.SatcoDX
|
||||
prevPos = nextPos + 1;
|
||||
}
|
||||
|
||||
// SATCODX105 files contain a \0 character to mark the end, followed by an arbitrary number or spaces (or whatever data). We'll preserve it as-is.
|
||||
// SATCODX105 files contain a \0 character to mark the end, followed by an arbitrary number of spaces (or whatever data). We'll preserve it as-is.
|
||||
this.trailingDataPos = prevPos;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user