VDR version 1.3.38 incompatible with vdradmin?

Message ID 200601081409.21644.vdr@pickles.me.uk
State New
Headers

Commit Message

Dave P Jan. 8, 2006, 2:09 p.m. UTC
  On Sunday 08 Jan 2006 13:51, Klaus Schmidinger wrote:

> The version number of EPG events is now also stored in the epg.data
> file. Sorry, I forgot to mention that this, of course, also has an
> impact on the LSTE command.

OK, here's a quick-and-dirty patch to restore functionality to vdradmin 
0.97-am3.4.2 (this will word-wrap).

                                                my($title, $subtitle, 
$summary);
                                                while($_ = 
$SVDRP->readoneline) {

It's also compatible with earlier versions.
  

Patch

--- vdradmind.pl        2005-12-10 12:17:01.000000000 +0000
+++ vdradmind.my.pl     2006-01-08 14:02:42.000000000 +0000
@@ -735,7 +735,7 @@ 
                        else {
                                $bc++;
                                while($_ = $SVDRP->readoneline) {
-                                       if(/^E (.*) (.*) (.*) (.*)/ || /^E 
(.*) (.*) (.*)/) {
+                                       if(/^E (.*?) (.*?) (.*?) /) {
                                                my($event_id, $time, 
$duration) = ($1, $2, $3);