Skip to content

Commit

Permalink
added missing encode of --tag-only-filename value
Browse files Browse the repository at this point in the history
Closes #448
  • Loading branch information
notnac committed Dec 15, 2023
1 parent 0361386 commit f65c7d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get_iplayer
Original file line number Diff line number Diff line change
Expand Up @@ -3987,7 +3987,7 @@ sub tag_file {
my $prog = shift;
if ( $opt->{tagonly} ) {
if ( $opt->{tagonlyfilename} ) {
$prog->{filename} = $opt->{tagonlyfilename};
$prog->{filename} = main::encode_fs($opt->{tagonlyfilename});
(undef, undef, $prog->{ext}) = fileparse($prog->{filename}, qr/\.[^.]*/);
$prog->{ext} =~ s/^\.//;
}
Expand Down

0 comments on commit f65c7d9

Please sign in to comment.