SABnzbd

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
Gutz-Pilz
Power User
Posts: 17
Joined: 29 Aug 2013, 16:03

SABnzbd

Post by Gutz-Pilz »

Hi guys...

might be a quick question

Code: Select all

#!/bin/sh

SAVEIFS=$IFS
IFS=$(echo -en "\n\b")

BaseDir=/media/5a24e136-09b9-48e1-95db-b44d5db3e28a
MediaDir=${BaseDir}/Medien
DownloadFolder=$1

AMC(){
filebot -script fn:amc "$DownloadFolder" --output "$MediaDir" --conflict skip -non-strict --action move --def "ignore=\b(?i:doku)\b" clean=y artwork=y xbmc=192.168.0.16,192.168.0.109 subtitles=de
}
Cleaning(){
filebot -script "${ScriptsDir}/cleaner.groovy" "$DownloadFolder"
}
# Main #
IFS=$SAVEIFS
echo '### Scannen,extrahieren, umbenennen und verschieben  ###'
AMC
echo '### CleanUP ###'
Cleaning
echo '### Fertig ###'

i have this as a postprocessing bash in my pyLoad and it works.
in SABnzbd it doesnt.

i get this output:

Code: Select all

Parameter: ignore = \b(?i:doku)\b
Parameter: clean = y
Parameter: artwork = y
Parameter: xbmc = 192.168.0.16,192.168.0.109
Parameter: subtitles = de
Argument: /media/5a24e136-09b9-48e1-95db-b44d5db3e28a/Medien/Downloads/Hannibal.S01E01.Aperitif.GERMAN.DUBBED.DL.720p.WebHD.x264-TVP
Read archive [100002320-100005359-99998170.rar] to [/media/5a24e136-09b9-48e1-95db-b44d5db3e28a/Medien/Downloads/Hannibal.S01E01.Aperitif.GERMAN.DUBBED.DL.720p.WebHD.x264-TVP/100002320-100005359-99998170/Hannibal.S01E01.Aperitif.GERMAN.DUBBED.DL.720p.WebHD.x264-TVP]
Done ?(?????)?
### CleanUP ###
Delete /media/5a24e136-09b9-48e1-95db-b44d5db3e28a/Medien/Downloads/Hannibal.S01E01.Aperitif.GERMAN.DUBBED.DL.720p.WebHD.x264-TVP/100002320-100005359-99998170.nfo
Delete /media/5a24e136-09b9-48e1-95db-b44d5db3e28a/Medien/Downloads/Hannibal.S01E01.Aperitif.GERMAN.DUBBED.DL.720p.WebHD.x264-TVP/100002320-100005359-99998170.rar
Done ?(?????)?

what im trying to say...

pyload extracts sorts and does everything perfect.
but on SAB it doesnt even start extracting

is it because the way it is packed ?
SAB had = .rar, r0,r1,r2....
pyLoad has = part1.rar, part2.rar, part3.rar
User avatar
rednoah
The Source
Posts: 22975
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: SABnzbd

Post by rednoah »

Is this just stout? All multi-value rar naming schemes should be supported. I'd there is errors check stderr. If you're redirecting output make sure to redirect standard outputs a well as standard error.
:idea: Please read the FAQ and How to Request Help.
Post Reply