Page 2 of 2

Re: Request: Command line controls

Posted: Fri Sep 14, 2007 10:29 pm
by Juewy
I just installed it from source and its working, yay :D

I also tried editing your list command to tidy the output up but failed terribly, does the line self.server.core.get_core_torrent_state(torrentID) return an array? I tried something like this:

torrents = self.server.core.get_core_torrent_state(torrentID)
self.privateMessage("Seeding %s" % str(torrents['is_seed']))

Coming from php programing i thought it might work, but it complains about int's and strings and i gave up lol. Sorry for all the questions but its the only way i will learn

Re: Request: Command line controls

Posted: Thu Oct 16, 2008 8:43 am
by docker
Could anyone attach the TelnetServer.tar.gz file again?
Unfortunately it doesn't exist anymore :(

Re: Request: Command line controls

Posted: Sat Oct 18, 2008 8:18 pm
by pettman
Otherwise you could use the "null" interface, ssh to the machine running deluge and then run deluge -u null and you'll have a cli for controlling deluge.

Re: Request: Command line controls

Posted: Fri Oct 31, 2008 7:31 pm
by joop
bumping... any work being done on this lately? or any other sort of command line control? I'm looking specifically to leave Deluge running on gui when I am at home, then ssh into my computer and access the same process.

Re: Request: Command line controls

Posted: Sat Nov 01, 2008 12:50 am
by johnnyg
joop wrote:bumping... any work being done on this lately? or any other sort of command line control? I'm looking specifically to leave Deluge running on gui when I am at home, then ssh into my computer and access the same process.
you can already do this using the deamon and different UIs (GTK & null):
  1. Disable Classic Mode
  2. Start the daemon (you can also do this through the connection manager in the GTK UI)
  3. Optional: Close the GTK UI when you leave home (make sure you select Quit and not Quit & Shutdown Daemon)
  4. At your remote location, SSH into your PC
  5. Run

    Code: Select all

    deluge -u null
  6. Type "help" for a list of commands