Page 1 of 1

set torrent queue position from code

Posted: Mon Sep 20, 2010 2:29 pm
by ledzgio
Hi to all,

how can i change a torrent position within the queue from a plugin using deluge API? I would like to set the position of the torrent within the queue.

thanks

Re: set torrent queue position from code

Posted: Tue Sep 21, 2010 12:23 am
by johnnyg

Re: set torrent queue position from code

Posted: Fri Sep 24, 2010 2:33 pm
by ledzgio
Ok thanks.

There are methods to move up, down, top and bottom a torrent, is there a method to specify the (new) position of a torrent?

e.g. queue_position(torrent_id, new_position)

thanks

Re: set torrent queue position from code

Posted: Sat Sep 25, 2010 2:51 am
by johnnyg
Unless that position is first or last, then no.