Skip to content
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

[FR] - Allow Auto Unpack of Multi Rar torrents. #25

Open
veenarm opened this issue Apr 10, 2022 · 5 comments
Open

[FR] - Allow Auto Unpack of Multi Rar torrents. #25

veenarm opened this issue Apr 10, 2022 · 5 comments
Assignees

Comments

@veenarm
Copy link

veenarm commented Apr 10, 2022

Is your feature request related to a problem? Please describe.
unrar capabilities of Transmission to allow sonarr/radarr to auto move torrents that are multi packaged rar files.

Describe the solution you'd like
Using the rtorrent config file update and adding a configMap shell script with correct permissions, you can have a small shell script run to unrar the files once downloading has completed.

Describe alternatives you've considered
none

Additional context
I've got it working locally with direct modifications to the ouput yamls, changes are needed to the Operator to allow the config updates and Volumes/Mounts. I am happy to do a PR for this work.

@veenarm veenarm changed the title [FR] [FR] - Allow Auto Unpack of Multi Rar torrents. Apr 10, 2022
@kubealex
Copy link
Owner

Hi @veenarm, is this some kind of use case that can happen while fetching stuff from sonarr/radarr?

@veenarm
Copy link
Author

veenarm commented Feb 24, 2023

Wow, I totally forgot about this (even though I've been using it in my homelab now since this post).

I forked your Operator and made the following changes: veenarm@eb20cce

  • Ignore the typo on line 124 in values.yaml should be unrar.sh not unpack.sh

The use case is that sometimes you may download movies/tv shows with sonarr/radarr that aren't the actual file (they're compress zipped in multiple files). Sonarr/Radarr can't copy the files to it's expected location after download because of this, so in my commit above I have a script that auto unpacks after download completion so they can be transferred to there new home.

The other use-case is the next part is to execute a script after finished seeding so that it removes the torrent and deletes it's data from the transmission downloads.

@veenarm
Copy link
Author

veenarm commented Jul 1, 2023

I've since started using : https://github.com/Unpackerr/unpackerr
It intergrates with sonarr/radarr nicely.

@Nicxx2
Copy link

Nicxx2 commented Apr 22, 2024

In case you find this useful, you can use this: https://github.com/Nicxx2/auto-unrar

It is an easy setup if you are using docker, or you can just adjust and use the script.

Basically, it will automatically extract RAR files, and there are various options you can include such as: extracting files to a specific directory, deleting rar file after extraction etc.

@veenarm
Copy link
Author

veenarm commented May 16, 2024

Yes, however Unpackerr can be integrated with webhooks from your Prowlarr/Sonarr/Radarr installers etc.. so it's waiting for the new data to actually arrive, and then when it's completed it I believe tells them as such :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants