File tree Expand file tree Collapse file tree 4 files changed +14
-13
lines changed
Expand file tree Collapse file tree 4 files changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ To stop playing press Ctrl+C in either the terminal or mpv
9999<details ><summary >List all subcommands</summary >
100100
101101 $ library
102- library (v3.0.149 ; 104 subcommands)
102+ library (v3.0.150 ; 104 subcommands)
103103
104104 Create database subcommands:
105105 ╭─────────────────┬──────────────────────────────────────────╮
Original file line number Diff line number Diff line change 55from library .utils import argparse_utils , iterables
66from library .utils .log_utils import log
77
8- __version__ = "3.0.149 "
8+ __version__ = "3.0.150 "
99
1010progs = {
1111 "Create database subcommands" : {
Original file line number Diff line number Diff line change @@ -98,16 +98,17 @@ def parse_args(defaults_override=None):
9898 else :
9999 args .file_over_file = arggroups .file_over_file ("delete-dest" )
100100
101- exts = set (args .ext or [])
102- if DBType .audio in args .profiles :
103- exts |= consts .AUDIO_ONLY_EXTENSIONS
104- if DBType .video in args .profiles :
105- exts |= consts .VIDEO_EXTENSIONS
106- if DBType .image in args .profiles :
107- exts |= consts .IMAGE_EXTENSIONS
108- if DBType .text in args .profiles :
109- exts |= consts .TEXTRACT_EXTENSIONS
110- args .ext = tuple (exts )
101+ if args .profiles :
102+ exts = set (args .ext or [])
103+ if DBType .audio in args .profiles :
104+ exts |= consts .AUDIO_ONLY_EXTENSIONS
105+ if DBType .video in args .profiles :
106+ exts |= consts .VIDEO_EXTENSIONS
107+ if DBType .image in args .profiles :
108+ exts |= consts .IMAGE_EXTENSIONS
109+ if DBType .text in args .profiles :
110+ exts |= consts .TEXTRACT_EXTENSIONS
111+ args .ext = tuple (exts )
111112
112113 return args
113114
Original file line number Diff line number Diff line change @@ -1314,7 +1314,7 @@ def regex_sort(parent_parser):
13141314 "--preprocess" ,
13151315 action = argparse .BooleanOptionalAction ,
13161316 default = True ,
1317- help = "Remove junk common to filenames and URLs, eg. %20" ,
1317+ help = "Remove junk common to filenames and URLs, eg. %% 20" ,
13181318 )
13191319
13201320
You can’t perform that action at this time.
0 commit comments