mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-01-21 14:52:04 +01:00
- improved IniFile and Mapping to better handle missing settings
- working on philips *.db/FLASH* file format (identified 3 different variations so far)
This commit is contained in:
@@ -492,12 +492,12 @@ namespace ChanSort.Loader.Philips
|
||||
|
||||
// onid, tsid, pcrpid and vpid can be 0 in some lists
|
||||
ch.PcrPid = mapping.GetWord("offPcrPid") & mapping.GetMask("maskPcrPid");
|
||||
ch.Lock = mapping.GetFlag("Locked");
|
||||
ch.Lock = mapping.GetFlag("Locked", false);
|
||||
ch.OriginalNetworkId = mapping.GetWord("offOnid");
|
||||
ch.TransportStreamId = mapping.GetWord("offTsid");
|
||||
ch.ServiceId = mapping.GetWord("offSid");
|
||||
ch.VideoPid = mapping.GetWord("offVpid") & mapping.GetMask("maskVpid");
|
||||
ch.Favorites = mapping.GetFlag("IsFav") ? Favorites.A : 0;
|
||||
ch.Favorites = mapping.GetFlag("IsFav", false) ? Favorites.A : 0;
|
||||
ch.OldProgramNr = progNr;
|
||||
ch.Id = mapping.GetWord("offId"); // relevant for ChannelMap45
|
||||
|
||||
|
||||
Reference in New Issue
Block a user