-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Proper way to utilize output-directory and temp-extension #1713
Comments
This is a limitation of sonarr/radarr which has been discussed quite a bit in the past Sonarr has some new script triggers which don't look to be quite ready yet that might allow for running the work before it gets moved but for now the only trigger is after the file is moved to its destination If you want conversion before this, best bet is to apply the conversion step to the downloader instead of sonarr/radarr (IE deluge, SAB etc) This itself has some limitations since the metadata information that gets provided by sonarr/radarr isn't available at this stage but at least the bulk of the work can be done This would be the new option but a new script will need to be written and I don't think Radarr has anything yet and I think this was still missing some things last I looked |
Hi @mdhiggins! Was just reading this thread and the linked issue. Your last comment here was May 2024 here and Sept 2023 in #1674 . Just wondering if there has been any change in the abilitity to trigger your post processing script before transfer? I do see a Connection Trigger called "On Manual Interraction Required" that doesn't appear to be documented in the in the Radarr Settings Wiki. It would be really really nice to trim down the post processing time. In my case, it's initial download file transfer from the SSD drive to spinning disk on the NAS, then the conversion to MP4 on the NAS, and then a third convesion for the QTFS/ATOM stuff. The entire thing can take up to 30 minutes on the NAS, depending on the media, when I have blazing fast server locally for the initial download. |
Radarr still hasn't implemented this I don't believe and the Sonarr option still has some limitations that make this not ideal I would suggest implementing the post downloader scripts to leverage your SSD before the file is handed back to the *arrs which is discussed in the readme |
Thanks @mdhiggins. Will definitely try that. |
Biggest tip for this that people miss is that you need to disable completed download handling; Sonarr/Radarr will grab the file while its being converted which causes issues. The post downloader (SAB, deluge, etc) scripts will notify Sonarr/Radarr when they are done instead of it being grabbed automatically |
@mdhiggins do I still need postRadarr.sh/postSonarr.sh in the ARRs if I am now using post downloader SABPostProcess.sh? |
Not required but if you want the tagging then you still want them enabled, the sab script doesn't know anything about the content so it doesn't tag, just does the formatting conversion |
Hello, so I'm trying to figure out what the best way to utilize temp directories and such.
I have automated download handling from Radarr/Sonarr, so they respectively handle the import processing. I was just curious, it seems the original file is being copied as is to the import location. Is this sonarr/radarr's doing? Essentially, it will copy the original mkv and then after that, mp4_automator is then called to encode the file... But I was curious, this process wastes so much time. I have a very slow networked, HDD raid setup for redundancy only, and it's about 1mb/s so when a movie could be around 20+ GBs... it can take awhile just to copy over the movie.
My questions are:
What options are there to not have it copy the file first before encoding, and is it compatible with sonarr/radarr automatic download handling? Ideally, it would just reference the file form the download folder, as that's the exact same storage location as the target import folder is.
If it must copy the file first, how can I get it to not put it in the import folder that it will be encoding to, as it results in Emby discovering the file first, generating metadata for it, and then after it's encoding is done, it has orphaned files due to the likely name change of the file in question. (e.g. a temp folder for the original file, not the encode file)
Thank you!
autoProcess.ini settings
The text was updated successfully, but these errors were encountered: