Page 1 of 1

Deluge Console 2.0.3 Raspberry Pi

Posted: Mon Nov 15, 2021 6:53 pm
by bookedirl
I have a script that runs after a torrent has finished downloading. At the end of the script I remove the torrent from the que but It's not working
anymore. It did work in 1.3.15.

This part works and it pauses the torrent.

Code: Select all

deluge-console "connect 127.0.0.1:58846 root dietpi; pause $TORRENT_ID ; exit"
I run a filebot script and then once it completes I want to remove the torrent from being listed in the que list. But it doesn't remove it now when it previously did.

Code: Select all

deluge-console "connect 127.0.0.1:58846 root dietpi; del $TORRENT_ID ; exit"
Is there a new method for removing a torrent once the script is complete or is there something wrong with the method I'm using now?

Re: Deluge Console 2.0.3 Raspberry Pi

Posted: Mon Nov 15, 2021 7:07 pm
by mhertz
Yes, new syntax, so exchange 'del $TORRENT_ID' with 'rm --confirm $TORRENT_ID'(there's a bug with shortform '-c' of deluge 2.0.3, hence I used long-form of it here i.e '--confirm').

Re: Deluge Console 2.0.3 Raspberry Pi

Posted: Mon Nov 15, 2021 7:22 pm
by bookedirl
Worked perfect, thank you again!

Re: Deluge Console 2.0.3 Raspberry Pi

Posted: Mon Nov 15, 2021 9:20 pm
by mhertz
You're very welcome mate :)