lardbit / nefarious

Web application for automatically downloading TV & Movies (w/ VPN)
https://lardbit.github.io/nefarious/
GNU General Public License v3.0
1.02k stars 77 forks source link

abort search if user deleted the request before it completed #269

Closed lardbit closed 9 months ago

lardbit commented 9 months ago

This fixes a bug when a user "stops watching" a particular media source, but the search task continues in the background and eventually re-saves the request/media. This PR checks if the request exists after it completes its search to decide whether to actually download and continue.