Basically I'm looking to use Deluge as the "origin" in the BitTorrent Protocol Specification:
This means I already have the files and torrents, and ideally I would Deluge to automatically pick these up when added, and to stop seeding when removed.Bram Cohen wrote: To start serving, a host goes through the following steps:
- Start running a tracker (or, more likely, have one running already).
- Start running an ordinary web server, such as apache, or have one already.
- Associate the extension .torrent with mimetype application/x-bittorrent on their web server (or have done so already).
- Generate a metainfo (.torrent) file using the complete file to be served and the URL of the tracker.
- Put the metainfo file on the web server.
- Link to the metainfo (.torrent) file from some other web page.
- Start a downloader which already has the complete file (the 'origin').
I tried using AutoAdd but I could not get it to work in a way that leaves the torrent files intact. That is, I would like it to monitor a folder with torrents for changes instead of taking ownership of a folder (the exposed server only has read-access to the served files).
Can anyone figure out a way to do this with Deluge?
Right now I have to use rTorrent which can be configured to do exactly this:
Code: Select all
schedule2 = auto_load,10,10,((load.start,(cat,(cfg.torrents),"*.torrent")))
schedule2 = untied_directory,11,10,remove_untied=