midgetspy/Sick-Beard — pull request #307 by Anthirian (2012-02-20 22:51:55+00:00)
Title: Don't download higher quality if the file has already been deleted

This pull request adds functionality to Sick Beard to allow users to enable the option to not download better qualities of episodes if the original file is no longer present on the system. This is useful for people who use Sick Beard to download episodes, watch them and then immediately delete them from their hard drives. The functionality is off by default and can be turned on via the Search Settings config page.

This functionality works for the backlog searches as well as the rss searches. It is not fully finished yet, as I am still in doubt as to what to do if one episode of a multi-episode or a season has been deleted. You probably wouldn't want to have to download an entire season if that means you get 2 or 3 episodes in higher quality, but the question is where to draw the line?

PS. The commits have gotten somewhat messy, as my other pull request's commits somehow seem to have merged into this one. I have reverted that request's files to the originals, but they still show up in the files changed tab.