- fixed deleting Samsung channels (no longer show up on Pr 0)

This commit is contained in:
hbeham
2013-04-04 15:46:31 +02:00
parent 6a730a5852
commit f882df48c1
6 changed files with 27 additions and 25 deletions

View File

@@ -4,7 +4,6 @@ namespace ChanSort.Loader.ScmFile
{
internal class AnalogChannel : ScmChannelBase
{
private const string _Skip = "Skip";
private const string _Frequency = "offFrequency";
#region ctor()
@@ -21,7 +20,6 @@ namespace ChanSort.Loader.ScmFile
this.FreqInMhz = freq;
if (this.FreqInMhz == 0) // fallback since Freq is part of the UID and requires a unique value
this.FreqInMhz = slot;
this.Skip = mapping.GetFlag(_Skip);
this.ChannelOrTransponder = "";
}

View File

@@ -59,8 +59,8 @@
; map-AirA and map-CableA for C series
offInUse = 1
maskInUse = 0x01
offSkip = 2
maskSkip = 0x01
offDeleted = 2
maskDeleted = 0x01
offLock = 6
maskLock = 0x01
offTuned = 8
@@ -78,8 +78,8 @@
; map-AirA and map-CableA for D,E series
offInUse = 1
maskInUse = 0x01
offSkip = 2
maskSkip = 0x01
offDeleted = 2
maskDeleted = 0x01
offLock = 6
maskLock = 0x01
offTuned = 8
@@ -115,7 +115,8 @@
offVideoPid = 2
offPcrPid = 4
offServiceId = 10
offStatus = 8
offDeleted = 8
maskDeleted = 0x01
offQam = 7
offServiceType = 9
offEncrypted = 23
@@ -140,7 +141,8 @@
offVideoPid = 2
offPcrPid = 4
offServiceId = 6
offStatus =
offDeleted = 8
maskDeleted = 0x01
offQam = 12
offBandwidth = 14
offServiceType = 15
@@ -174,7 +176,8 @@
offVideoPid = 2
offPcrPid = 4
offServiceId = 6
offStatus =
maskDeleted = 0x01
offDeleted = 8
offQam = 12
offBandwidth = 14
offServiceType = 15

View File

@@ -107,6 +107,7 @@ namespace ChanSort.Loader.ScmFile
public override void UpdateRawData()
{
mapping.SetDataPtr(this.rawData, this.baseOffset);
mapping.SetFlag(_InUse, this.InUse);
mapping.SetWord(_ProgramNr, this.NewProgramNr);
if (this.IsNameModified)
{