[vdr] vdr-1.4.3-1.diff epg problems

V Live vlivecd at yahoo.com
Wed Oct 11 03:18:32 CEST 2006

Thank you for your effort. But the attached patch still did not fix the  "no title" in the epg guide or yaepg plugin. But like I said before  removing the eit.c patch from your vdr-1.4.3-1.diff and it works fine.

Klaus Schmidinger <Klaus.Schmidinger at cadsoft.de> wrote:  V Live wrote:
> I patched your vdr-1.4.3-1.diff against my vdr-1.4.3 version and since 
> the epg guide and vdr-yaepg plugin show "no title" in th epg. Seems that 
> there is an error there.
> However if I remove the patches to eit.c and eit.h but keep the rest of 
> the patch the epg guide works like it should.

Well, meanwhile I guess I found it.
The problem only occurs if there is external EPG data (with
table id 0x00). The attached patch should fix that.


--- eit.c 2006/10/07 12:32:24 1.121
+++ eit.c 2006/10/09 16:14:36
@@ -234,7 +234,7 @@
             pEvent->SetTitle(ShortEventDescriptor->name.getText(buffer, sizeof(buffer)));
             pEvent->SetShortText(ShortEventDescriptor->text.getText(buffer, sizeof(buffer)));
-         else {
+         else if (!HasExternalData) {
@@ -242,7 +242,7 @@
             char buffer[ExtendedEventDescriptors->getMaximumTextLength(": ") + 1];
             pEvent->SetDescription(ExtendedEventDescriptors->getText(buffer, sizeof(buffer), ": "));
-         else
+         else if (!HasExternalData)
       delete ExtendedEventDescriptors;
@@ -250,7 +250,8 @@
-      pEvent->FixEpgBugs();
+      if (!HasExternalData)
+         pEvent->FixEpgBugs();
       if (LinkChannels)
       Modified = true;
vdr mailing list
vdr at linuxtv.org

Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/vdr/attachments/20061010/983dbcc8/attachment-0001.htm

More information about the vdr mailing list