From 074a4c38bb43161bb9cefe92945651c21ef8a19b Mon Sep 17 00:00:00 2001 From: Horst Beham Date: Thu, 6 Oct 2022 17:34:16 +0200 Subject: [PATCH] - Panasonic LS/LX seems to mess up the "skip" Flag when running a new scan, so no longer throw an error when the flag differs between the two data files --- source/ChanSort.Loader.Panasonic/IdtvChannelSerializer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/ChanSort.Loader.Panasonic/IdtvChannelSerializer.cs b/source/ChanSort.Loader.Panasonic/IdtvChannelSerializer.cs index d5c0783..39d8298 100644 --- a/source/ChanSort.Loader.Panasonic/IdtvChannelSerializer.cs +++ b/source/ChanSort.Loader.Panasonic/IdtvChannelSerializer.cs @@ -276,8 +276,8 @@ internal class IdtvChannelSerializer : SerializerBase if (ch.Encrypted != ((chan.Flags & Flags.Encrypted) != 0)) throw new FileLoadException($"mismatching crypt-flag between tv.db _id {ch.RecordIndex} ({ch.Encrypted}) and idtvChannel.bin record {i}"); - if (ch.Skip != ((chan.Flags & Flags.Skip) != 0)) - throw new FileLoadException($"mismatching browsable-flag between tv.db _id {ch.RecordIndex} ({ch.Skip}) and idtvChannel.bin record {i}"); + if (ch.Skip != ((chan.Flags & Flags.Skip) != 0)) // it seems running a DVB-C search will alter the "browsable" flag of already existing DVB-S channels + log.AppendLine($"mismatching browsable-flag between tv.db _id {ch.RecordIndex} ({ch.Skip}) and idtvChannel.bin record {i}"); if ((ch.Favorites == 0) != ((chan.Flags & Flags.IsFavorite) == 0)) throw new FileLoadException($"mismatching favorites-info between tv.db _id {ch.RecordIndex} ({ch.Favorites}) and idtvChannel.bin record {i}");