mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-05-07 15:55:57 +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:
@@ -188,7 +188,7 @@ namespace ChanSort.Loader.Samsung.Scm
|
||||
if (this.sortedFavorites == FavoritesIndexMode.Boolean) // D series
|
||||
favValue = (fav & mask) != 0 ? 1 : 0; // D series
|
||||
else if (this.sortedFavorites == FavoritesIndexMode.IndividuallySorted) // E series (and some F models with early firmware)
|
||||
favValue = (fav & mask) != 0 ? this.FavIndex[favIndex] : -1;
|
||||
favValue = (fav & mask) != 0 ? this.GetPosition(favIndex+1) : -1;
|
||||
else
|
||||
favValue = (fav & mask) != 0 ? this.NewProgramNr : -1; // F series (newer models/firmware), H series
|
||||
|
||||
|
||||
@@ -383,7 +383,7 @@ namespace ChanSort.Loader.Samsung.Zip
|
||||
if (pos >= 0)
|
||||
{
|
||||
channel.Favorites |= (Favorites) (1 << fav);
|
||||
channel.OldFavIndex[fav] = pos;
|
||||
channel.SetOldPosition(fav+1, pos);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -634,7 +634,7 @@ namespace ChanSort.Loader.Samsung.Zip
|
||||
cmdDeleteFav.ExecuteNonQuery();
|
||||
}
|
||||
|
||||
channel.FavIndex[i] = newPos;
|
||||
channel.SetPosition(i+1, newPos);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user