Qbit - Extract to the same directory

Running FileBot from the console, Groovy / FileBot scripting, shell scripts, etc
Post Reply
bryceismad1
Posts: 1
Joined: 29 Oct 2019, 05:55

Qbit - Extract to the same directory

Post by bryceismad1 »

I have searched this forum and google and can't seem to find what I need.

I just want to exract .rar to the same folder they are in.

example

Code: Select all

E:\Torrent\Long.Lost.Family.US.S06E01.Why.Couldnt.They.Raise.Us.1080p.WEB.x264-CAFFEiNE\long.lost.family.us.s06e01.why.couldnt.they.raise.us.1080p.web.x264-caffeine\Long.Lost.Family.US.S06E01.Why.Couldnt.They.Raise.Us.1080p.WEB.x264-CAFFEiNE.mkv
I just want

Code: Select all

E:\Torrent\Long.Lost.Family.US.S06E01.Why.Couldnt.They.Raise.Us.1080p.WEB.x264-CAFFEiNE.mkv
Bonus if it can to the AMC and still put it in the same directory

I have Sonarr and Radarr pick them up after.


Current call from qbit

Code: Select all

output = 'E:/Media/'
python "C:\Scripts\Python\utorrent-postprocess.pyw" "%L" "" "%N" "multi" "" "%F"
python "C:\Scripts\Python\utorrent-postprocess.pyw" "tv-sonarr" "" "Long.Lost.Family.US.S06E01.Why.Couldnt.They.Raise.Us.1080p.WEB.x264-CAFFEiNE" "multi" "" "E:\Torrent\Long.Lost.Family.US.S06E01.Why.Couldnt.They.Raise.Us.1080p.WEB.x264-CAFFEiNE"
User avatar
rednoah
The Source
Posts: 19166
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Qbit - Extract to the same directory

Post by rednoah »

If you're using the amc script, then maybe this will do?

Code: Select all

--def extractFolder="E:/Torrent"
:idea: Not "same folder" but "fixed folder".


You can also do your own scripting, but I think the extract script already pretty much does what you want:
https://github.com/filebot/scripts/blob ... act.groovy
:idea: Please read the FAQ and How to Request Help.
Post Reply