diff options
| author | Andreas Brachold <vdr07@deltab.de> | 2007-12-24 15:06:40 +0000 |
|---|---|---|
| committer | Andreas Brachold <vdr07@deltab.de> | 2007-12-24 15:06:40 +0000 |
| commit | e4597ce3619f3d7772436d02d1674c28f4c03a16 (patch) | |
| tree | 501c2d575907806719442049338bcb498af4c84b /lib | |
| parent | 8d1934751ec1d505d1fddb973fb5547204c4f99f (diff) | |
| download | xxv-e4597ce3619f3d7772436d02d1674c28f4c03a16.tar.gz xxv-e4597ce3619f3d7772436d02d1674c28f4c03a16.tar.bz2 | |
* RECORDS: Enlarge time frame to update preview images, if recordings added during timer run
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/XXV/MODULES/RECORDS.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/XXV/MODULES/RECORDS.pm b/lib/XXV/MODULES/RECORDS.pm index 0e25967..5efb211 100644 --- a/lib/XXV/MODULES/RECORDS.pm +++ b/lib/XXV/MODULES/RECORDS.pm @@ -566,7 +566,7 @@ sub readData { } # Update Duration and maybe preview images, if recordings added during timer run - if(($db_data->{$h}->{starttime} + $db_data->{$h}->{duration} + 60) > $db_data->{$h}->{addtime}) { + if(($db_data->{$h}->{starttime} + $db_data->{$h}->{duration} + 7200) > $db_data->{$h}->{addtime}) { my $duration = $obj->_recordinglength($db_data->{$h}->{path}); if($duration != $db_data->{$h}->{duration}) { @@ -589,7 +589,8 @@ sub readData { $updatedState++; } - } + } + $totalDuration += $db_data->{$h}->{duration}; $totalSpace += $db_data->{$h}->{FileSize}; |
