diff options
author | Dimitar Petrovski <dimeptr@gmail.com> | 2012-02-29 19:04:07 +0100 |
---|---|---|
committer | Dimitar Petrovski <dimeptr@gmail.com> | 2012-02-29 19:04:07 +0100 |
commit | 36b6183fc9221a2dbcfc7569e8d280ca6bde849d (patch) | |
tree | 81e48cd07261cf1fbeb5fc7148fe6b7659030f40 | |
parent | 7f7626b84ebbc31a730721d3c3b0ed8df0e99fa4 (diff) | |
download | vdr-plugin-eepg-36b6183fc9221a2dbcfc7569e8d280ca6bde849d.tar.gz vdr-plugin-eepg-36b6183fc9221a2dbcfc7569e8d280ca6bde849d.tar.bz2 |
add debug logging
-rw-r--r-- | eepg.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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) { |