Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Bug in epg2html
Matthias Fechner wrote:
>
> Hi Klaus,
>
> i think i have found an little bug in epg2html.pl
>
> The Duration is missing, here is the fix:
>
> ---cut---
>
> --- epg2html.pl.orig Mon May 27 15:21:20 2002
> +++ epg2html.pl Mon May 27 15:18:15 2002
> @@ -45,7 +45,7 @@
> push(@Index, qq{<a href="$Page">$Channel</a><br>\n});
> my %Events = ();
> while (<>) {
> - if (/^E (.*?) (.*?) (.*?)/) {
> + if (/^E (.*?) (.*?) (.*?) (.*?)/) {
> (my $Time, $Duration) = ($2, $3);
> my $Title = "", $Subtitle = "", $Description = "";
> while (<>) {
>
> ---cut---
>
> --
> Bye
> Matthias
The fourth parameter in the E record is the 'table id', which may or may not
be present. Therefore epg2html.pl doesn't parse it (it wouldn't have any
meaning here, anyway).
Are you observing any problem with the original epg2html.pl, which has been
fixed by your patch?
Klaus
--
_______________________________________________________________
Klaus Schmidinger Phone: +49-8635-6989-10
CadSoft Computer GmbH Fax: +49-8635-6989-40
Hofmark 2 Email: kls@cadsoft.de
D-84568 Pleiskirchen, Germany URL: www.cadsoft.de
_______________________________________________________________
Home |
Main Index |
Thread Index