mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-03-07 04:20:54 +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:
@@ -901,7 +901,7 @@ namespace ChanSort.Loader.Philips
|
||||
var recordSize = 4;
|
||||
var recordCount = (dataSize - 4) / recordSize;
|
||||
|
||||
var favList = this.dvbsChannels.Channels.Where(c => c.FavIndex[0] != -1).OrderBy(c => c.FavIndex[0]).ToList();
|
||||
var favList = this.dvbsChannels.Channels.Where(c => c.GetPosition(1) != -1).OrderBy(c => c.GetPosition(1)).ToList();
|
||||
var favCount = favList.Count;
|
||||
var firstFavIndex = favCount == 0 ? -1 : (int)favList[0].RecordIndex;
|
||||
data.SetInt16(4, firstFavIndex);
|
||||
|
||||
Reference in New Issue
Block a user