How can I use the script function in QBittorrent to unrar/unzip downloads?
Right now using Qbittorrent and sonarr in docker on a Synology NAS.
If this really does not work or will not be supported then please does anyone know how to solve this dilemma with downloadclient and sonarr/radarr/lidarr so torrents are unzipped. Otherwise sonarr doesnt touch it…
Wow what a crappy supprt in here… almost a week and not a single answer…
Well turns out, even though there is NO documentation at all mentioning it, that this container already contains p7zip and unrar.
However something seems off… Calling this script in the qbittorrent GUI for script handeling on completed torrents:
unrar x -r “%F/.” "%F/“
Does nothing… The logs for the container starts counting all the rar files it is “extracting” but there is no extraction going on and there is no final unzipped file as a result either…
No error message either… It simply does nothing other then log that it is extracting…
what further support…? What support???
If my initial post didnt give support in a weeks time… I dont know what further support you are talking about. Nobody even responds something like “well actually unrar is included in the package, we just dont mention it anywhere”.
I always speak good about linuxservers images but this will now hold me back in the future.
Hi @Nabzid, I have only just seen this thread so please forgive my absence/delay. I’m sure that you, like others, have been affected by the current COVID-19 situation and that almost the entire planet is currently on lockdown. This has had an unprecedented effect on how everyone lives and works. Unfortunately we are no exception. The lockdown in both the US, UK and mainland Europe has meant our priorities have shifted.
We’re all volunteers here, so our time providing support has had to take even more of a back seat. “But this is one small question” I hear you say. Yes, but this is one in hundreds of questions we have to field every week. Sometimes some of our users and their queries fall through the cracks. I can only apologise for that.
What I do take issue with, however, is your somewhat aggressive response to our delay. Each and every one of us at LSIO has been affected by the pandemic (and subsequent lockdown). We are all working from home, juggling our professions with a new environment, closer proximity to our families (and all of the stresses that comes with it). Some members of the team also work in the medical profession, and have been putting their lives on the line to help fight the virus. Your question, unfortunately, isn’t important right now.
Please put this whole thing into context before you decide to go on the offensive. We are more than happy to look into refunding your previous donations if you feel very strongly on the matter.
I understand what you are saying and you are right. I agree this should not be directed towards entire linuxserver.
However when @aptalca comes and gives this answer he has the time to at least write something else then a non-answer.
I feel this was a real shitmove from him. He could avoid answering if he doesnt have time or if he answers, then at least give a answer related to the question. That annoyed me a lot, real douchbag that guy.
Inconsiderate comments aside… This topic got me in the right direction. I’m new to docker et al and have been struggling through the setup.
unrar x -kb “%R/*.rar” “%F”
has been the trick to getting what I want done. I’ve been riding the struggle bus on bad CRC errors on a significant number of torrent downloads with qbittorrent (Just swapped from uTorrent).
Seems that unrar is built into linuxserver images and works out of the box. I used docker exec to test on previously downloaded files to get to where I wanted this to end up.
This command unpacks any .rar file in the root path back into the original root path. the -kb ignores failed crc as I’ve found that all still play as I desire. I’m sure that I’m doing something wrong but I’m getting the results I want.
I also noticed @Nabzid is using unraid. If you’re using a docker with this command you need to make sure the docker’s path match the actual server file path. Unrar will not know the mapping so your container defined directories will not work.
For example: Bad
container path: “/data”
host path: “mnt/user/downloads”
container path: “/mnt/user/downloads”
host path: “mnt/user/downloads”