WIP: feature/cleanup_programming_interface #40

Draft
Hazel wants to merge 35 commits from feature/cleanup_programming_interface into experimental
2 changed files with 4 additions and 3 deletions
Showing only changes of commit 4b2dd4a36a - Show all commits

2
.vscode/launch.json vendored
View File

@ -22,7 +22,7 @@
"name": "Python Debugger: Music Kraken",
"type": "debugpy",
"request": "launch", // run the module
"module": "music_kraken",
"program": "${workspaceFolder}/.vscode/run_script.py",
}
]
}

View File

@ -88,12 +88,13 @@ class CliDownloader:
output()
def print_current_options(self):
self.page_dict = dict()
print()
print(self.current_results.pprint())
"""
self.page_dict = dict()
page_count = 0
for option in self.current_results.formatted_generator():
if isinstance(option, ResultOption):
@ -324,7 +325,7 @@ class CliDownloader:
return False
if do_download:
self.download(selected_objects)
self.download(list(o.value for o in selected_objects))
return False
if len(selected_objects) != 1: