Two fixes for downloads that repeat: a usenet release that keeps failing in the download client, and a second grab of a book that was already handed off in External mode.
Upgrade notes
- Bindery can now add a usenet release to the Blocklist by itself after repeated download client failures (#4272). See Fixed for the conditions. You can remove an entry on the Blocklist page, and Bindery will not add the same one again straight away.
- In External mode, Automatic search and Monitor now skip a book whose earlier download is still in the Queue (#4257). If you want another release, grab it from Search indexers or remove the Queue row first. A bulk search or a series fill skips such a book without a message on screen.
Fixed
- Some failing usenet releases are no longer grabbed again for ever (#4272). SABnzbd's Post-processing was aborted, Unpacking failed, see logfile and Repairing failed messages, and NZBGet's
FAILURE/INTERNAL_ERROR, were retried every six hours without end. A release that now fails this way three times over at least a day is added to the Blocklist, as long as your download client completes another download of the same type (ebook or audiobook) at least every few days. If it completes nothing of that type for longer than that, nothing is blocklisted and the retries continue, so #4272 stays open for that case. Only one release per book and type is blocklisted this way until that book imports that type again. Failures that mention a full disk or a permission error, script failures, and SABnzbd messages in other languages are retried as before. Thanks to @LarrySequino for the report. - Automatic search and Monitor no longer grab a second release for a format whose first download is still outstanding (#4257). With
import.mode=external, a finished download waits inimportExternaluntil a library scan reconciles the file, and the book stays wanted. The wanted sweep already skipped that format, but Automatic search on a book page, Monitor, a bulk search or a series fill could grab a different release, so the external tool imported a duplicate. Those searches now use the same in-flight filter as the sweep (includingimportExternalandimportHeld) and finish with the outcomedownload in flight, and the book page says so and names the two ways out. This also applies after a handed-off file was reconciled and then deleted, because its Queue row never clears by itself: grab a release from Search indexers, or remove the row from the Queue, to search again. Removing those rows automatically is tracked separately. Thanks to @RyoKusnadi for the fix.