summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Mair <amair.sob@googlemail.com>2012-01-06 07:54:12 +0100
committerAndreas Mair <amair.sob@googlemail.com>2012-01-06 07:54:12 +0100
commit0a4a751d97243aa886d38379fc0a444c4ec4b387 (patch)
treedf24ff511f6817d58f79db4237d0f3c3a5834516
parent1a6531b2ce4e907940889a39df64b732020fdc25 (diff)
parent477000199e8cd5fd01e8c89f576b584bc6f5ef18 (diff)
downloadvdradmin-am-0a4a751d97243aa886d38379fc0a444c4ec4b387.tar.gz
vdradmin-am-0a4a751d97243aa886d38379fc0a444c4ec4b387.tar.bz2
Merge branch 'master' of projects.vdr-developer.org:vdradmin-am
-rw-r--r--HISTORY1
-rwxr-xr-xvdradmind.pl6
2 files changed, 6 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 8aba45f..b5fa26c 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,5 +1,6 @@
20xx-xx-xx: x.x.x
- Added: Hungarian translation (Submitted by István Füley).
+- Fixed LSTR when executing recording commands on VDR >= 1.7.21 (Submitted by David Rütti)
2011-11-20: 3.6.9
- Added: Support changed SVDRP LSTR output of VDR >= 1.7.21.
diff --git a/vdradmind.pl b/vdradmind.pl
index 60fe3fa..1299565 100755
--- a/vdradmind.pl
+++ b/vdradmind.pl
@@ -6438,7 +6438,11 @@ sub recRunCmd {
my ($day, $month, $hour, $minute, $newtitle, $c, $folder);
for (SendCMD("lstr")) {
- ($rec_id, $date, $time, $title) = split(/ +/, $_, 4);
+ if ($FEATURES{VDRVERSION} < 10721) {
+ ($rec_id, $date, $time, $title) = split(/ +/, $_, 4);
+ } else {
+ ($rec_id, $date, $time, undef, $title) = split(/ +/, $_, 5);
+ }
last if ($rec_id == $id);
}