File tree Expand file tree Collapse file tree 1 file changed +23
-6
lines changed
Expand file tree Collapse file tree 1 file changed +23
-6
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,23 @@ def get_arguments(config_base=_CONFIG_BASE):
5959 "https://github.com/ritiek/spotify-downloader/releases/tag/v2.0.0"
6060 )
6161
62+ possible_special_tags = (
63+ "{track-name}" ,
64+ "{artist}" ,
65+ "{album}" ,
66+ "{album-artist}" ,
67+ "{genre}" ,
68+ "{disc-number}" ,
69+ "{duration}" ,
70+ "{year}" ,
71+ "{original-date}" ,
72+ "{track-number}" ,
73+ "{total-tracks}" ,
74+ "{isrc}" ,
75+ "{track-id}" ,
76+ "{output-ext}" ,
77+ )
78+
6279 # `--remove-config` does not require the any of the group arguments to be passed.
6380 group = parser .add_mutually_exclusive_group (required = not to_remove_config )
6481
@@ -162,9 +179,9 @@ def get_arguments(config_base=_CONFIG_BASE):
162179 "--output-file" ,
163180 default = defaults ["output_file" ],
164181 help = "path where to write the downloaded track to, special tags "
165- "are to be surrounded by curly braces. Possible tags: "
166- # TODO: Add possible tags
167- # "{}".format([spotdl.util.formats[x] for x in spotdl.util.formats]),
182+ "are to be surrounded by curly braces. Possible tags: {}" . format (
183+ possible_special_tags
184+ )
168185 )
169186 parser .add_argument (
170187 "--trim-silence" ,
@@ -177,9 +194,9 @@ def get_arguments(config_base=_CONFIG_BASE):
177194 "--search-format" ,
178195 default = defaults ["search_format" ],
179196 help = "search format to search for on YouTube, special tags "
180- "are to be surrounded by curly braces. Possible tags: "
181- # TODO: Add possible tags
182- # "{}".format([spotdl.util.formats[x] for x in spotdl.util.formats]),
197+ "are to be surrounded by curly braces. Possible tags: {}" . format (
198+ possible_special_tags
199+ )
183200 )
184201 parser .add_argument (
185202 "-d" ,
You can’t perform that action at this time.
0 commit comments