mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-01-15 20:02:04 +01:00
- added experimental support for Panasonic - fixed Encrypted-flag detection for Samsung Analog and DVB-C/T channels - text editors now only open after holding the mouse button for 0.5sec - new menu item/button for deleting channels from the right list
25 lines
628 B
C#
25 lines
628 B
C#
using ChanSort.Api;
|
|
|
|
namespace ChanSort.Loader.LG
|
|
{
|
|
public class DtvChannel : TllChannelBase
|
|
{
|
|
private const string _ChannelOrTransponder = "offChannelTransponder";
|
|
private const string _FrequencyLong = "offFrequencyLong";
|
|
|
|
/*
|
|
offFavorites2 = 134
|
|
offAudioPid2 = 182
|
|
*/
|
|
|
|
public DtvChannel(int slot, DataMapping data) : base(data)
|
|
{
|
|
this.InitCommonData(slot, SignalSource.DvbCT, data);
|
|
this.InitDvbData(data);
|
|
|
|
this.ChannelOrTransponder = data.GetByte(_ChannelOrTransponder).ToString("d2");
|
|
this.FreqInMhz = (decimal)data.GetDword(_FrequencyLong) / 1000;
|
|
}
|
|
}
|
|
}
|