diff options
author | trizen <trizen@protonmail.com> | 2020-09-10 10:05:58 +0300 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-09-14 11:08:34 -0500 |
commit | d4ed9a9222ca8f1941e0a810cd7e4df203568bd0 (patch) | |
tree | 1b7a01fa2016ad12c3516eeab25fa893c8a0889b | |
parent | 06b67e37a7a591ec844bd454033042e6bb198734 (diff) | |
download | fair-viewer-d4ed9a9222ca8f1941e0a810cd7e4df203568bd0.tar.lz fair-viewer-d4ed9a9222ca8f1941e0a810cd7e4df203568bd0.tar.xz fair-viewer-d4ed9a9222ca8f1941e0a810cd7e4df203568bd0.zip |
Save converted in the same folder they are downloaded in.
Signed-off-by: Jesús <heckyel@hyperbola.info>
-rwxr-xr-x | bin/fair-viewer | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/fair-viewer b/bin/fair-viewer index 8468f28..cb3bf05 100755 --- a/bin/fair-viewer +++ b/bin/fair-viewer @@ -3263,7 +3263,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 = ( |