yes, this evening i must to add someting like 10-15 .torrent to deluge and every time, i must go to the right directory to chose the file.
Is possible to save the last directory where is the .torrent files like the options to the destination directory?
Tanks for this and Tanks for this beautiful software!
...and sorry for my english
save the path of .torrent files in the add torrent setting
-
- New User
- Posts: 5
- Joined: Fri Jun 22, 2007 10:14 pm
-
- Compulsive Poster
- Posts: 1230
- Joined: Thu May 24, 2007 11:27 pm
- Location: Chicago, IL, USA
- Contact:
Re: save the path of .torrent files in the add torrent setting
you should just select them all in nautilus and drag them over to the deluge windowFabioamd87 wrote:yes, this evening i must to add someting like 10-15 .torrent to deluge and every time, i must go to the right directory to chose the file.
Is possible to save the last directory where is the .torrent files like the options to the destination directory?
Tanks for this and Tanks for this beautiful software!
...and sorry for my english
-
- Member
- Posts: 44
- Joined: Fri Jun 22, 2007 8:08 pm
Re: save the path of .torrent files in the add torrent setting
it would still be nice to have this. some of us don't use nautilus, in fact some of us don't even use a gui program for file management 

-
- Compulsive Poster
- Posts: 1230
- Joined: Thu May 24, 2007 11:27 pm
- Location: Chicago, IL, USA
- Contact:
Re: save the path of .torrent files in the add torrent setting
then you should launch deluge with "deluge ~/directory/foo/*.torrent"eternalsword wrote:it would still be nice to have this. some of us don't use nautilus, in fact some of us don't even use a gui program for file management

-
- New User
- Posts: 5
- Joined: Fri Jun 22, 2007 10:14 pm
Re: save the path of .torrent files in the add torrent setting
yes, this I wont to hearmarkybob wrote:then you should launch deluge with "deluge ~/directory/foo/*.torrent"eternalsword wrote:it would still be nice to have this. some of us don't use nautilus, in fact some of us don't even use a gui program for file managementbut yeah, it should be made to remember the last dir.

nice program, good work, all the beast.
-
- Compulsive Poster
- Posts: 1230
- Joined: Thu May 24, 2007 11:27 pm
- Location: Chicago, IL, USA
- Contact:
Re: save the path of .torrent files in the add torrent setting
btw, svn now has multiple selection support for "add torrent"...so you can highlight them all at once and add them that wayFabioamd87 wrote:yes, this I wont to hearmarkybob wrote:then you should launch deluge with "deluge ~/directory/foo/*.torrent"eternalsword wrote:it would still be nice to have this. some of us don't use nautilus, in fact some of us don't even use a gui program for file managementbut yeah, it should be made to remember the last dir.
nice program, good work, all the beast.

-
- Member
- Posts: 44
- Joined: Fri Jun 22, 2007 8:08 pm
Re: save the path of .torrent files in the add torrent setting
just tested svn and that's a no go for me. I'm in fluxbox if that makes a difference, but I am running the gnome-settings-daemon.markybob wrote: btw, svn now has multiple selection support for "add torrent"...so you can highlight them all at once and add them that way
-
- Compulsive Poster
- Posts: 1230
- Joined: Thu May 24, 2007 11:27 pm
- Location: Chicago, IL, USA
- Contact:
Re: save the path of .torrent files in the add torrent setting
yeah, sorry. apparently i only committed one of the files that needed changing, instead of both. it's fixed in svn r814 noweternalsword wrote:just tested svn and that's a no go for me. I'm in fluxbox if that makes a difference, but I am running the gnome-settings-daemon.markybob wrote: btw, svn now has multiple selection support for "add torrent"...so you can highlight them all at once and add them that way
-
- Member
- Posts: 44
- Joined: Fri Jun 22, 2007 8:08 pm
Re: save the path of .torrent files in the add torrent setting
well, I found the pygtk code to get this done, I'm just not sure how to add the necessary widget to preferences.
Here's how I would see it layed out:
Radio selection with three options:
1) Use Home directiory (default)
2) Use Last Selected Directory
3) Use Custom Directory
Path selection tool if user selects #3
the pygtk code needed to go to a path is (trunk/src/dialogs.py)
279 f1.add_pattern("*")
chooser.set_current_folder(self.preferences.get("load_torrent_path"))
280 chooser.add_filter(f1)
to save the path for the Last Selected Directory option (trunk/src/dialogs.py)
289 result = chooser.get_filenames()
if(self.preferences.get("list_selected_directory_boolean"))
self.preferences.set("load_torrent_path", chooser.get_current_folder())
290 else:
I'm not sure about all the self.preferences, but anyways, that should give you a good start (still learning python so excuse my inexpertise).
Here's how I would see it layed out:
Radio selection with three options:
1) Use Home directiory (default)
2) Use Last Selected Directory
3) Use Custom Directory
Path selection tool if user selects #3
the pygtk code needed to go to a path is (trunk/src/dialogs.py)
279 f1.add_pattern("*")
chooser.set_current_folder(self.preferences.get("load_torrent_path"))
280 chooser.add_filter(f1)
to save the path for the Last Selected Directory option (trunk/src/dialogs.py)
289 result = chooser.get_filenames()
if(self.preferences.get("list_selected_directory_boolean"))
self.preferences.set("load_torrent_path", chooser.get_current_folder())
290 else:
I'm not sure about all the self.preferences, but anyways, that should give you a good start (still learning python so excuse my inexpertise).
-
- Member
- Posts: 44
- Joined: Fri Jun 22, 2007 8:08 pm