mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-07-07 04:53:03 +02:00
- allow Pr#0 for analog channels
- added loader for Toshiba *.db files (saving not yet implemented)
This commit is contained in:
@@ -44,6 +44,18 @@
|
||||
Favorites = 5
|
||||
FavoriteNotSet = -1
|
||||
|
||||
[Series:F]
|
||||
SatDataBase.dat = 145
|
||||
TransponderDataBase.dat = 45
|
||||
PTC = 12
|
||||
map-AirA = 64
|
||||
map-AirD = 320
|
||||
map-CableD = 320
|
||||
map-SateD = 168
|
||||
map-AstraHDPlusD = 212
|
||||
Favorites = 5
|
||||
FavoriteNotSet = -1
|
||||
|
||||
[Analog:28]
|
||||
; map-AirA and map-CableA for B series
|
||||
offInUse = 0
|
||||
|
||||
@@ -117,7 +117,7 @@ namespace ChanSort.Loader.ScmFile
|
||||
}
|
||||
this.UpdateRawFavorites();
|
||||
mapping.SetFlag(_Lock, this.Lock);
|
||||
if (this.NewProgramNr == 0)
|
||||
if (this.NewProgramNr == -1)
|
||||
mapping.SetFlag(_Deleted, true);
|
||||
|
||||
this.UpdateChecksum();
|
||||
|
||||
@@ -165,6 +165,7 @@ namespace ChanSort.Loader.ScmFile
|
||||
DetectModelFromTranspoderDatabase(zip)
|
||||
};
|
||||
|
||||
// note: E and F series use an identical format, so we only care about E here
|
||||
string validCandidates = "BCDE";
|
||||
foreach (var candidateList in candidates)
|
||||
{
|
||||
@@ -364,7 +365,7 @@ namespace ChanSort.Loader.ScmFile
|
||||
for (int slotIndex = 0; slotIndex < count; slotIndex++)
|
||||
{
|
||||
DigitalChannel ci = new DigitalChannel(slotIndex, isCable, rawChannel, frequency, c.favoriteNotSetValue);
|
||||
if (ci.OldProgramNr != 0)
|
||||
if (ci.OldProgramNr != -1)
|
||||
this.DataRoot.AddChannel(list, ci);
|
||||
|
||||
rawChannel.BaseOffset += entrySize;
|
||||
|
||||
Reference in New Issue
Block a user