mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-03-06 20:20:43 +01: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:
@@ -358,7 +358,7 @@ namespace ChanSort.Loader.Sony
|
||||
for (int j = 0; j < 4 && j < favNumbers.Length; j++)
|
||||
{
|
||||
if (int.TryParse(favNumbers[j], out var favNr) && favNr > 0)
|
||||
chan.OldFavIndex[j] = favNr;
|
||||
chan.SetOldPosition(j+1, favNr);
|
||||
}
|
||||
}
|
||||
var muxId = int.Parse(svcData["MuxID"][i]) + idAdjustment;
|
||||
@@ -752,7 +752,7 @@ namespace ChanSort.Loader.Sony
|
||||
{
|
||||
var vals = value.Split(' ');
|
||||
for (int i = 0; i < 4; i++)
|
||||
vals[i] = ch.FavIndex[i] <= 0 ? "0" : ch.FavIndex[i].ToString();
|
||||
vals[i] = ch.GetPosition(i+1) <= 0 ? "0" : ch.GetPosition(i+1).ToString();
|
||||
return string.Join(" ", vals);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user