Skip to content

Commit 2574357

Browse files
committed
Ignore --subdir with --history or --tag-only
Location of any new files (e.g., with --subtitles-only) is determined by location of existing media file
1 parent 21a2736 commit 2574357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

get_iplayer

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4796,7 +4796,7 @@ sub generate_filenames {
47964796

47974797
# Don't create subdir if we are only testing recordings
47984798
# Create a subdir for programme sorting option
4799-
if ( $opt->{subdir} ) {
4799+
elsif ( $opt->{subdir} ) {
48004800
my $subdir = $prog->substitute( $opt->{subdirformat} || '<longname>', 1 );
48014801
if ( $opt->{isodate} ) {
48024802
$subdir =~ s|(\d\d)[/_](\d\d)[/_](20\d\d)|$3-$2-$1|g;

0 commit comments

Comments
 (0)