Sonar/Deluge is copying and not moving files

Sonarr Ver. 2.0.0.3212
Windows 7 Ultimate 64bit
Deluge Ver. 1.3.11

Sonarr and Deluge are both running on the same PC. Sonarr is set to add to tv-sonarr category in Deluge. No special settings within Deluge for that label. Files downloaded to F:\Torrent and final resting place is T:\TV Shows[series].

What I would like to happen is Sonarr passes the torrent to Deluge, it downloads and then seeds the necessary amount, then Sonarr moves the files to
What currently happens is everything above, but instead of moving the files, it copies, leaving the old file behind. I would like to limit my file duplication to save disk space on the downloading drive. What setting controls this?

During my search, I found the opposite problem at Sonarr moving files instead of copying, the solution there was to remove the Drone Factory folder setting. Should I have this enabled instead of Completed Download Handling to do the move/rename?

Thanks!

Are you sure it’s a copy as opposed to a hardlink?

Either way, this one determines what sonarr will do: Settings > Media Management > (enable advanced settings in the top right) > Use Hardlinks Instead Of Copy.

CDH is always preferred over Drone Factory. Drone Factory is just a “dumb” watch folder. Use it for things you can’t automate, you just drop files in there manually and let sonarr sort them.
There is no way for Drone Factory to know if a file is still in use (e.g. still being seeded by your torrent client) for example, which causes all kinds of issues. So it’s generally not advisable to configure your download client to drop completed files in there.

First, thank you very much, Thirrian!

The way I know that it’s not using hardlinks is that when I manually delete the downloaded file, the second file is still intact and works properly.

I looked at that setting you mentioned and it already shows No. I must have noticed that when I first set it up a while ago and turned it off. Anywhere else I can look? It is very possible I screwed something up by fiddling around with settings.

So… you should set it to Yes then :slight_smile:

But if I set it to Yes, then wouldn’t it start hardlinking the files, and still not moving them? Or do I not understand the wording of the option or what hardlinking is?

When hardlinking, only one instance of the file exists. I forgot if sonarr leaves the file in the torrent download location, or moves it to the sorted series folder. Either way, it will create a hardlink to the file in the other location, which is a special shortcut which looks like it is an actual file for all intents and purposes.

Probably correct:

  • still-seeding-torrent: file is physically here
  • sorted series: < “shortcut” to file >
    or maybe:
  • still-seeding-torrent: < “shortcut” to file >
  • sorted series: file is physically here

Once the torrent client reports that seeding is complete, sonarr will clean up everything so you are left with only the file in your sorted series folder.

1 Like