frostwire / frostwire-jlibtorrent

A swig Java interface for libtorrent by the makers of FrostWire. Develop libtorrent based apps with the joy of coding in Java.
http://www.frostwire.com
MIT License
451 stars 138 forks source link

Save state of downloadable metadata #171

Closed proninyaroslav closed 7 years ago

proninyaroslav commented 7 years ago

Hello. Is it possible to save state of downloadable magnet using fast resume? From the libtorrent documentation I realized that it is impossible to do this, but in qbittorrent it is work. I believe that they use modified fast resume.

aldenml commented 7 years ago

Can you post the url link of qbittorrent? Are you talking about saving the part of the info-hash, in case the download is interrupted, to not request that parts again?

proninyaroslav commented 7 years ago

https://github.com/qbittorrent/qBittorrent

Are you talking about saving the part of the info-hash

Yes, including saving itself magnet links.

proninyaroslav commented 7 years ago

For example fast resume of added magnet link from qbittorrent ed14485bfcee5daa5daa91193a7547b7a1317622.zip

aldenml commented 7 years ago

hehe, not the link of qbittorrent, but the link to documentation when they mention/document the feature.

Anyway, what I see in the fastresume file is just information to "reload the download" on app restart, no information related to the inner download state of the info-hash. (just open it in a text editor)

What I see is a pure UI/UX feature, and to really save the "download state" of the metadata, we will need some support from libtorrent.