summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2012-02-29 19:04:07 +0100
committerDimitar Petrovski <dimeptr@gmail.com>2012-02-29 19:04:07 +0100
commit36b6183fc9221a2dbcfc7569e8d280ca6bde849d (patch)
tree81e48cd07261cf1fbeb5fc7148fe6b7659030f40
parent7f7626b84ebbc31a730721d3c3b0ed8df0e99fa4 (diff)
downloadvdr-plugin-eepg-36b6183fc9221a2dbcfc7569e8d280ca6bde849d.tar.gz
vdr-plugin-eepg-36b6183fc9221a2dbcfc7569e8d280ca6bde849d.tar.bz2
add debug logging
-rw-r--r--eepg.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/eepg.c b/eepg.c
index abb580f..ec778ff 100644
--- a/eepg.c
+++ b/eepg.c
@@ -1140,8 +1140,10 @@ void loadEquivalentChannelMap (void)
break;
}
- if (!found)
+ if (!found) {
equiChanMap.insert(pair<const char*,const char*>(*OriginalChID.ToString(),*EquivChID.ToString()));
+ LogD(4, prep("Found %s equivalent to %s."), *EquivChID.ToString(), *OriginalChID.ToString());
+ }
} else
LogI(0, prep("Warning, not found equivalent channel \'%s\' in channels.conf"), equiChanID);
}
@@ -2968,6 +2970,7 @@ void cEIT2::updateEquivalent(cSchedules * Schedules, tChannelID channelID, cEven
ret = equiChanMap.equal_range(*channelID.ToString());
for (it=ret.first; it!=ret.second; ++it) {
+ LogD(1, prep("equivalent channel exists"));
tChannelID equChannelID (tChannelID::FromString((*it).second));
cChannel *equChannel = GetChannelByID (equChannelID, false);
if (equChannel) {