Page 1 of 1

deluge-console pause and resume not working.

Posted: Thu Jul 27, 2017 8:28 pm
by Jimmyx
Evening All,
I'm trying to use deluge-console to change the status on my active torrents. I'm currently running deluge & deluged on my raspberry pi.

Every time I run

Code: Select all

deluge-console pause *
or

Code: Select all

deluge-console resume *
it just returns to the console, without pausing / resuming any torrents. I can get the information about currently torrenting with

Code: Select all

deluge-console info
.

If i run deluge-console the commands work inside but not from the cli.

Any help would be appreciated, i'm not sure what i'm doing wrong.
Thanks

Re: deluge-console pause and resume not working.

Posted: Sun May 20, 2018 12:56 pm
by greatscott
You might need to use something like:

Code: Select all

/usr/bin/deluge-console -c ~/.config/deluge 'connect 127.0.0.1; pause TORRENTIDS; quit'
for it to work.

TORRENTIDS are the torrent IDs to pause, separated by space.