Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Master-Timer 0.5.0 broken with vdr.1.0.0-pre2
Hi Matthias,
yes you' right, your patch is definitly better if one wants to use "old"
VDRs.
Mit freundlichen Gruessen / best regards,
Richard Cieply
______________________________________________________
IBM Lab Boeblingen, Germany
eServer Systems Management Technology
Phone: ++49 7031 16-3469 - Fax: ++49 7031 16-4240
Notes: richard cieply/Germany/IBM@IBMDE
Internet: mailto:cieply@de.ibm.com
> master-time doesn't work any more when used with vdr.1.0.0-pre2.
I know. :-)
> --- parseepgdata.pl.bak Fri Mar 1 14:58:53 2002
> +++ parseepgdata.pl Fri Mar 1 15:15:58 2002
> @@ -130,7 +130,7 @@
> last;
> }
> # Begin Timer
> - elsif ($lines[$count-1] =~ /^E\s(\d+)\s+(\d+)\s+(\d+)$/) {
> + elsif ($lines[$count-1] =~ /^E\s(\d+)\s+(\d+)\s+(\d+)\s+(\d+)$/) {
> # Undef this Variables because it is possibel that not every
> timer uses this values
> undef $duration;
> undef $subtitle;
Btw. Your fix is broken because it doesn't work with older VDRs.
This is the change i made into the current development version:
--- parseepgdata.pl.bak Fri Mar 1 14:58:53 2002
+++ parseepgdata.pl Fri Mar 1 15:15:58 2002
@@ -130,7 +130,7 @@
last;
}
# Begin Timer
- elsif ($lines[$count-1] =~ /^E\s(\d+)\s+(\d+)\s+(\d+)$/) {
+ elsif ($lines[$count-1] =~ /^E\s(\d+)\s+(\d+)\s+(\d+)/) {
# Undef this Variables because it is possibel that not every timer
uses this values
undef $duration;
undef $subtitle;
Bis denn
--
Real Programmers consider "what you see is what you get" to be just as
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated,
cryptic, powerful, unforgiving, dangerous.
Home |
Main Index |
Thread Index