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

2011-12-24 Thread Tobias Grimm
Hello!

On 24.12.2011 13:05, David Rütti wrote:

 Execution of the record commands especially 'vdrconvert' is broken using vdr 
 1.7.22 and above.

Thanks. I've forwared this upstream
(http://projects.vdr-developer.org/issues/834) and a new Debian version
will be uploaded soon.

Thx,

Tobias



signature.asc
Description: OpenPGP digital signature


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

2011-12-24 Thread David Rütti


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
6441,6445c6441
 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  adduser3.112+nmu2add 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-6Using libc functions for internati
ii  libsocket6-perl0.23-1Perl extensions for IPv6
ii  libtemplate-perl   2.22-0.1  template processing system written
ii  libtemplate-plugin-jav 0.01-1Perl module to sanitize text for J
ii  liburi-perl1.54-2module to manipulate and access UR
ii  libwww-perl5.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