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

Comment (by eerorika):

 I've attached a version that supports multiple hosts and does not include
 additions to gui.

 The mappings can be configured like this:


 {{{
 "path_mapping": {
   "host1": [
     ["/remote/path", "/local/path"],
     ["/another/path", "/yet/another"]
   ],
   "host2": [
     ["/remote/path", "/local/path"]
   ]
 }
 }}}

 Path mappings for a host are now lists of pairs rather than dicts to avoid
 confusion since dict lookups cannot be used anyway. It would be nice if
 the {{{[remote, local]}}} pairs could be tuples instead but settings are
 encoded in json and json doesn't differentiate between lists and tuples.

 The replacing of the base path now uses os.path.join so it shouldn't
 matter whether trailing directory separators are inconsistent.

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/2411#comment:13>
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