Adding a torrent link by hash is supported by the transmission web client and it would be very useful as some torrent sites publish the hash but require login to get the torrent.
https://forum.transmissionbt.com/viewtopic.php?t=13000
For example just press ctrl-ins and paste b13e23c89a3b31dca82fd2739b2445e389986b8b to download Fedora-Workstation-Live-x86_64-27
Current version just throws an "unable to open file" error.
Implementation should be easy:
If input identified as a hash then convert to magnet link and submit.
magnet:?xt=urn:btih:b13e23c89a3b31dca82fd2739b2445e389986b8b
I'm using torrents for several years and never see a site like you say.
It is a private tracker?
What site is?
Yes, it can be done in principle. If the link does not contain the word "magnet:? Xt", then automatically add it.
Done! https://github.com/transmission-remote-gui/transgui/commit/6e5cb4c7bf90ad0445b771f952f813cbac5547fd
Now TransGUI accept adding magnets only by the hash.
Implemented by entering in the Add Magnet Form and also detecting in the Clipboard.
Support SHA-1 Hashes (length=40) and legacy Base32 encoded Hashes (lengh=32)
@antekgla: Thank you for the quick implementation!
The website that prompted me for a free login to get the torrent is https://kickasstorrents.to/ and obviously I won't do that.
The site may be a fake, but it did give me the hash I needed.
@ploink
sites like http://thetorrent.org/ , http://btcache.me/ and http://itorrents.org/
these can be integrated https://github.com/cfpp2p/transmission/blob/master/web-client-cfp/advanced/javascript/remote.js#L242 and result in a .torrent download directly.
@antekgla thanks for your work!
v5.15.0 coming.
@antekgla I wonder maybe we could close issue once it's implemented?
v5.15.0 released.
Most helpful comment
Done! https://github.com/transmission-remote-gui/transgui/commit/6e5cb4c7bf90ad0445b771f952f813cbac5547fd
Now TransGUI accept adding magnets only by the hash.
Implemented by entering in the Add Magnet Form and also detecting in the Clipboard.
Support SHA-1 Hashes (length=40) and legacy Base32 encoded Hashes (lengh=32)