From 26868547aed93bdba91157faa30db80db06573ba Mon Sep 17 00:00:00 2001 From: Andreas Brachold Date: Sun, 9 Dec 2007 11:58:29 +0000 Subject: * RECORDS: Update recordings if marks.vdr changed --- lib/XXV/MODULES/RECORDS.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/XXV/MODULES/RECORDS.pm b/lib/XXV/MODULES/RECORDS.pm index 6304e18..567b5f2 100644 --- a/lib/XXV/MODULES/RECORDS.pm +++ b/lib/XXV/MODULES/RECORDS.pm @@ -1772,7 +1772,6 @@ WHERE $data = $console->question(gettext("Edit recording"), $questions, $data); if(ref $data eq 'HASH') { - my $touchVDR = 0; my $dropEPGEntry = 0; my $ChangeRecordingData = 0; @@ -1883,7 +1882,6 @@ WHERE or return $console->err(sprintf(gettext("Recording: '%s', couldn't move to '%s' : %s"),$rec->{title},$newPath,$!)); $rec->{Path} = $newPath; - $touchVDR = 1; $ChangeRecordingData = 1; } @@ -1915,11 +1913,10 @@ WHERE $ChangeRecordingData = 1; $dropEPGEntry = 1; - $touchVDR = 1; $rec->{Path} = $newPath; } - if($touchVDR) { #Ab 1.3.11 resync with touch /video/.update + if($dropEPGEntry || $ChangeRecordingData) { touch($obj->{videodir}."/.update"); } -- cgit v1.2.3