VDR version 1.3.38 incompatible with vdradmin?
Commit Message
Dave P <vdr@pickles.me.uk> writes:
> OK, here's a quick-and-dirty patch to restore functionality to vdradmin
> 0.97-am3.4.2 (this will word-wrap).
IMHO, using a "anything but white space" class in the regular
expression is safer than using _several_ non-greedy quantifiers.
So I suggest this patch, which also works:
@@ -735,7 +735,7 @@
else {
$bc++;
while($_ = $SVDRP->readoneline) {
- if(/^E (.*) (.*) (.*) (.*)/ || /^E (.*) (.*) (.*)/) {
+ if(/^E ([^\s]*) ([^\s]*) ([^\s]*) /) {
my($event_id, $time, $duration) = ($1, $2, $3);
my($title, $subtitle, $summary);
while($_ = $SVDRP->readoneline) {