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:
@@ -432,7 +432,7 @@ namespace ChanSort.Loader.Philips
|
||||
foreach (var chan in rootList.Channels)
|
||||
{
|
||||
favChannels.Channels.Add(chan);
|
||||
for (int i=0; i<chan.FavIndex.Count; i++)
|
||||
for (int i=0; i<this.DataRoot.FavListCount; i++)
|
||||
chan.SetOldPosition(i+1, -1);
|
||||
}
|
||||
}
|
||||
@@ -547,7 +547,7 @@ namespace ChanSort.Loader.Philips
|
||||
|
||||
// ChannelMap_100 supports a single fav list and stores the favorite number directly here in the channel.
|
||||
// ChannelMap_105 and later always store the value 0 in the channel and instead use a separate Favorites.xml file.
|
||||
ch.SetupNode.Attributes["FavoriteNumber"].Value = setFavoriteNumber ? Math.Max(ch.FavIndex[0], 0).ToString() : "0";
|
||||
ch.SetupNode.Attributes["FavoriteNumber"].Value = setFavoriteNumber ? Math.Max(ch.GetPosition(1), 0).ToString() : "0";
|
||||
|
||||
if (ch.OldProgramNr != ch.NewProgramNr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user