This plugin adds a menu item to the right click menu for torrents, that allows you to copy the magnet URI for the torrent(s) in question.
Usage: Select one or more torrents, right click and select "Copy Magnet URI" and the URI(s) for the selected torrent(s) are in your clipboard.
EDIT: New version 0.2, which includes a bug fix by Popwax.
[Plugin] CopyMagnetURI v0.2
[Plugin] CopyMagnetURI v0.2
- Attachments
-
- CopyMagnetURI-0.2-py2.6.egg
- For Windows users (Python 2.6)
- (19.79 KiB) Downloaded 7627 times
-
- CopyMagnetURI-0.2-py2.7.egg
- For Python 2.7
- (19.79 KiB) Downloaded 12742 times
Last edited by runeks on Wed May 20, 2015 8:03 am, edited 3 times in total.
Re: [Plugin] CopyMagnetURI v0.1
I can't seem to install this. Neither by cliking "install plugin" in the settings nor by dropping it into the plugins folder. In the latter case even when I click "rescan plugins" I can't even see it in the list. Deluge 1.3.7
Re: [Plugin] CopyMagnetURI v0.1
HiTritonio wrote:I can't seem to install this. Neither by cliking "install plugin" in the settings nor by dropping it into the plugins folder. In the latter case even when I click "rescan plugins" I can't even see it in the list. Deluge 1.3.7
What version of Python are you running?
Can you please try running Deluge from the command line, try to install the plugin, and post the output on the command line?
What OS are you running? Windows?
Re: [Plugin] CopyMagnetURI v0.1
same issue and am on windows 7Tritonio wrote:I can't seem to install this. Neither by cliking "install plugin" in the settings nor by dropping it into the plugins folder. In the latter case even when I click "rescan plugins" I can't even see it in the list. Deluge 1.3.7
Re: [Plugin] CopyMagnetURI v0.1
Version 2.6 of the plugin downloaded, installed, and turned on. Option is showing in right-click menu but nothing is copied when clicked. Anything I can try in my Windows 7 SP1 x64 and Deluge 1.3.11?
Thanks,
uvdevnull
Thanks,
uvdevnull
Re: [Plugin] CopyMagnetURI v0.1
You should encode 'name' field before using quote_plus() in gtkui.py, it's not always ASCII encoded and this plugin will crash and stop working if the torrent name contains unicode characters. some thing like
Code: Select all
uri = "magnet:?xt=urn:btih:{}&dn={}".format(hash, quote_plus(name.encode('utf8')))
Re: [Plugin] CopyMagnetURI v0.1
Thanks for the tip! I have updated the plugin to version 0.2 with this change.Popwax wrote:You should encode 'name' field before using quote_plus() in gtkui.py, it's not always ASCII encoded and this plugin will crash and stop working if the torrent name contains unicode characters.
-
- Member
- Posts: 40
- Joined: Sat Jan 31, 2009 7:28 am
Re: [Plugin] CopyMagnetURI v0.2
Hello,
I hope you can help me help you fix this bug that happens when I try
to use your plugin CopyMagnetURI-0.1-py2.7.egg.
System Setup:
OS: Ubuntu 14.04.2 LTS
Deluge:
Client: 1.3.11
Server: 1.3.11
libtorrent: 0.16.17.0
What I expected to happen: I would select a torrent, right click or
use the menu to click "Copy Magnet URI" and then be able to paste what
is in my clipboard and continue torrenting.
What happens: I would be able to select a torrent, right click or use
the menu to click "Copy Magnet URI", then my torrent client would hand
and I would have to force close it. The daemon does not crash or hang.
I can still paste my clipboard with the correct URI.
Please provide me any instructions to either fix this or help you
troubleshoot.
I hope you can help me help you fix this bug that happens when I try
to use your plugin CopyMagnetURI-0.1-py2.7.egg.
System Setup:
OS: Ubuntu 14.04.2 LTS
Deluge:
Client: 1.3.11
Server: 1.3.11
libtorrent: 0.16.17.0
What I expected to happen: I would select a torrent, right click or
use the menu to click "Copy Magnet URI" and then be able to paste what
is in my clipboard and continue torrenting.
What happens: I would be able to select a torrent, right click or use
the menu to click "Copy Magnet URI", then my torrent client would hand
and I would have to force close it. The daemon does not crash or hang.
I can still paste my clipboard with the correct URI.
Please provide me any instructions to either fix this or help you
troubleshoot.
http://www.bugmenot.com