mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-02-02 12:39:04 +01:00
- cleanup (renamed directories to match project structure)
- tested and fixed Samsung favorites and locks for C,D,AstraHD
This commit is contained in:
24
ChanSort.Loader.TllFile/DtvChannel.cs
Normal file
24
ChanSort.Loader.TllFile/DtvChannel.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using ChanSort.Api;
|
||||
|
||||
namespace ChanSort.Loader.TllFile
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user