Improve interactive behavior

This commit is contained in:
François Charette 2020-12-05 19:00:30 +01:00
parent ead1cbf106
commit 607b0d2795

View File

@ -117,11 +117,12 @@ def interactive(Qz, path, limit, tracks=True):
title = (
"Select [space] the item(s) you want to download "
"(one or more)\nPress Ctrl + c to quit\n"
"(zero or more)\nPress Ctrl + c to quit\n"
)
Selected = pick(
start.Total, title, multiselect=True, min_selection_count=1
start.Total, title, multiselect=True, min_selection_count=0
)
if len(Selected) > 0:
Albums.append(Selected)
y_n = pick(
@ -130,6 +131,8 @@ def interactive(Qz, path, limit, tracks=True):
)
if y_n[0][0] == "N":
break
else:
break
desc = (
"Select [intro] the quality (the quality will be automat"