Edit queue for post-processing

Want something added? Ask for it here.
Post Reply
MortenCB
Newbie
Newbie
Posts: 2
Joined: August 12th, 2011, 9:55 am

Edit queue for post-processing

Post by MortenCB »

I have a script that sftp the finished download to my home pc, and this can take some time. In the meanwhile, all other torrents have the status "waiting". There should be an option to spawn a second post-processing-script, run them all in parallell or at least edit in which order they are being run (or pause them). Some of the items in the queue with "waiting" as status might just be waiting to do some unpacking or parity checking...

Very annoying to have to wait until many downloads have completed their post-processing (sftp to home) before the item you are waiting for can do it's unpacking checks and download the rest of the par files it needs.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Edit queue for post-processing

Post by shypike »

You can start an asynchronous script from your first script.
On Windows you use something like this:

@echo off
start 'script' /min my_real_script.cmd %1 %2 %3 %4 %5 %6 %7 %8 %9
MortenCB
Newbie
Newbie
Posts: 2
Joined: August 12th, 2011, 9:55 am

Re: Edit queue for post-processing

Post by MortenCB »

I know, but then I will loose the status of the transfer, return code and output to be included in the mail of the finished download...

I think a far better solution is a setting if you want post processing scripts to done in parallell or serial, and to be able to modify the queue of downloads waiting for post processing.
Post Reply