[Queue-Script] StickyDownloadQueue - Download NZBs to completion once started

Share your scripts or request scripts with specific features.
Forum rules
Please keep the forum clean - one topic per script. Questions not related to a specific script should be posted in Support forum.
Post Reply
Hidendra
Posts: 3
Joined: 13 Apr 2021, 19:01

[Queue-Script] StickyDownloadQueue - Download NZBs to completion once started

Post by Hidendra » 24 May 2021, 23:59

This script changes the priority of NZBs that are downloading. By default it uses FORCE but can be configured. The priority will stay the same until it is fully completed (unless a different script changes the priority after the download finishes.)

When downloading many NZBs, in-progress downloads can be annoyingly bumped when the queue is sorted (e.g. QueueSort script) or when an NZB gets added with a high priority (e.g. "recent priority" in *Arrs). This can cause several unfinished NZBs to fill up space and eventually cause NZBGet to pause due to running out of space if the partially complete NZBs are not completed in time. This is mainly problematic in deployments that have little storage in the 'completed' directory (e.g. 100 GB in my case).

This prevents this situation by adjusting the priority of any NZB once it has downloaded a single file (1~100 MB). As long as the priority is higher than any priority you currently use, the download won't be interrupted until completion.

Requirements
  • NZBGet 18.0+
  • Python 2 or 3 accessible from NZBGet

License
MIT

Download / Source
GitHub: https://github.com/Hidendra/nzbget-stic ... e/releases

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests