Deluge Console 2.0.3 Raspberry Pi

General support for problems installing or using Deluge
Post Reply
bookedirl
Member
Member
Posts: 17
Joined: Mon Nov 16, 2015 3:50 am

Deluge Console 2.0.3 Raspberry Pi

Post 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?
mhertz
Moderator
Moderator
Posts: 2195
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Deluge Console 2.0.3 Raspberry Pi

Post 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').
bookedirl
Member
Member
Posts: 17
Joined: Mon Nov 16, 2015 3:50 am

Re: Deluge Console 2.0.3 Raspberry Pi

Post by bookedirl »

Worked perfect, thank you again!
mhertz
Moderator
Moderator
Posts: 2195
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Deluge Console 2.0.3 Raspberry Pi

Post by mhertz »

You're very welcome mate :)
Post Reply