mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-07-04 15:18:19 +02:00
- fix: symbol rate corrupted on LG LA/LN models
- disable LG sat channel list editing when preset program numbers are present
This commit is contained in:
@@ -4,6 +4,7 @@ namespace ChanSort.Loader.Samsung
|
||||
{
|
||||
internal class ModelConstants
|
||||
{
|
||||
public readonly string series;
|
||||
public readonly int dvbsSatelliteLength;
|
||||
public readonly int dvbsTransponderLength;
|
||||
public readonly int dvbsChannelLength;
|
||||
@@ -18,6 +19,7 @@ namespace ChanSort.Loader.Samsung
|
||||
|
||||
public ModelConstants(IniFile.Section iniSection)
|
||||
{
|
||||
this.series = iniSection.Name.Substring(iniSection.Name.Length - 1);
|
||||
this.avbtChannelLength = iniSection.GetInt("map-AirA");
|
||||
this.dvbtChannelLength = iniSection.GetInt("map-AirD");
|
||||
this.dvbsChannelLength = iniSection.GetInt("map-SateD");
|
||||
|
||||
@@ -560,5 +560,13 @@ namespace ChanSort.Loader.Samsung
|
||||
"Device Settings",
|
||||
MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
|
||||
// ------- testing -----------
|
||||
|
||||
internal string Series { get { return c.series; } }
|
||||
internal int AnalogChannelLength { get { return c.avbtChannelLength; } }
|
||||
internal int DigitalChannelLength { get { return c.dvbtChannelLength; } }
|
||||
internal int SatChannelLength { get { return c.dvbsChannelLength; } }
|
||||
internal int HdPlusChannelLength { get { return c.hdplusChannelLength; } }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user