Create partial file when reusing cancelled tasks.
commitf7497c617a9a5619a1fbdb994d055ad77e64e4f0
authorauouymous <au@qzx.com>
Tue, 8 Feb 2022 10:57:22 +0000 (8 03:57 -0700)
committerauouymous <au@qzx.com>
Tue, 8 Feb 2022 10:57:22 +0000 (8 03:57 -0700)
treede46542137f11435dfa579e225d6a5cfcf0b13bc
parent1950a055f9a99fe59f7483f5c5c83e517f274548
Create partial file when reusing cancelled tasks.

The partial file for a cancelled task is deleted, but the task is not
removed from progress list while other tasks are downloading.
Downloading the cancelled episode again would reuse the existing task
without creating a new partial file. This prevented resuming the
download after restarting gPodder, and caused the youtube-dl extension
to fail if used to re-download it.
src/gpodder/download.py
src/gpodder/gtkui/main.py