diff --git a/src/qobuz_dl_remote/main.py b/src/qobuz_dl_remote/main.py index 2d6e08d..dc5e234 100755 --- a/src/qobuz_dl_remote/main.py +++ b/src/qobuz_dl_remote/main.py @@ -157,6 +157,12 @@ class Qobuz: artist = album.artist album_title = album.title tracks = album.tracks if album.tracks is not None else [] + if os.path.exists(dest): + input(f"Destination {dest} already exists, skip download? [Y/n] ") + if input().strip().lower() != "n": + print("Skipping download.") + return + os.makedirs(dest, exist_ok=True) print(f"Downloading album: {artist} - {album_title}") for nr, track in enumerate(tracks):