tr_torrent->downloadDi different than session->downloadDir ?

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
hufman
Posts: 2
Joined: Thu Feb 26, 2009 5:37 am

tr_torrent->downloadDi different than session->downloadDir ?

Post by hufman »

I'm trying to patch up transmissioncli 1.50 so that it can work with torrentflux-b4rt, and I'm noticing a very strange problem. I'm setting the tr_benc settings to have the correct download location, and this location is being carried through to the session object. However, it still tries to write to $HOME/Downloads, instead of my download location.
Is there some quick obvious solution that I'm missing? It's rather late for me, so I'm not thinking the most clearly, and I don't want to trace back through peer_msgs.c to see how tr_peermsgs is populated with the tr_torrent object.

So, are there any obvious reasons why transmission's torrent informations are changing where they download to?
hufman
Posts: 2
Joined: Thu Feb 26, 2009 5:37 am

Re: tr_torrent->downloadDi different than session->downloadDir ?

Post by hufman »

It happens because the resume data contains the download location, and it uses that instead of the command line arguments.
Deleting the resume data forces it to use the command line arguments.
Post Reply