Radarr Unrar

0 views
Skip to first unread message

Brian

unread,
Aug 3, 2024, 5:47:25 PM8/3/24
to polisidigg

Noob level: 4 (1 being you think a CD rom drive is a cup holder, 10 being you are Steve Wozniak.) If you have installed Sonarr and Radarr, use NZBs and Torrents, and realize that there is a fucking annoying problem with Sonarr and Radarr NOT auto-extracting files, then you are probably good to go.
This guide will do the following:

Configure Sonarr. Sonarr -> settings -> Download client
a.ENABLE completed download handling:
b.ENABLE Remove
c.Redownload Failed download: I recommend YES
d.Remove Failed downloads: I recommend YES
e.Drone factory options: Drone folder from above: X:\downloads\droneTV
f.Drone factory interval: 15 min (Suggested)

Click OK, this will bring up a summary of what will happen when you run the profile, click OTHER OPTIONS:
a.Select Clean up automatically.
b.(What this does is when the torrent client removes torrents after they are being seeded, SyncBackUpSE will remove those files/folders from the database.

APPLY and close out of filter options
f.Profile options -> WHEN
i.This is where you configure the schedule. This will auto generate a windows task with whatever options you set here. Personally, I set a basic schedule, then used the actual windows Task Scheduler to tune the options
ii.There are 1245 ways you can this. However, this part is key, so make sure you got your shit right, and test it.
iii.Mine:

Schedule Options:
a.General: Run whether user is logged on or not (Duh)
b.ENABLE Run with highest privileges
c.Trigger:
i.Daily
ii.Recur every 1 day
iii.Repeat task every 15 minutes
iv.Stop task if runs longer than 30 minutes (This should be the MAX of how long would take for your rig to copy a file from the \torrent dir to your \drone dir)
d.Conditions: SyncBackupSE should have created that for you
e.Settings: If the task fails, restart every: 5 min.
f.Stop the task if it runs longer than: 1 hour (This means if there is a file lock, it will stop the task and try again)
g.If the task is already running: Queue a new instance.
iv.Back to profile options on left:

If rutorrent on my seedbox extract the files Sonarr/Radarr starts to prosess the mkv file as soon as it sees it in the folder. If only 20% of the file is extracted at that point I only get 20% of the movies on my plex server.

So I tried to set it up the way you have done, but Sonarr/Radarr never removes the error message of failed import, even after the file is imported with Drone Factory. It still keeps looking for the file were rutorrent reports it to be stored.

So I had to find a workaround. I dropped SyncBackup and extract now and replaced them with Dropit as a free alternative. Now I can sett different profiles for .rar, cleanup, move, extract and so on. Works really well

EDIT3: Yea it was the blackhole, you should add that part to your guide for newbs like me. I took out the backsync turned off the move to recycle and delete in extract now. TV show is seeding in x:\downloads\tv, torrent client will remove that when done seeding(autoremoveplus deluge plugin). Video file sent to droneTV folder. Video file grabbed by sonarr. All unwanted data gone!!! Working with sonarr and radarr.

By blackhole I mean the option inside sonnar/radarr in download client settings it has to be Torrent Blackhole not Deluge (or w/e client) for autoadd to move stuff. EDIT: Download Client > add Torrent Blackhole > Name It > Enabled > Torrent folder = X:\Downloads\Incomplete\TV\ > Watch Folder = X:\Downloads\TV\

Background:
Drone Factory is Deprecated [unrar] Help & Support WOW. why would you do this BEFORE implementing a solution to auto-extract .RARs? Those of use using torrents and on windows, rely on the drone factory! MOOOOOMmmmmmmmm!

Considering the nzbToMedia would be running on the seedbox then internally it would still hardlink. Sonarr importing it then over a mount would of course just be a copy, but that changes little. The hardlink is purely to handle the non-rar quicker.

The biggest benefit of Flexget: it is extremely lightweight and does most of its work when I am sleeping. Sonarr+Radarr would be a lot heavier. I would run both on a RPi3 running OSMC with Kodi disabled and OpenVPN running (I have a Vero4K for Kodi, Spotify, SyncThing and Nextcloud, everything that does not need to go through a VPN).

edit: @eekfonky I have made a few minor changes to the config, also explained how to let Transmission trigger Flexget tasks to process completed files. This means Flexget will now process files and update Kodi library immediately and does not need to run by intervals that often anymore

My only issue is with episode files downloaded with named like this: 220 instead of this: S02E20 although I did find a partly working solution (its commented out in my config). I rename only the episode numbering and Flexget will take care of the rest during the next run.

You finded a way? You still running sonarr/radarr on RPi? Smooth enough?
Theres is a easy way to install this apps: GitHub - htpcBeginner/AtoMiC-ToolKit: AtoMiC Toolkit simplifies HTPC / Home Server setup and management on Ubuntu and Debian variants including Raspbian. It currently supports: Couchpotato, Deluged, Emby, FFmpeg, Headphones, Htpcmanager, Jackett, Kodi, Lazylibrarian, Madsonic, Mono, Mylar, Nzbget, Nzbhydra, NzbToMedia, Ombi, Plex, Plexpy, Pyload, qBittorrent, Radarr, Sabnzbd+, Sickgear, Sickrage, Sonarr, Subsonic, Transmission, Unrar, Watcher, and Webmin.

Downloading is fine. However, on completion, downloads move into the Downloads/sabnzbd/complete folder [fine] and then into the /mnt/cache/Media/[movies/tv]/[showname] folder. This is obviously a problem, as it means that they then need to be manually moved over to the array. As a side-note, sabnzbd reports the free space on the cache only, not the array as a whole.

I've attached my logs below. I initially just had /mnt pointing to /mnt/, but I changed that, hoping it would fix it - no such luck. The root folder in radarr/sonarr is '/mnt/user/Media/movies' and I've checked for individual titles, they're set as that also. But they still end up on the cache.

I am afraid that you have run into an oddity due to the fact that your docker containers are working at the Linux level which is not directly aware of the User Share system. If it thinks source and target are on the same mount point Linux implements 'move' by first trying a rename, and only if that fails doing a copy/delete. In this the rename is working which is leaving it on the same drive, and because you have the Download share set to Use Cache = No, the mover ignores the file.

Please help me out. My emby server has been running for well over 2 months. I had absolutely no issues. I had a issue on the weekend for some reason nzbget unpackages extremly slow so i thought hey maybe i can fix it in the end i screwed up nzbget but got it working 2 days after the screww up. Now suddenly when theres a movie thats finished it wont scan the folder for that movie and update my library. So I checked the logs and im getting a error diskstate error and cant write to the /var/mnt/movies.

So i Looked everywhere come up with permission errors but how did the permissions just decide to change.
I thought hell im a bit more clued up my radarr, sonarr and nzbget is working awesome i have them in a group called media, Im just gonna move the emby user to that group. It didnt resolve my issue tho. Can anyone give me some advice on how to give proper rights for that group for the movie harddrive?

Starting with the last - some files come damaged. Some come extremely damaged and can take a while to repair and extract. Is 2 hrs too long for 8GB? I couldn't say since for all we know you could be running this on a Casio watch because you didn't post enough info.

I got it sorted thx
So the initial drive had an input-output error I couldn't fix it on Linux. I took out the drive and installed it on my windows machine. When I opened the drive there was a permissions error opened it as admin and backed up my directory. Installed it back into the Linux machine. Formatted the drive with a Linux partition. Put the old directory in place.

Probably I have wasted too much time trying to make Emby work from my Raspberry Pi with attached NFTS hard drive that is automounted but I will give it one more try. The file permissions on the hard drive (named Elements) are drxwrwxrwx. The user name that I added is emby. But every time I try to add a folder to the library I get the error message "The path could not be found. Please ensure the path is valid and try again."

c80f0f1006
Reply all
Reply to author
Forward
0 new messages