this post was submitted on 03 Jul 2023
51 points (96.4% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54476 readers
398 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
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

Thanks to this community popping up on my hot feed, I've spent my entire day setting up sonarr/radarr on my 423+ NAS within docker. I got most of it figured out on my own but I'm stumped on how sonarr/radarr takes the files from my torrent client downloads folder and moves them to my media folder for plex/jellyfin to view.

I've followed this guide for how my folder structure is setup: https://wiki.servarr.com/docker-guide

Could someone point me in the direction of what I need to do so that when a file is finished downloading it automatically moves to my media folder?

top 23 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 1 year ago* (last edited 1 year ago) (1 children)

Just a small tip, doublecheck all your user and group permissions after following that guide. I went through this before and the guide gave a bad instruction on the permissions for a folder that I ended up spending hours diagnosing. I still see at least one space where it tells you sonarr should be in the "sonarr" group and not the "media" group as previously instructed.

The guy they have that wrote these guides and answers all support questions for Sonarr and Radarr, he's an absolute asshole, bad at giving instructions, and often unhelpful. I'd say don't even bother with him.

[–] [email protected] 9 points 1 year ago

I assume you're referring to Bakerboy448? I can confirm the dude is a major d-bag and it's best to just avoid interacting with him at all. I thought they removed him from the team but I just saw he's currently the #1 contributor on their github, which is a bit unnerving.

[–] [email protected] 5 points 1 year ago

I used this guide, just followed it step by step https://github.com/sebgl/htpc-download-box

Once I was done, I much better understood how things worked.

I switched out jacket for prowlarr myself for example and I also added a seed box I pay for instead of running downloads from my home server.

[–] [email protected] 4 points 1 year ago (1 children)

Which torrent client are you using? Have you set up labels so that Sonarr/Radarr knows which files it owns? I use Deluge with the labels plugin. I have one called sonarr and in sonarr I set the "category" field on the Download Client settings to sonarr.

Then, not sure if this part is needed, I have Sonarr set to Rename Episodes in the Media Management section.

There is the [email protected] community which may be able to help as well.

[–] [email protected] 3 points 1 year ago (2 children)

I am using transmission but I am open to any of them I can get to work correctly. So with how you have Deluge set up, Sonarr takes your files from the downloads folder and moves them a different media folder that Plex, Jellyfin, etc. can view?

[–] [email protected] 4 points 1 year ago (2 children)

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.

[–] [email protected] 3 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

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.

[–] [email protected] 1 points 1 year ago (2 children)

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.

[–] [email protected] 2 points 1 year ago

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.

[–] [email protected] 1 points 1 year ago (1 children)

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/whatever

I have no clue if any of this is understandable, but I can post my docker compose once I get to my pc

[–] [email protected] 1 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago

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.

[–] [email protected] 2 points 1 year ago

Yea, I have two volumes mounted to my container one for media and one for downloads. Media is mounted to all the *arrs and Plex, and downloads is mounted to deluge/sabnzbd and all the *arrs. I don't think transmission supports labels, I am not sure. The ones that do support labels include qBittorrent and Deluge.

If you don't have labels at all then sonarr and radarr will not know which items belong to them. Give a different one a try and set up labels and see if it works then.

[–] [email protected] 3 points 1 year ago

Check out DockSTARTer. If you have terminal access it is a godsend to kick start

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

I can try and help, I have a lot of experience with the arr's, however I have no experience with the 423+ NAS. What OS are you running?

[–] [email protected] 1 points 1 year ago (1 children)

I am running DSM (Linux) 7.1.1 on my Synology NAS, I guess I should have been more clear, sorry. So I am using docker to run containers of sonarr, radarr, prowlarr, etc.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

No worries.

To make your life easier you will want to pass the same "volume" to each of your containers so that they are all able to interact with the files the same way. For instance, if your movies are in /home/username/media/movies then make a volume for radarr, you can name it anything but for this example I'll use data, like so in docker:

/home/username/media:/data

Then inside radarr you can make your path inside.media management, root folders:

/data/movies

It works the same way for your downloads, just make sure your downloads go somewhere in the media folder, eg. /home/username/media/downloads. Then for your download client, use /home/username/media:/data in docker and inside the client download to /data/downloads.

Hope that makes sense

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Can you share your dockerfile if you have one? Don't forget to remove personal information before

[–] [email protected] 1 points 1 year ago (1 children)

Excuse my ignorance, but what docker file might that be?

[–] [email protected] 2 points 1 year ago

I'm sorry, it was late and I meant the docker-compose.yml file. If you don't know what that is or don't have it then it's not important :D

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

When I was starting my self hosting journey, with a Synology 920+, I found this collection that got most of what I needed: https://drfrankenstein.co.uk/

Edit: Note the sections on the left hand side for the different tutorials, Media Management for Son/Radarr and Download Tools for (qbit) Torrent

load more comments
view more: next ›