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

Load torrent metadata by magnet, hash... in qBittorrent-nox #20966

Open
NikcN22 opened this issue Jun 17, 2024 · 9 comments · May be fixed by #21015
Open

Load torrent metadata by magnet, hash... in qBittorrent-nox #20966

NikcN22 opened this issue Jun 17, 2024 · 9 comments · May be fixed by #21015
Labels
Feature request WebAPI WebAPI-related issues/changes WebUI WebUI-related issues/changes

Comments

@NikcN22
Copy link

NikcN22 commented Jun 17, 2024

Suggestion

Add an API that will take magnet, hash and so on as a parameter and return torrent metadata.

Use case

This will allow to create a window for selecting the priority of the torrent content at the stage of adding a torrent using a magnet-link, hash and so on

Extra info/examples/attachments

No response

@thalieht thalieht added WebUI WebUI-related issues/changes WebAPI WebAPI-related issues/changes labels Jun 17, 2024
@Piccirello
Copy link
Member

I'm going to explore implementing this. Once this API exists, other work will still be needed to allow for the modification of content priority when adding a torrent.

@NikcN22
Copy link
Author

NikcN22 commented Jun 30, 2024

I'm going to explore implementing this. Once this API exists, other work will still be needed to allow for the modification of content priority when adding a torrent.

Thank you very much!
I understand what you are talking about. Of course, it would be ideal if the .../torrent/add method had an option to set file priority. However, using the available APIs and a couple of tools, you can set the priority of files when adding a new torrent.

@sdugoten
Copy link

would torrent meta also include file contents inside the magnet link and allow you to choose which files to download?

@Piccirello
Copy link
Member

The metadata will include file contents. Support for selecting which files to download would need to be added to the add torrent API and will not be part of this work.

@sdugoten
Copy link

sdugoten commented Jul 1, 2024

The metadata will include file contents. Support for selecting which files to download would need to be added to the add torrent API and will not be part of this work.

I was about to migrate from Deluge to qBittorrent-nox, and the only thing keep me from moving to qBittorent-nox is the lack of magnet preview content.............

Most of the Anime BT site only provide magnet link, and a lot of those magnet link might include way more files than you want to download. Having a way to preview the magnet link content and choose what to download just like the qBittorent Windows client would be prefect.

@Piccirello
Copy link
Member

Totally understand the use case. Just FYI, you're able to do accomplish today but with more steps. When adding the torrent you can tell qBittorrent to pause downloading once the metadata has been received. That way you can select the content you want before any files have been downloaded. You can also set this as the default option in qBittorrent's preferences.

@Piccirello Piccirello linked a pull request Jul 1, 2024 that will close this issue
@sdugoten
Copy link

sdugoten commented Jul 1, 2024

Totally understand the use case. Just FYI, you're able to do accomplish today but with more steps. When adding the torrent you can tell qBittorrent to pause downloading once the metadata has been received. That way you can select the content you want before any files have been downloaded. You can also set this as the default option in qBittorrent's preferences.

Wonder if there is any bounty I can put so that some free developer can work on something like this for a magnet preview content before download on WEB UI? Yes, I really want to move away from deluge...so bad that I am willing to put a bounty to get this done.

The following is the magnet preview window from a BT client called Xunlei Thunder. The preview window even have sorting and file extension type filtering based on what file type are in the content. It also comes with a working directory hierarchy which you can just click on a check box to select all files within that folder. Partial selection for that folder will display a "-" sign instead of a check mark to indicate only partial files are selected.

I have yet seen another BT client with a magnet/torrent file content preview window as user friendly as this one. I think the only missing thing in the window below is the category/tag which allow you to pick whatever category/tag you want.

image

@NikcN22
Copy link
Author

NikcN22 commented Jul 1, 2024

I have already implemented this functionality for torrent files in qBittorrent remote GUI for macOS. For now, this functionality is in the alpha testing stage, but some things can be tested now.
Sreenshot

@sdugoten
Copy link

sdugoten commented Jul 1, 2024

I have already implemented this functionality for torrent files in qBittorrent remote GUI for macOS. For now, this functionality is in the alpha testing stage, but some things can be tested now. Sreenshot

If you can give me the version that comes with that option, I am happy to test it. Too bad it's only Mac only. I use both PC and Mac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request WebAPI WebAPI-related issues/changes WebUI WebUI-related issues/changes
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants