Resume your torrent permanently after a Deluge error


In case you are familiar with the Deluge Console scripting, here is a different solution that a visitor of TheFreeWindows suggests. I have not tried it, but if the one I suggest in the previous page won’t work for you, just go on and try the other.

A note by Bentham

I was facing the same annoying errors. However I’ve got it working with deluge-console:

#!/bin/bash

while true;
do
x=`deluge-console "info Torrent-ID" |grep -i State | awk '{ print $2 }'`
if [ $x == "Error" ];
then
echo -n "Error!         ";date
echo -n "Resuming       ";date
deluge-console "resume Torrent-ID";
fi
echo -n "Ok             ";date
sleep 10
done

You can get the Torrent-ID by issuing the following command:

deluge-console info

Name: XXXXXX
ID: Torrent-ID
State: Error
Size: 641.8 MiB/30.5 GiB Ratio: 8.833
Progress: 15.31% [#########~~~~~~~~~~~~~]

This solved my problem!

Check this post in case that your Deluge downloaded files disappear (are saved in unknown locations)!

* Check this list with the best free torrent programs.

Download Deluge

Report a problem on this page / Make a Request
Get The Power & Follow! don't miss   : :   Sleeper   Favorite Launcher   Savy   Gadgetarian
Fling   Power Copy   Windows Rule   SearchALL Gadget   Amazon Gadget