[Plugin] CopyMagnetURI v0.2

Suggest, post, or discuss plugins for Deluge
runeks
Member
Member
Posts: 13
Joined: Thu May 01, 2008 5:56 am
OS or Distro: Ubuntu

[Plugin] CopyMagnetURI v0.2

Postby runeks » Wed May 21, 2014 7:58 am

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.
Attachments
CopyMagnetURI-0.2-py2.6.egg
For Windows users (Python 2.6)
(19.79 KiB) Downloaded 2939 times
CopyMagnetURI-0.2-py2.7.egg
For Python 2.7
(19.79 KiB) Downloaded 4738 times
Last edited by runeks on Wed May 20, 2015 8:03 am, edited 3 times in total.

Tritonio
New User
New User
Posts: 1
Joined: Sat Aug 02, 2014 1:46 pm
OS or Distro: Windows 7

Re: [Plugin] CopyMagnetURI v0.1

Postby Tritonio » Sat Aug 02, 2014 2:24 pm

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

runeks
Member
Member
Posts: 13
Joined: Thu May 01, 2008 5:56 am
OS or Distro: Ubuntu

Re: [Plugin] CopyMagnetURI v0.1

Postby runeks » Sat Aug 02, 2014 3:08 pm

Tritonio 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

Hi

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?

dem0z
New User
New User
Posts: 2
Joined: Sun Aug 17, 2014 12:19 pm
OS or Distro: Windows 7

Re: [Plugin] CopyMagnetURI v0.1

Postby dem0z » Sun Aug 17, 2014 12:22 pm

Tritonio 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


same issue and am on windows 7

Cas
Top Bloke
Top Bloke
Posts: 3466
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: [Plugin] CopyMagnetURI v0.1

Postby Cas » Sun Aug 17, 2014 2:38 pm


dem0z
New User
New User
Posts: 2
Joined: Sun Aug 17, 2014 12:19 pm
OS or Distro: Windows 7

Re: [Plugin] CopyMagnetURI v0.1

Postby dem0z » Wed Aug 20, 2014 6:56 pm

thanks :D

uvdevnull
New User
New User
Posts: 2
Joined: Sun Feb 15, 2015 7:28 am
OS or Distro: Win7_x64

Re: [Plugin] CopyMagnetURI v0.1

Postby uvdevnull » Mon Feb 16, 2015 5:16 am

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

Popwax
New User
New User
Posts: 2
Joined: Wed Mar 04, 2015 7:06 pm
OS or Distro: Linux

Re: [Plugin] CopyMagnetURI v0.1

Postby Popwax » Wed Mar 04, 2015 7:11 pm

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')))

runeks
Member
Member
Posts: 13
Joined: Thu May 01, 2008 5:56 am
OS or Distro: Ubuntu

Re: [Plugin] CopyMagnetURI v0.1

Postby runeks » Wed May 20, 2015 7:58 am

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.

Thanks for the tip! I have updated the plugin to version 0.2 with this change.

anonymous_user
Member
Member
Posts: 40
Joined: Sat Jan 31, 2009 7:28 am

Re: [Plugin] CopyMagnetURI v0.2

Postby anonymous_user » Wed May 20, 2015 8:19 am

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.
http://www.bugmenot.com


Return to “Plugins”

Who is online

Users browsing this forum: No registered users and 12 guests