mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-05-06 19:36:53 +02:00
- W.I.P: Enigma2 lamedb / bouquets support for Linux based Set-Top-Boxes (Dreambox, VU+, Octagon, ...)
- Toshiba settingsDB.db: support for lists without analog tuner data (missing TADTunerDataTable) - Grunding: failed to load lists where the <Digital> element did not contain a <channels> child element - W.I.P: reworking the reference list system so that a simple list of channels can be applied to the main channel numbers or a particular favorite list. (The "Automatically reorder all lists" options currently does not work)
This commit is contained in:
@@ -194,7 +194,10 @@ namespace ChanSort.Loader.Grundig
|
||||
return;
|
||||
}
|
||||
|
||||
foreach (XmlNode networkNode in digital["channels"].ChildNodes)
|
||||
var channels = digital["channels"];
|
||||
if (channels == null)
|
||||
return;
|
||||
foreach (XmlNode networkNode in channels.ChildNodes)
|
||||
{
|
||||
if (networkNode.LocalName != "network")
|
||||
continue;
|
||||
@@ -361,7 +364,7 @@ namespace ChanSort.Loader.Grundig
|
||||
if (ch.IsNameModified)
|
||||
att["name"].Value = ch.Name;
|
||||
for (int i=1; i<=4; i++)
|
||||
att["f"+i].Value = Math.Max(0, ch.FavIndex[i-1]).ToString(); // convert -1 to 0
|
||||
att["f"+i].Value = Math.Max(0, ch.GetPosition(i)).ToString(); // convert -1 to 0
|
||||
att["skp"].InnerText = ch.Skip ? "1" : "0";
|
||||
att["lck"].InnerText = ch.Lock ? "1" : "0";
|
||||
if ((ch.SignalSource & SignalSource.Digital) != 0)
|
||||
|
||||
Reference in New Issue
Block a user