mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-05-07 07:26:58 +02:00
- basic support for Enigma2 (Dreambox, Vu+,...) channel lists
- dynamic number of favorite lists (still limited to 64 due to bitmask)
This commit is contained in:
@@ -245,7 +245,7 @@ namespace ChanSort.Loader.Philips
|
||||
ch.Lock = mapping.GetByte("offLocked") != 0;
|
||||
ch.Favorites = mapping.GetByte("offIsFav") != 0 ? Favorites.A : 0;
|
||||
if (ch.Favorites != 0)
|
||||
ch.OldFavIndex[0] = ch.OldProgramNr;
|
||||
ch.SetOldPosition(1, ch.OldProgramNr);
|
||||
|
||||
this.DataRoot.AddChannel(list, ch);
|
||||
}
|
||||
|
||||
@@ -360,7 +360,7 @@ namespace ChanSort.Loader.Philips
|
||||
chan.Lock = data.TryGet("ChannelLock") == "1";
|
||||
chan.Hidden = data.TryGet("UserHidden") == "1";
|
||||
var fav = ParseInt(data.TryGet("FavoriteNumber"));
|
||||
chan.OldFavIndex[0] = fav == 0 ? -1 : fav;
|
||||
chan.SetOldPosition(1, fav == 0 ? -1 : fav);
|
||||
chan.OriginalNetworkId = ParseInt(data.TryGet("Onid"));
|
||||
chan.TransportStreamId = ParseInt(data.TryGet("Tsid"));
|
||||
chan.ServiceId = ParseInt(data.TryGet("Sid"));
|
||||
|
||||
Reference in New Issue
Block a user