Skip to content

Commit cf0f7f5

Browse files
committed
big fixes from rkulagow in irc
1 parent 7beea39 commit cf0f7f5

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

trunk/export/NUV_SQL.pm

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ package export::NUV_SQL;
5757
."This will extract it from the MythTV database into .nuv and .sql \n"
5858
."files to import into another MythTV installation.\n\n";
5959
# Make sure the user knows what he/she is doing
60-
$self->{'delete'} = query_text("Do you want to removed it from this server when finished?",
60+
$self->{'delete'} = query_text("Do you want to remove it from this server when finished?",
6161
'yesno',
6262
$self->{'delete'} ? 'Yes' : 'No');
6363
# Make EXTRA sure
@@ -82,6 +82,9 @@ package export::NUV_SQL;
8282
$self->{'export_path'} = $self->get_outfile($episode, '');
8383
mkdir($self->{'export_path'}, 0755) or die "Can't create $self->{'export_path'}: $!\n\n";
8484
}
85+
else {
86+
$self->{'export_path'} = $self->{'path'};
87+
}
8588
# Load the three files we'll be using
8689
my $txt_file = basename($episode->{'filename'}, '.nuv') . '.txt';
8790
my $sql_file = basename($episode->{'filename'}, '.nuv') . '.sql';

trunk/mythtv/nuvinfo.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ package mythtv::nuvinfo;
165165
# Uses one of two mpeg info programs to load data about mpeg-based nuv files
166166
sub mpeg_info {
167167
my $file = shift;
168-
$file =~ s/'/\\'/sg;
168+
$file =~ s/'/'\\''/sg;
169169
my %info;
170170
# First, we check for the existence of an mpeg info program
171171
my $program = find_program('mplayer');

trunk/nuvexport

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# $Author$
66

77
# Version
8-
$VERSION = '0.3 0.20060306.svn';
8+
$VERSION = '0.3 0.20060312.svn';
99

1010
# Autoflush buffers
1111
$|++;

trunk/nuvexport.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Name: nuvexport
66
Version: 0.3
7-
Release: 0.20060306.svn
7+
Release: 0.20060312.svn
88
License: GPL
99
Summary: mythtv nuv video file conversion script
1010
URL: http://forevermore.net/nuvexport/

0 commit comments

Comments
 (0)