51
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 03 Jul 2023
51 points (94.7% liked)
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ
55056 readers
422 users here now
⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.
Rules • Full Version
1. Posts must be related to the discussion of digital piracy
2. Don't request invites, trade, sell, or self-promote
3. Don't request or link to specific pirated titles, including DMs
4. Don't submit low-quality posts, be entitled, or harass others
Loot, Pillage, & Plunder
📜 c/Piracy Wiki (Community Edition):
💰 Please help cover server costs.
Ko-fi | Liberapay |
founded 2 years ago
MODERATORS
Actually, the files don’t get moved by default. The are hardlinked. That means the files are accessible from both the original downloads location (for seeding) and in the location you made Sonarr/Radarr save them too, but only take space on the disk once.
I have a setup with transmission working, I can link you my config, but it’s in Nix.
I basically made Sonarr, Radarr, etc. all part of a group called
arr
, and made all the folders with media have permissions that allow the group to read and write to them, and it works so far. I think.I'm not sure you even need to go that far. I'll have to look up exactly how I have it configured because it's been a bit, but sonarr and radarr are both configured to copy from the torrent folder into a separate media directory where they and Jellyfin, as part of the "media" group, have (almost) full permissions to manage the files as they like. Then I go in and occasionally prune the torrents folder once every few weeks if storage becomes an issue.
Mine aren't hard linked then because radarr is copying them from my /data/torrents (qbittorrent download location) and putting them in my /data/media/movies folder. When I view the properties of the top level folder it is showing the space used as twice what the actual file is.
That should be a simple setting in both radarr and sonarr. They can hardlink or copy. I'm not sure what the default is nowadays but it was copy when I installed it.
The hard linking only works of the source and destination are in the same mount, for example
/data/downloads:/downloads /data/media:/media
Will create copies and use double the storage on just hard linking, to make it hardlink you need to put the downloads and destination folders in the same directory so make the docker mount look like/data:/data
instead. Then you just need to tell your torrent client to put the downloaded files into /data/downloads/(either sonarr or radarr) and the the arrs can look into their folders and then hardlink the files into /data/media/whateverI have no clue if any of this is understandable, but I can post my docker compose once I get to my pc
Do you mind posting your compose file? I believe I have mine setup as you describe but radarr is still copying the files to my media folder.
Yeah sure, here's my setup including my transmission client. I essentially just give the docker containers access to the whole Torrent directory, instead of having one mount for the downloads and one for the media library. You also need to make sure that the arrs are set to hardlink which should be the default
Pastebin link because IDK how formatting works
Yup, I’ve got mine setup the same as you. Someone else explained the hardlinking to me and I believe mine is functioning correctly. Thanks.