qBittorrent icon indicating copy to clipboard operation
qBittorrent copied to clipboard

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

Open NikcN22 opened this issue 1 year ago • 11 comments

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

NikcN22 avatar Jun 17 '24 07:06 NikcN22

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.

Piccirello avatar Jun 29 '24 22:06 Piccirello

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.

NikcN22 avatar Jun 30 '24 19:06 NikcN22

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

sdugoten avatar Jun 30 '24 23:06 sdugoten

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.

Piccirello avatar Jun 30 '24 23:06 Piccirello

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.

sdugoten avatar Jul 01 '24 00:07 sdugoten

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 avatar Jul 01 '24 01:07 Piccirello

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

sdugoten avatar Jul 01 '24 10:07 sdugoten

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

NikcN22 avatar Jul 01 '24 18:07 NikcN22

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.

sdugoten avatar Jul 01 '24 18:07 sdugoten

Here's what I've been working on for the WebUI. It's nearly 1:1 with the experience provided by the GUI.

Screenshot 2024-09-21 at 14 58 30

Piccirello avatar Sep 21 '24 21:09 Piccirello

Here's what I've been working on for the WebUI. It's nearly 1:1 with the experience provided by the GUI.

Screenshot 2024-09-21 at 14 58 30

I can't wait to see it. This will be an awesome replacement for deluge.

sdugoten avatar Sep 22 '24 00:09 sdugoten

Here's what I've been working on for the WebUI. It's nearly 1:1 with the experience provided by the GUI.

Screenshot 2024-09-21 at 14 58 30

Just curious if we are going to get this new web UI in v5.0? Thanks.

sdugoten avatar Oct 09 '24 09:10 sdugoten

v5.0 has already shipped, but I'm aiming to get this in v5.1.

Piccirello avatar Oct 09 '24 17:10 Piccirello

v5.0 has already shipped, but I'm aiming to get this in v5.1.

Do you have an approximate release date of v5.1?

NikcN22 avatar Nov 12 '24 10:11 NikcN22

I don't understand why this is being ignored so much, yet it is being requested times and time again. Surely it also can't be such a difficult request, since the functionality is already there. We just need a way to Pause automatically, without manual interaction. #7605 #929

ackvf avatar Nov 16 '24 15:11 ackvf

ANNOUNCEMENT!

For anybody coming across this "Feature Request" & would like/love to see a potential implementation in the future! Here are some options available to you:

  1. Please select/click the 👍 &/orreactions in the original/opening post of this ticket.

  2. Please feel free (If you have the "skillset") to create a "Pull Request" implementing what's being requested in this ticket. (new/existing contributors/developers are always welcome)


DO:

  • Provide constructive feedback.
  • Display how other projects implemented same/similar etc.

DO NOT:

  • Add a "Bump", "me too", "2nd/3rd" etc. or "criticizing" comment(s). (These will be disregarded/hidden as "spam/abuse/off-topic" etc. as they don't provide anything constructive.)

xavier2k6 avatar May 25 '25 13:05 xavier2k6

Here's what I've been working on for the WebUI. It's nearly 1:1 with the experience provided by the GUI.

Screenshot 2024-09-21 at 14 58 30

I saw v5.1 is now available. I wonder how do I turn on the magnet preview content feature?

sdugoten avatar Jun 17 '25 07:06 sdugoten

I saw v5.1 is now available. I wonder how do I turn on the magnet preview content feature?

First of, the linked PR was just merged. Of course you won't see it in a current release, probably in 5.2 And secondly this issue was about the WebAPI. #21645 will do the WebUI part.

thalieht avatar Jun 17 '25 10:06 thalieht