mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-01-14 19:32:04 +01:00
- Philips: fixed display of symbol rate and frequency (off by factor 1000 depending of list and DVB source) - Philips: fixed special characters in channel names (e.g. german umlauts) - Philips: "ServiceType" now only shows "TV" or "Radio". There is no information about HD/SD in the file.
35 lines
1.0 KiB
C#
35 lines
1.0 KiB
C#
using System.Xml;
|
|
using ChanSort.Api;
|
|
|
|
namespace ChanSort.Loader.Philips
|
|
{
|
|
internal class Channel : ChannelInfo
|
|
{
|
|
public Channel(SignalSource source, long index, int oldProgNr, string name) : base(source, index, oldProgNr, name)
|
|
{
|
|
this.RecordOrder = (int)index;
|
|
}
|
|
|
|
internal Channel(SignalSource source, int order, int rowId, XmlNode setupNode)
|
|
{
|
|
this.SignalSource = source;
|
|
this.RecordOrder = order;
|
|
this.RecordIndex = rowId;
|
|
this.SetupNode = setupNode;
|
|
}
|
|
|
|
/// <summary>
|
|
/// index of the record in the AntennaPresetTable / CablePresetTable file for the channel, matched by (onid + tsid + sid)
|
|
/// </summary>
|
|
public int PresetTableIndex { get; set; } = -1;
|
|
|
|
// fields relevant for ChannelMap_100 and later (XML nodes)
|
|
public readonly XmlNode SetupNode;
|
|
public string RawName;
|
|
public string RawSatellite;
|
|
public int Format;
|
|
public int Id; // links entries in the ChannelMap45/*Db.bin files with the entries in the tv.db channels table
|
|
|
|
}
|
|
}
|