qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
28.55k stars 4k forks source link

Implement BEP 53 - Selecting specific file indices for download with magnet links #7341

Open dessalines opened 7 years ago

dessalines commented 7 years ago

Here's BEP_53 on bittorrent.org.

This magnet extension introduces the concept of an optional select-only file index array in the magnet URI, so that torrent clients can automatically select specific file(s) for download after the metadata has been downloaded.

dessalines commented 6 years ago

Any movement on this?

dessalines commented 5 years ago

Anything?

dessalines commented 5 years ago

This has been implemented in libtorrent: https://github.com/arvidn/libtorrent/issues/2572

dessalines commented 5 years ago

You can test this extension out here: https://torrents-csv.ml/#/search/file/frasier%20s04e06/1

luntik2012 commented 5 years ago

Could anybody provide some minimal example for downloading only one specific file using current version of libtorrent?

dessalines commented 5 years ago

What do you mean by example? A client working, or what the magnet link looks like? Here's the spec: http://www.bittorrent.org/beps/bep_0053.html

luntik2012 commented 5 years ago

sorry, wanted to write it in libtorrent repo

thepiratesea commented 4 years ago

Any plans to support this feature?

Working on a project that will utilize "select only" magnet links. WebTorrent seems to support this feature but qBittorrent is behind on it. Of course in qB you can do this manually before the torrent starts downloading, but it would be a lot more user-friendly if these links were supported.

Not sure if this helps at all, but this is the commit where it was added in WebTorrent. Might help whoever decides to take up this task, looks pretty simple but not simple enough for me lol

https://github.com/webtorrent/webtorrent/commit/925bb881cfe90cc055f67e747df693f32d265733

anacrolix commented 1 year ago

https://en.wikipedia.org/wiki/Comparison_of_BitTorrent_clients#Features_II claims that qBitTorrent supports this. It does not support it in my testing. Can anyone confirm?

kompowiec commented 1 month ago

@anacrolix iirc it's partially supported. It can recognize so= parameter but you can't create it.