Suggestions and discussion of future versions
-
tonny
- New User

- Posts: 9
- Joined: Thu Jun 20, 2013 8:30 pm
Post
by tonny »
I want to connect deluge-web with a specify deluged (daemon) ip and port but I can't.
I add ""default_daemon": "10.10.1.3:50000"," in web.conf. Also I change the file permisios for avoid an overwrite.
I try changing "ui/web/json_api.py" with:
Code: Select all
defaultTuple = default.partition(":")
host = defaultTuple[0]
port = int(defaultTuple[2])
self.connect(host, port, "", "")
but not work...
-
Cas
- Top Bloke

- Posts: 3681
- Joined: Mon Dec 07, 2009 6:04 am
- Location: Scotland
Post
by Cas »
default_daemon is the id of the entry from hostlist.conf
-
tonny
- New User

- Posts: 9
- Joined: Thu Jun 20, 2013 8:30 pm
Post
by tonny »
Thank you very much Cas, now it's working!!!

.
I leave my code here for any one that are with same issue:
hostlist.conf.1.2
Code: Select all
{
"file": 1,
"format": 1
}{
"hosts": [
[
"1244018693e94f6e08a3885bbbd86c51eb8c11ea",
"localhost",
58841,
"localclient",
"9f31e7a3127ebf693b5ffbbe412113ed3dfd00bc"
],
[
"1244018693e94f6e08a3885bbbd86c51eb8c11eb",
"localhost",
58842,
"localclient",
"ce591d07da7b7be432c98006e56c8b0ac7a093a2"
]
]
}
web.conf 1
Code: Select all
... "default_daemon": "1244018693e94f6e08a3885bbbd86c51eb8c11ea", ...
web.conf 1
Code: Select all
... "default_daemon": "1244018693e94f6e08a3885bbbd86c51eb8c11eb", ...