mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-17 16:45:13 -04:00
added interactive mode
This commit is contained in:
parent
c79cbbd6f4
commit
5abe14aeb9
5 changed files with 77 additions and 14 deletions
|
@ -20,6 +20,7 @@ if not os.path.isdir(CACHE_DIR):
|
|||
os.makedirs(CONFIG_DIR)
|
||||
|
||||
config = Config(CONFIG_PATH)
|
||||
core = MusicDL(config)
|
||||
|
||||
|
||||
@click.group()
|
||||
|
@ -82,7 +83,6 @@ def download(ctx, **kwargs):
|
|||
init_log()
|
||||
|
||||
config.update_from_cli(**ctx.params)
|
||||
core = MusicDL(config, database=list() if kwargs["no_db"] else None)
|
||||
for item in kwargs["items"]:
|
||||
try:
|
||||
if os.path.isfile(item):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue