gui client keeps state across multiple daemons

General support for problems installing or using Deluge
Post Reply
Menpachi Hibachi
Member
Member
Posts: 12
Joined: Fri Jul 31, 2009 1:49 am

gui client keeps state across multiple daemons

Post by Menpachi Hibachi »

I am running two different deluged's on one linux system, I start them with different configurations via the -c option. They use different port numbers but share the same directory of shared data files. Only one of them is ever used for downloads, once a torrent is fully downloaded I manually add it to the second daemon in paused state and do a "force Re-check" to get it picked up. The reason I do all of that is because there are two WAN links on the router and the router knows to NAT each daemon's ports out different WAN links.

I manage both daemons from a windows box on the same lan via the windows gui client. I am running the 1.1.19 deluge gui client on windows 1.1.9 daemon on linux.

When I download a new torrent, I frequently change the directory name from the default by going into the Files tab and editing the directory there directly. So once the download is completed and I want to add it to the other daemon I have to manually edit it the same way on the 2nd daemon before doing a "force Re-check."

The problem is that when I disconnect from the first daemon and connect to the 2nd daemon in order to add the newly finished torrent, the gui remembers the values from the first daemon. Specifically, when I do "Add torrent" to add it in paused state and then go to the Files tab the line at the top will contain the directory name I manually entered on the first daemon, not the one embedded in the torrent itself. If I try to change it, it generally won't accept the changes and just undoes them when I hit return. If I go ahead and tell it to force a Re-check, the check immediately fails because internally it is using the directory name embedded in the torrent.

If I quit the client and rerun it by hand, then the directory name is displayed correctly and I am able to edit it to the new value and force a re-check sucessfully.
Post Reply