Skip to content

Commit

Permalink
Save converted in the same folder they are downloaded in.
Browse files Browse the repository at this point in the history
  • Loading branch information
trizen committed Sep 10, 2020
1 parent 35ba531 commit 866a6c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/youtube-viewer
Expand Up @@ -3322,7 +3322,7 @@ sub download_video {

# Convert the downloaded video
if (defined $opt{convert_to}) {
my $convert_filename = "$naked_filename.$opt{convert_to}";
my $convert_filename = catfile($opt{downloads_dir}, "$naked_filename.$opt{convert_to}");
my $convert_cmd = $opt{convert_cmd};

my %table = (
Expand Down

0 comments on commit 866a6c6

Please sign in to comment.