Opened 13 years ago
Closed 13 years ago
#2030 closed patch (Fixed)
Magnet link support in autoadd plugin
Reported by: | Thomas Hipp | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | 1.3.4 |
Component: | Plugin | Version: | master |
Keywords: | Cc: |
Description
This patch adds magnet link support to the autoadd plugin. It checks the watch folders for .magnet files, which should contain a valid magnet link, and adds them.
Attachments (2)
Change History (7)
by , 13 years ago
Attachment: | 0001-Magnet-link-support-in-autoadd-plugin.patch added |
---|
follow-up: 2 comment:1 by , 13 years ago
comment:2 by , 13 years ago
Replying to Cas:
You have chosen a single file per magnet link, do you have a script that converts magnet links to files?
The reason I chose one file per magnet link was that it required very little code modification. The options (renaming, copying and deleting) for .torrent files would also apply to .magnet files without making any changes. I don't have a script which converts magnet links to files since I don't know if and how that works (yet).
Also do your changes support multiple magnet links in one .magnet file?
My solution for multiple magnet links in a single .magnet file is to check for files containing more than one link and creating a new file for each of them. This is done in a separate loop before adding any torrents. I've provided an additional patch for this.
by , 13 years ago
Attachment: | 0002-Multiple-Magnet-links-support-in-autoadd-plugin.patch added |
---|
comment:5 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks for this was literally just thinking this plugin should support this concept after seeing a forum post.
You have chosen a single file per magnet link, do you have a script that converts magnet links to files? Also do your changes support multiple magnet links in one .magnet file?