Hey guys
im trying to add new torrents to deluge using commandline. what i want to do is give deluge both path to .torrent file and a path where to save the files.
i found this in deluge forum "add -p /home/<user>/Downloads/ http://releases.ubuntu.com/9.10/ubuntu- ... so.torrent"
so i tried on my home pc - deluge.exe "add -p e:\ubuntu c:\ubuntu-9.10-desktop-i386.iso.torrent"
but that doesnt work :/ is anyone able to help med ?
deluge add command
Re: deluge add command
if you use deluge-console.exe you can pass it commands from the command line
Re: deluge add command
well, i just cant get it working.. and the help doesnt give any output when i write deluge-console.exe add --help
Re: deluge add command
You need to be running deluge in thin-client setup so that means running deluged.exe and then connecting to it with deluge-console.exe.
Code: Select all
deluge-console.exe help
deluge-console.exe info
deluge-console.exe "add --help"
deluge-console.exe "add -p c:\new c:\new.torrent"
Re: deluge add command
thank you - now it outputs "torrent added" but when i run "deluge-console.exe info" it doesnt show the new torrent :/
Re: deluge add command
I can confirm I see the same thing, I will look into it.
Re: deluge add command
The attachment should fix your problem.
Copy the file into: C:\Program Files\Deluge\deluge-1.3.1-py2.6.egg\deluge\ui\console\commands\
Copy the file into: C:\Program Files\Deluge\deluge-1.3.1-py2.6.egg\deluge\ui\console\commands\
- Attachments
-
- add.py.7z
- Fix for deluge-console.exe add issue
- (1.86 KiB) Downloaded 355 times
Re: deluge add command
It works, super nice 
I have a minor request though. When saving torrent-data to D:\, and the torrent is created with a torrent-name (not filename) like Test-Data, the data is typicaly saved to D:\Test-Data\.
I would like if it was possible to disable that directory-naming, so that the torrent data is saved to D:\, regardless of the torrent name

I have a minor request though. When saving torrent-data to D:\, and the torrent is created with a torrent-name (not filename) like Test-Data, the data is typicaly saved to D:\Test-Data\.
I would like if it was possible to disable that directory-naming, so that the torrent data is saved to D:\, regardless of the torrent name

Re: deluge add command
If the torrent was created from a folder then it will create a folder upon being loaded into Deluge.
I think there may be a feature request ticket for this.
I think there may be a feature request ticket for this.