Change wording from Download Stopped to Download Cancelled

This commit is contained in:
rlaphoenix
2024-01-09 11:38:58 +00:00
parent d566aa2547
commit ce457df151
3 changed files with 5 additions and 5 deletions

View File

@@ -275,9 +275,9 @@ class HLS:
download_size = download.result()
except KeyboardInterrupt:
stop_event.set() # skip pending track downloads
progress(downloaded="[yellow]STOPPING")
progress(downloaded="[yellow]CANCELLING")
pool.shutdown(wait=True, cancel_futures=True)
progress(downloaded="[yellow]STOPPED")
progress(downloaded="[yellow]CANCELLED")
# tell dl that it was cancelled
# the pool is already shut down, so exiting loop is fine
raise