summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2011-10-03 14:11:49 +0200
committerDimitar Petrovski <dimeptr@gmail.com>2011-10-03 14:11:49 +0200
commitee47ad321e0e27800f42cff45b8e47bedd8588ad (patch)
treee6ed372463a5457b4c68e62b8b36623a0b19dfb0
parent0bbc1965541f357ab6470010d63d7c42e096fafd (diff)
parentc55aa9e24581640a036e19cf871c6075354928be (diff)
downloadvdr-plugin-eepg-ee47ad321e0e27800f42cff45b8e47bedd8588ad.tar.gz
vdr-plugin-eepg-ee47ad321e0e27800f42cff45b8e47bedd8588ad.tar.bz2
Merge branch 'test-naepg' of ssh://ubsatserv/home/dime/VDR/PLUGINS/src/eepg into test-naepg2
-rw-r--r--eepg.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/eepg.c b/eepg.c
index 354471c..2b6c702 100644
--- a/eepg.c
+++ b/eepg.c
@@ -2848,7 +2848,7 @@ cEIT2::cEIT2 (cSchedules * Schedules, int Source, u_char Tid, const u_char * Dat
return; // only collect data for known channels
}
- //LogD(4, prep("channelID: %s format:%d"), *channel->GetChannelID().ToString(), Format);
+ //LogD(5, prep("channelID: %s format:%d"), *channel->GetChannelID().ToString(), Format);
#ifdef USE_NOEPG
// only use epg from channels not blocked by noEPG-patch
@@ -2893,6 +2893,7 @@ cEIT2::cEIT2 (cSchedules * Schedules, int Source, u_char Tid, const u_char * Dat
if (!pEvent)
continue;
} else {
+ //LogD(3, prep("existing event channelID: %s Title: %s TableID 0x%02X new TID 0x%02X Version %i, new version %i"), *channel->GetChannelID().ToString(), pEvent->Title(), pEvent->TableID(), Tid, pEvent->Version(), versionNumber);
// We have found an existing event, either through its event ID or its start time.
pEvent->SetSeen ();
// If the existing event has a zero table ID it was defined externally and shall
@@ -3028,7 +3029,7 @@ cEIT2::cEIT2 (cSchedules * Schedules, int Source, u_char Tid, const u_char * Dat
continue;
}
- //LogD(2, prep("EEPGDEBUG:d->getDescriptorTAG():%x)"), d->getDescriptorTag ());
+ LogD(2, prep("EEPGDEBUG:d->getDescriptorTAG():%x)"), d->getDescriptorTag ());
switch (d->getDescriptorTag ()) {
case SI::ExtendedEventDescriptorTag: {
@@ -3235,18 +3236,22 @@ cEIT2::cEIT2 (cSchedules * Schedules, int Source, u_char Tid, const u_char * Dat
decodeText2 (f, l, buffer, sizeof (buffer));
//ShortEventDescriptor->name.getText(buffer, sizeof(buffer));
pEvent->SetTitle (buffer);
+ LogD(3, prep("channelID: %s Title: %s"), *channel->GetChannelID().ToString(), pEvent->Title());
l = ShortEventDescriptor->text.getLength();
f = (unsigned char *) ShortEventDescriptor->text.getData().getData();
decodeText2 (f, l, buffer, sizeof (buffer));
//ShortEventDescriptor->text.getText(buffer, sizeof(buffer));
pEvent->SetShortText (buffer);
+ LogD(3, prep("ShortText: %s"), pEvent->ShortText());
} else if (!HasExternalData) {
pEvent->SetTitle (NULL);
pEvent->SetShortText (NULL);
+ LogD(3, prep("SetTitle (NULL)"));
}
if (ExtendedEventDescriptors) {
char buffer[Utf8BufSize (ExtendedEventDescriptors->getMaximumTextLength (": ")) + 1];
pEvent->SetDescription (ExtendedEventDescriptors->getText (buffer, sizeof (buffer), ": "));
+ LogD(3, prep("Description: %s"), pEvent->Description());
} else if (!HasExternalData)
pEvent->SetDescription (NULL);