mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-01-21 14:52:04 +01:00
- fixed deleting Samsung channels (no longer show up on Pr 0)
This commit is contained in:
@@ -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 = "";
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user