transmission-remote-gui / transgui

🧲 A feature rich cross platform Transmission BitTorrent client. Faster and has more functionality than the built-in web GUI.
GNU General Public License v2.0
3.24k stars 281 forks source link

Magnet links defaulting to wrong download location #1155

Open 0jay opened 6 years ago

0jay commented 6 years ago
leonsoft-kras commented 6 years ago

What is the issue or problem?

0jay commented 6 years ago

I'm unable to click magnet links to activate torrents as it results in a flase download location which is different to how it's configured either on the router or in the app

thanks for your reply.

leonsoft-kras commented 6 years ago

It is right. You added a magnet link, and your transmission has not yet downloaded the file list.

0jay commented 6 years ago

No mate you misunderstand.

Transmission is configured to download to a particular location and it does this when adding torrents in any way except for magnet links which default to a different download location, one that does not exist, therefore when adding by clicking a magnet link the download errors out

0jay commented 6 years ago

When I paste a magnet link or upload a torrent file the torrent downloads to the correct location.

Only when activating the app by clicking a magnet link does it the error out because the location it defaults to does not exist

leonsoft-kras commented 6 years ago

default

Do you see such a window when adding a torrent?

0jay commented 6 years ago

No, I have it set so as to begin automatically therefore it defaults to a download location rather than an option to choose the download location.

The problem is the location it is defaulting to.

leonsoft-kras commented 6 years ago

OK. It seems understood. It seems someone was engaged in this topic.

0jay commented 6 years ago

Thanks for your time mate.

rzcat commented 6 years ago

I cannot re-preoduce the problem. I got something wrong? With the checkbox "Prompt for download options when adding a new torrent" CHECKED, when I click a magnet link, the "Add a new torrent" window appears with my pre-set Destination folder With the checkbox UNCHECKED, when I click a magnet link, the task will be added to my queue list, with the Destination folder set as if the "Add a new torrent" window been clicked "OK" automatically

0jay commented 6 years ago

Hi, ta for looking into it.

The thing I'd mention that I think has caused this, is that the directory it's defaulting to is a directory I inputed into your gui before I'd worked out how to get the networked USB drive to work, so it's a location that I had previously inputed. The new (correct) location has been inputed into your gui and into the config file in the command line and yet it still defaults to the previous location.

The process you have described above is exactly what I am doing which results in the download location error.

I've tried deleting Transmission Remote GUI with AppCleaner, removing everything yet on reinstalling the preferences are saved.

Thanks for your time. Oscar

0jay commented 6 years ago

Solved.

Had to reenable the prompt for downloads option to delete previous locations.

Thanks for your app - I love it!

anohren commented 5 years ago

I have the same issue.

miroesq commented 5 years ago

I am experiencing the same thing. I have transmission daemon installed on a linux box and am using transmission qt client on windows to log into it remotely. I have the default file save location as "/mnt/drive" and when I add a torrent file, there are no problems. However, when I click on a magnet link in my browser on windows, I get a transmission popup and the default file location is "C:/mnt/drive" which is wrong and I have to change it manually every time which is super annoying. I've uninstalled and reinstalled chrome, and windows transmission qt, but still it persists.

anohren commented 4 years ago

0jay hinted at a workaround, but this doesn't seem to get a fix any time soon so here's a more detailed alternative workaround:

Search for AddTorrent in ~/.config/Transmission Remote GUI/transgui.ini and edit all paths that match the one you don't want under the sections called AddTorrent.<your server name>. There's one set of settings per server.

Uninstalling the application often leaves configuration files behind which would explain why that didn't work.

The application is trying to suggest the last used directory that you downloaded to, which is all fine and convenient if you've enabled the option to show the download options dialog when a torrent is added. If that option isn't enabled then it backfires by still defaulting to the last manually used directory, instead of the actual default download directory.

In other words, you lock yourself into the most recently used destination folder as soon as you disable the download options dialog for new transfers.