I updated plugin to deluge2, and also added magnet support additionally.
There's an error posted in log very first time enabling plugin, but can be ignored, and was to lazy to spend more time on it today than already did.
When adding magnets, then real metadata handler added, instead of quick time.sleep() hack I used to add in older days, e.g. in this thread previously etc, thanks bdutro for inspiration(from his labelplus fork). There's still an index out of range error shown in log when adding magnet, which also was before I updated it, and again not more time atleast today to try fix that, but works now atleast, so again just cosmetic.
I built it also for python2 as was requested in the post above.
Tested it quickly in python2 and python3, in both options provided and with torrent and magnet.
Rename to match python version if needed.
Edit: Fixed the cosmetic issues of error in log upon enabling/disabling plugin, and made it shut up about index-error/keyerror when using magnets, so no errors shown currently in my quick testings.