Create a class for command-line functions

This commit is contained in:
Ritiek Malhotra
2020-04-27 00:28:15 +05:30
parent 35461e8602
commit a7578e9de0
7 changed files with 442 additions and 417 deletions

View File

@@ -7,28 +7,28 @@ import spotdl.util
DEFAULT_CONFIGURATION = {
"spotify-downloader": {
"manual": False,
"no-metadata": False,
"no-fallback-metadata": False,
"no_metadata": False,
"no_fallback_metadata": False,
"encoder": "ffmpeg",
"overwrite": "prompt",
"quality": "best",
"input-ext": "automatic",
"output-ext": "mp3",
"write-to": None,
"trim-silence": False,
"download-only-metadata": False,
"dry-run": False,
"music-videos-only": False,
"no-spaces": False,
"input_ext": "automatic",
"output_ext": "mp3",
"write_to": None,
"trim_silence": False,
"download_only_metadata": False,
"dry_run": False,
"music_videos_only": False,
"no_spaces": False,
"processor": "synchronous",
"output-file": "{artist} - {track-name}.{output-ext}",
"search-format": "{artist} - {track-name} lyrics",
"youtube-api-key": None,
"output_file": "{artist} - {track-name}.{output-ext}",
"search_format": "{artist} - {track-name} lyrics",
"youtube_api_key": None,
"skip": None,
"write-successful": None,
"log-level": "INFO",
"spotify-client-id": "4fe3fecfe5334023a1472516cc99d805",
"spotify-client-secret": "0f02b7c483c04257984695007a4a8d5c",
"write_successful": None,
"log_level": "INFO",
"spotify_client_id": "4fe3fecfe5334023a1472516cc99d805",
"spotify_client_secret": "0f02b7c483c04257984695007a4a8d5c",
}
}