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

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Mon Oct 9 17:58:04 CEST 2006


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.
> 
> Please see the attached diff the patch that gave the problem.
> 
> http://www.geocities.com/vlivecd/vdr-1.4.3-1-eit.diff.zip

This change just clears any existing contents in the Title,
ShortText or Description if the current version of the event
data doesn't contain a ShortEventDescriptor or ExtendedEventDescriptor.

The reason for this is that there are cases where an event e.g. doesn't
have an ExtendedEventDescriptor, but has a lengthy text in the
ShortText. cEvent::FixEpgBugs() then moves the "ShortText" into
the Description and clears the ShortText. If later a new version
of the event data is encountered, the ShortText would be set to the
lengthy text again, and the Description wouldn't be overwritten,
since there is no ExtendedEventDescriptor. cEvent::FixEpgBugs()
would then do nothing and the result is an event with (almost) the
same text in both ShortText and Description.

So if in your case there are suddenly events with no data at
all, this can only mean that the current version of the event
data doesn't have a ShortEventDescriptor or ExtendedEventDescriptor.
But then I wonder where that data came from before...

I'm afraid I can't further debug this here, because this problem
doesn't occur with the data I'm receiving. So I guess you'll
have to debug this yourself.

Klaus



More information about the vdr mailing list