Console?

General support for problems installing or using Deluge
Post Reply
Malamut
Member
Member
Posts: 21
Joined: Tue Jul 22, 2008 2:33 pm
Location: Russia

Console?

Post by Malamut »

Very strange question... Is deluge supporting management from a console? Can I add a new torrent (from a file) using a console command? As I understand, I can't :(
Ubuntu Jaunty x86_64, Core 2 Duo 1.86 GHz, 2 GB RAM
mvoncken
Developer
Developer
Posts: 225
Joined: Mon Sep 03, 2007 9:38 pm

Re: Console?

Post by mvoncken »

just call deluge with the 1st argument a the torrent file
dev: webui, core, labels | irc:vonck7 |
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: Console?

Post by andar »

Malamut wrote:Very strange question... Is deluge supporting management from a console? Can I add a new torrent (from a file) using a console command? As I understand, I can't :(
deluge -u null
Malamut
Member
Member
Posts: 21
Joined: Tue Jul 22, 2008 2:33 pm
Location: Russia

Re: Console?

Post by Malamut »

Ok, thank you. But I need a script which will add a lot of new torrens to different directories. Can I add, for example, test.torrent file to a /home/downloads directory with one command from bash?
Ubuntu Jaunty x86_64, Core 2 Duo 1.86 GHz, 2 GB RAM
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Console?

Post by johnnyg »

the best would be to use a python script, see here for an example: http://forum.deluge-torrent.org/viewtop ... &sk=t&sd=a
otherwise if you must use bash you can do something dodgy like this: http://forum.deluge-torrent.org/viewtop ... &sk=t&sd=a
Malamut
Member
Member
Posts: 21
Joined: Tue Jul 22, 2008 2:33 pm
Location: Russia

Re: Console?

Post by Malamut »

Thank you!! :D
Ubuntu Jaunty x86_64, Core 2 Duo 1.86 GHz, 2 GB RAM
Post Reply