This website requires JavaScript.
Explore
Help
Register
Sign In
mirror
/
nzbget
Watch
1
Star
0
Fork
0
You've already forked nzbget
mirror of
https://github.com/nzbget/nzbget.git
synced
2026-01-21 04:17:47 -05:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
f439f09c2e4ec7c27f200d7c8056dda764eb2ddc
nzbget
/
daemon
/
queue
/
QueueScript.cpp
Andrey Prygunkov
f439f09c2e
improvement in support for detection of bad downloads (fakes, etc.): queue-scripts are now called after every downloaded file included in nzb; new event "FILE_DOWNLOADED" of parameter "NZBNA_EVENT"; event "UNPACK" removed; instead added event "NZB_DOWNLOADED" which is similar to "UNPACK" but is called for every download even not having archive files and even if unpack is disabled; the execution of queue-scripts is serialized - only one script is executed at a time and other scripts wait in script-queue; the script-queue is compressed so that the same script for the same event is not queued more than once; this reduces the number of calls of scripts if files are downloaded faster than queue-scripts can work up them; a call for event "NZB_DOWNLOADED" is always performed even if the previous calls for events "FILE_DOWNLOADED" were skipped; when a script marks nzb as bad the nzb is deleted from queue, no further internal post-processing (par, unrar, etc.) is made for the nzb but all post-processing scripts are executed; if option "DeleteCleanupDisk" is active the already downloaded files are deleted; new status "BAD" for field "DeleteStatus" of nzb-item in RPC-method "history"; queue-scripts can set post-processing parameters by printing special command, just like post-processing-scripts can do that; this simplifies transferring (of small amount) of information between queue-scripts and post-processing-scripts
2014-08-15 22:24:53 +00:00
14 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink