Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Settings/Torrents] Download location is not properly sent to qBitorrent 5.0 with default application #1211

Open
VictorJozwicki opened this issue Oct 6, 2024 · 3 comments
Labels

Comments

@VictorJozwicki
Copy link

VictorJozwicki commented Oct 6, 2024

It would seems like after the recent update of qBittorrent to version 5.0, Taiga is unable to download a torrent and set the destination folder as it used to do.

Every downloads go directly to the default location

How to reproduce

  • Have the "Use the default application associated with .torrent files" activated on Taiga
  • Install qBittorrent v5.0.0
  • Download a torrent in Taiga from the Torrents section

Workaround

  • In Settings -> Torrents -> Download
  • Use a custom application
    image

Workaround 2

You can download the version v4.6.7 from SourceForge
I can confirm that this version still works after redownloading it

Link

@VictorJozwicki VictorJozwicki changed the title [qBittorrent] Download location is not properly sent to qBitorrent 5 [qBittorrent] Download location is not properly sent to qBitorrent 5.0 Oct 6, 2024
@VictorJozwicki VictorJozwicki changed the title [qBittorrent] Download location is not properly sent to qBitorrent 5.0 [Settings/Torrents] Download location is not properly sent to qBitorrent 5.0 Oct 6, 2024
@erengy erengy added the torrents label Oct 6, 2024
@erengy
Copy link
Owner

erengy commented Oct 6, 2024

You can select the Use a custom application option from Settings → Torrents → Downloads → BitTorrent client as a workaround.

When the Use the default application associated with .torrent files option is selected, Taiga reads some registry keys to figure out the path (e.g. C:\Program Files\qBittorrent\qbittorrent.exe) automatically. Apparently, qBitorrent 5.0 does things differently due to qbittorrent/qBittorrent#19446.

Note to self: Looks like we need to read HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.torrent\UserChoice\ProgId to retrieve qBittorrent.File.Torrent, query HKEY_LOCAL_MACHINE\SOFTWARE\Classes\qBittorrent.File.Torrent\shell\open\command, then process the data as before.

@VictorJozwicki
Copy link
Author

Thanks for the answer Erengy

C++ and Windows are not really my domain so I couldn't investigate more sorry ^^'

Thanks for the explanation

@VictorJozwicki VictorJozwicki changed the title [Settings/Torrents] Download location is not properly sent to qBitorrent 5.0 [Settings/Torrents] Download location is not properly sent to qBitorrent 5.0 with default application Oct 7, 2024
@5TXdYWK
Copy link

5TXdYWK commented Nov 5, 2024

@erengy

Note to self: Looks like we need to read HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.torrent\UserChoice\ProgId to retrieve qBittorrent.File.Torrent, query HKEY_LOCAL_MACHINE\SOFTWARE\Classes\qBittorrent.File.Torrent\shell\open\command, then process the data as before.

Is there any chance we can see an update released that addresses this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants