- allow Pr#0 for analog channels

- added loader for Toshiba *.db files (saving not yet implemented)
This commit is contained in:
hbeham
2013-04-10 00:35:25 +02:00
parent 16694534f0
commit 49979e3a29
23 changed files with 7926 additions and 2580 deletions

View File

@@ -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

View File

@@ -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();

View File

@@ -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;