Closed ghickman closed 12 years ago
Agreed. @chvckd also mentioned the need to support magnet links, I was going to look at this when I tried to add private tracker support. I'll get my arse into gear and look at it this week, if I get time.
Brilliant, cheers. Can lend a hand if needed.
Yeah I was planning on adding this too. We could use the same icon approach which may look odd if both torrent and magnet icons are turned on and displayed together or we could make a 1 click link function for magnet links. We could just do both and throw them in the options menu...
oops - way more keyboard shortcuts on her than I realised…
@chvckd it could always be a modified icon that includes a magnet in some way?
@ghickman yeah that could work too I guess. This is only going to work on deluge 1.4 up, the web ui itself doesn't actually work for magnets until that version i think
@chvckd it's in 1.3.4 according to these two:
Ah ok cool, I'm on 1.3.1 and that's why it doesn't work for me. Shall upgrade and have a play!
Added to code base, will be included in next release.
So, is 1.3.4 a released version of Deluge? If not should we release and add a requirement to this extension when 1.3.4 is released?
Or would the better approach be, especially as we've maintained backwards compatibility so far, to only enable magnet links if we detected Deluge version >= 1.3.4
I was just thinking that myself, only enable if 1.3.4 is detected. 1.3.4 is not released and from what I can see doesn't have a release date either. If you're running 1.3.3 do a pull and see what happens if you try use magnet stuff? Who knows it might randomly work!
Detecting the version of Deluge seems the nicest way to go.
Could make it an option in the prefs that only appears with Deluge >= 1.3.4? If you go down that route it would be nice to give the option of which download style to enable. Tick boxes by both would work so you could have none, either, both enabled.
That is how it's been set up, tick box for each, will just need to add the detection .
This has been added in the form of 1 click links on magnet links and also auto-detection within the context menu and manual add. Closing issue as any bugs should be tracked in a separate issue.
The Pirate Bay has moved to only using magnet links, other sites might go that way.
However many sites have supported magnet links for a long time, so it would be useful to support them.
I suspect the easiest way would be to expand on the functionality that picks up the download links do the same to magnet links there.