File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -62,15 +62,17 @@ package mythtv::recordings;
6262
6363 # Try a basename file search
6464 $sh = $dbh -> prepare(' SELECT *, basename FROM recorded' );
65- my $rows = $sh -> execute();
65+ if ($sh ) {
66+ my $rows = $sh -> execute();
67+ }
6668 if (defined $rows ) {
6769 while ($file = $sh -> fetchrow_hashref()) {
6870 push @files , $file ;
6971 }
7072 }
7173 # Older mythtv; scan for files
7274 else {
73- $sh -> finish;
75+ $sh -> finish if ( $sh ) ;
7476 $sh = $dbh -> prepare(' SELECT * FROM recorded WHERE chanid=? AND starttime=?' );
7577 # Grab all of the video filenames
7678 opendir (DIR, $video_dir ) or die " Can't open $video_dir : $! \n\n " ;
Original file line number Diff line number Diff line change 55# $Author$
66
77# Version
8- $VERSION = ' 0.2 0.20051019 .svn' ;
8+ $VERSION = ' 0.2 0.20051020 .svn' ;
99
1010# Autoflush buffers
1111 $| ++;
Original file line number Diff line number Diff line change 44
55Name: nuvexport
66Version: 0.2
7- Release: 0.20051019 .svn
7+ Release: 0.20051020 .svn
88License: GPL
99Summary: mythtv nuv video file conversion script
1010URL: http://forevermore.net/nuvexport/
You can’t perform that action at this time.
0 commit comments