Page 1 of 1

Qbit - Extract to the same directory

Posted: 29 Oct 2019, 06:00
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"

Re: Qbit - Extract to the same directory

Posted: 29 Oct 2019, 06:26
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