#2411: Open Folder action to remote client
------------------------------+---------------------------------
  Reporter:  eerorika         |      Owner:
      Type:  feature-request  |     Status:  new
  Priority:  minor            |  Milestone:  1.3.x
 Component:  GTK-UI           |    Version:  1.3-stable (git)
Resolution:                   |   Keywords:  remote, open folder
------------------------------+---------------------------------

Comment (by eerorika):

 @Cas
 The mappings are supposed to work with all the subfolders of remote path.
 For example, with mapping:
 '/home/deluge': '/mnt/server/deluge'

 A folders path should be mapped:
 /home/deluge/distros/ubuntu/ => /mnt/server/deluge/distros/ubuntu/

 I don't think that's possible with your code unless the user maps all the
 possible subfolders manually, which would be silly. I didn't edit the
 description or mention it in comments, but I also do the mapping for "Open
 File" button. Mapping all downloaded files manually would be even sillier
 :)

 There might be a cheaper way than the regex but it won't be as elegant.

 In any case, I doubt the regex is going to have much of an impact. It's
 very simple (no backtracking or wildcards) and there isn't likely going to
 be more than a few mappings; usually just one. I'd be surprised if it were
 significantly expensive unless you open thousands of folders at the same
 time. And even then, the regex would be much less expensive than opening
 thousands instances of file managers that access a remote filesystem.

 @andar
 Yeah, the settings should be host specific to support multiple remote
 hosts without changing mappings. I don't think they should be in the host
 config though because clients in different machines may have the
 filesystem mounted in a different location (not to mention different
 operating systems). The right way in my opinion would be to have a mapping
 dict in client for each host. A dict of dicts that is.

 The mapping could be added to the "Add Host" dialog but it seems that
 currently you cannot edit the host settings after it has been added.

 Feel free to improve the user interface if you want to. A text area is the
 same way Transmission does it (at least last time I used it) and it's good
 enough for me.

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/2411#comment:8>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to