summaryrefslogtreecommitdiff
path: root/vdradmind.pl
diff options
context:
space:
mode:
Diffstat (limited to 'vdradmind.pl')
-rwxr-xr-xvdradmind.pl6
1 files changed, 5 insertions, 1 deletions
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);
}