Closed bbogdanov closed 3 years ago
I don’t understand what issue the change fixes.
When AutoTMM enabled, user can't change the save path, and the default path is category name.
Please note, defaultPath
is only used for placeholder, it will not be submitted to the server.
Prerequisites:
Manual
Repo:
https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#add-new-torrent we can see here that savePath
can be provided with the request.
I tried with the fix where the torrent will download and it downloads in the correct folder ( the category one )
Maybe can investigate further and refactor a little bit the AddForm
As I said, the defaultPath
will not send to server. Your change is just to display the category path on the UI.
If you want the save path to follow category settings, you should use AutoTMM mode. this is the feature what used for.
Or...am I still not get your point?
I assume if the AutoTMM is set to manual
then the savePath
of each category should be reflected accordingly, showed on the screen and passed to the server.
Currently this is not what happens. Even with AutoTMM set to manual
the client continue to add torrents in the defaultPath
folder even the category selected has its own savepath
I understand I have to do some other changes to the PR, but what do you thing about my assumption described above?
Seems like I miss understand what AutoTMM does.
Seems like the Auto TTM is preventing to change the
savePath
when a category is selected and that way thesavePath
is always the default one for the app.I am not entirely sure that this is the best fix for this but seems to work with
manual
andauto
.