I have a docker container of filebot running on my unraid server along with sonarr, radarr, plex, Jackett and qbitt.
All of the automation works wonderfully except radarr not being able to automatically extract rar’s. I have used filebot amc in the past. But, I’d prefer to just set a command in qbitt to run on completion for the path to filebot and it to auto extract only.
I saw an example whereby I can call filebot, -extract and —output but I’m unsure what to put in to qbitt to make this work for every case and so filebot only extracts.
Any help is appreciated.
Filebot extract only
Re: Filebot extract only
Calling filebot -extract /path/to/files will only extract the given files and folders. As for details on qBT integration, you'll have to see how qBT passes variables to scripts.
Using the amc script qBT integration as example, this should work:
Using the amc script qBT integration as example, this should work:
Code: Select all
filebot -extract -r "%F" --output "/path/to/media"
-
- Posts: 4
- Joined: 01 Nov 2019, 16:39
Re: Filebot extract only
I’m assuming I could the following? I am going to try this and see what it gets me.rednoah wrote: ↑01 Nov 2019, 17:46 Calling filebot -extract /path/to/files will only extract the given files and folders. As for details on qBT integration, you'll have to see how qBT passes variables to scripts.
Using the amc script qBT integration as example, this should work:Code: Select all
filebot -extract -r "%F" --output "/path/to/media"
Code: Select all
filebot -extract -r “%F” --output “./“
Or will this not work? I’m simply just wanting it to always extract inside of the directory it is currently working in.
Re: Filebot extract only
. would refer to the current working directory but NOT necessarily the parent folder of the archive being extracted. You could use the extract script to run extract commands for each file with different output directory.
Why are we using filebot though? Using find and 7z commands would be a much better solution... It's just generic general-purpose bash scripting at this point.

-
- Posts: 4
- Joined: 01 Nov 2019, 16:39
Re: Filebot extract only
Filebot has been good to me for quite some time. Hard to get away from it. But the unraid world takes filebot out of the equation for automation mostly.rednoah wrote: ↑01 Nov 2019, 19:04 . would refer to the current working directory but NOT necessarily the parent folder of the archive being extracted. You could use the extract script to run extract commands for each file with different output directory.
Why are we using filebot though? Using find and 7z commands would be a much better solution... It's just generic general-purpose bash scripting at this point.
You make a good point. I could write a find and pipe that into into a 7z and make it run on a custom cron schedule.
But, I am going to try something more simple first.
I downloaded unrar for my unraid server.
Im going to set this in qbitt and see what it gets me:
Code: Select all
/usr/bin/unrar e “%f/%n/*.rar”
Re: Filebot extract only
Also make sure you don't type code in MS Word or similar document editors. 
YES:
NO:
viewtopic.php?t=1899

YES:
Code: Select all
"..."
Code: Select all
“...”

-
- Posts: 4
- Joined: 01 Nov 2019, 16:39
Re: Filebot extract only
Yeah. I was on my phone. Not sure why it made the quotes look like backticks.rednoah wrote: ↑02 Nov 2019, 05:35 Also make sure you don't type code in MS Word or similar document editors.
YES:NO:Code: Select all
"..."
Code: Select all
“...”
viewtopic.php?t=1899