mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
* Use custom formats to generate file name * Do not mess up search term * Fix tests * Fix conflicting names * Fix subprocess call on file paths with spaces * Create directories and keep spaces as defaults * Fix config merge * Remove underscores from default file format * Remove debug info * Show possible formats in usage help
13 lines
368 B
Python
13 lines
368 B
Python
from core import const
|
|
from core import handle
|
|
import spotdl
|
|
|
|
|
|
def load_defaults():
|
|
const.args = handle.get_arguments(raw_args='', to_group=False, to_merge=False)
|
|
const.args.overwrite = 'skip'
|
|
|
|
spotdl.args = const.args
|
|
spotdl.log = const.logzero.setup_logger(formatter=const.formatter,
|
|
level=const.args.log_level)
|