Opened 12 years ago
Closed 12 years ago
#4176 closed Enhancement (fixed)
Add torrent by info hash
Reported by: | fx | Owned by: | fx |
---|---|---|---|
Priority: | Normal | Milestone: | 2.32 |
Component: | Web Client | Version: | |
Severity: | Normal | Keywords: | |
Cc: |
Description
Id like to be able to add torrents just by info hash instead of full url or a full magnet link:
To download from just a hash i simply prepended a magnet link to the front of the url:
if(url.match(/^[0-9a-f]{40}$/i)) { url = 'magnet:?xt=urn:btih:'+url; }
I have put this in AddTorrentByUrl? function in transmission.remote.js but im sure it could have a more fitting home
Attachments (1)
Change History (5)
Changed 12 years ago by fx
comment:1 Changed 12 years ago by fx
comment:2 Changed 12 years ago by fx
- Owner set to fx
comment:3 Changed 12 years ago by bulljit
@fx
i personally don't use magnet links... but very cool! well done.
comment:4 Changed 12 years ago by livings124
- Milestone changed from None Set to 2.32
- Resolution set to fixed
- Status changed from new to closed
Thanks!
Note: See
TracTickets for help on using
tickets.
Been testing this for about 2 months, and works pretty sweet. For popular torrents (or if you have lots of peers connected) we just share hashes around