Setting up deluge integration

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
mxhdme
Posts: 9
Joined: Sun Nov 06, 2016 7:01 pm

Setting up deluge integration

Post by mxhdme »

I've always Mylar with watch directories and blackhole torrent with r/rutorrent. I have recently switched to Deluge and am considering using the direct integration, but have a few questions.
  1. Is the process of snatching and post processing torrents like this: Mylar finds the torrent and snatches it, sends it directly to Deluge, assigns a label, Deluge downloads the torrented file, Mylar copies and post processes the file?
  2. How does mylar know when the torrent is done and does Mylar move, copy, hardlink, etc the torrent from Deluge upon post-process according to the setting in the post-processing tab?
  3. Does Deluge or Mylar control where Deluge saves the torrented file?
Thanks!
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Setting up deluge integration

Post by evilhero »

Well there is no completed download handling with torrents - at least not directly. Your initial workflow is right - but Mylar stops when the file has been sent to your client and it can verify that it's been sent/started. At that point, it doesn't do anything else. Now depending on your setup (if you run deluge locally, or if you use a seedbox) there are methods you can use to get it to auto-process stuff after it's been completed.

If you run it locally, the easiest method is to have Mylar monitor the folder where your comics are downloaded to by deluge (easier if they're subset into a 'comics' type of label/category). Set the post-process action to 'copy' and it will copy the files and then metatag/move them into your series folders (or set it to hardlink, but then there's no metatagging, and both the series folder and the download location have to reside on the same hdd).

If you run it remotely, there's an option within the Mylar config.ini that you can enable that will monitor a torrent for completion (works for both rutorrent & deluge), and once it's complete it will auto-snatch the completed torrent into a given folder (preferably the folder monitor one), and then it will post-process it automatically at the normal interval. This option is only available for linux-based OS' due to the usage of lftp. In this instance, the location of where the download is has no bearing on things, so long as it's still within the torrent client - it can be monitored and snatched.

In both cases, when Mylar initiates the folder monitor scan it will not post-process any files that are in the process of still being downloaded (at least that's the intention, there has been one issue of note indicating that it tends to pp stuff still being downloaded, but I've been unable to reproduce the problem on my test machines thus far).

As far as the download location, you can indicate the directory that you want the torrent client to download the torrent to within Mylar, but alot of it depends on how you have your system setup and if it will take precedence over your default settings. Usually the safest bet is to let your client control where the default location is - but the option is available within Mylar to specify.
Post Reply