Bug#653136: vdradmin-am: Record commands (RecCMD) broken using vdr 1.7.22

David Rütti d_ruetti at hotmail.com
Sat Dec 24 12:05:06 UTC 2011

Package: vdradmin-am
Version: 3.6.9-1
Severity: normal
Tags: patch

Hello maintainer and developer

Execution of the record commands especially 'vdrconvert' is broken using vdr 1.7.22 and above. I localized the problem in the 'recRunCmd' sub. The additional length information was not processed correctly. Please find below the patch to solve the problem. The code was adapted from other subs within the script where the length info was already handled correctly.

Patch to solve the problem:

diff /usr/bin/vdradmind /tmp/vdradmin-am-3.6.9/vdradmind.pl
<         if ($FEATURES{VDRVERSION} < 10721) {
<             ($rec_id, $date, $time, $title) = split(/ +/, $_, 4);
<         } else {
<             ($rec_id, $date, $time, undef, $title) = split(/ +/, $_, 5);
<         }
>         ($rec_id, $date, $time, $title) = split(/ +/, $_, 4);

-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-2-686-pae (SMP w/3 CPU cores)
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages vdradmin-am depends on:
ii  adduser                3.112+nmu2        add and remove users and groups
ii  libio-socket-inet6-per 2.65-1.1          Object interface for AF_INET6 doma
ii  liblocale-gettext-perl 1.05-6            Using libc functions for internati
ii  libsocket6-perl        0.23-1            Perl extensions for IPv6
ii  libtemplate-perl       2.22-0.1          template processing system written
ii  libtemplate-plugin-jav 0.01-1            Perl module to sanitize text for J
ii  liburi-perl            1.54-2            module to manipulate and access UR
ii  libwww-perl            5.836-1           Perl HTTP/WWW client/server librar
ii  lsb-base               3.2-23.2squeeze1  Linux Standard Base 3.2 init scrip
ii  perl [libio-compress-p 5.10.1-17squeeze2 Larry Wall's Practical Extraction 

vdradmin-am recommends no packages.

Versions of packages vdradmin-am suggests:
pn  libauthen-sasl-perl      <none>          (no description available)
ii  vdr                      1.7.22-1~ctvdr2 Video Disk Recorder for DVB cards
ii  vdr-plugin-epgsearch     1.0.0-3         VDR plugin that provides extensive

-- Configuration Files:
/etc/default/vdradmin-am changed [not included]

-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-vdr-dvb-devel/attachments/20111224/8cae0b46/attachment.html>

More information about the pkg-vdr-dvb-devel mailing list