Request: Command line controls

Suggestions and discussion of future versions
Juewy
New User
New User
Posts: 5
Joined: Sun Sep 02, 2007 8:13 pm

Re: Request: Command line controls

Post 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
docker
New User
New User
Posts: 2
Joined: Thu Oct 16, 2008 8:20 am

Re: Request: Command line controls

Post by docker »

Could anyone attach the TelnetServer.tar.gz file again?
Unfortunately it doesn't exist anymore :(
pettman
Member
Member
Posts: 20
Joined: Mon Jul 30, 2007 11:48 pm

Re: Request: Command line controls

Post 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.
joop
Member
Member
Posts: 12
Joined: Tue Apr 29, 2008 5:18 pm

Re: Request: Command line controls

Post 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.
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Request: Command line controls

Post 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
Post Reply