Come up with a useful post-processing script? Share it here!
-
synci
- Newbie
- Posts: 29
- Joined: February 10th, 2015, 2:19 pm
Post
by synci »
Hey guys,
its sanders fault that i have 2 new pp scripts
(Thanks again!)
I need to run 3 python pp scripts after my download completed.
Found a thread here but i think its only for bash scripts ?
That here doesnt work
Code: Select all
#!/usr/bin/env bash
./SAB-SafeRename.py &&
./mkv-process-audio-and-subs.py &&
./nzbToSickBeard.py &&
Thanks !
-
sander
- Release Testers
- Posts: 8832
- Joined: January 22nd, 2008, 2:22 pm
Post
by sander »
It doesn't work ... but what does work?
I hate shell scripting, but here is a
untested try:
Code: Select all
#!/bin/sh
echo "Step 1"
/<fullpath-to-SAB-scripting-dir>/SAB-SafeRename.py $1 $2 $3 $4 $5 $5 $6 $7 $8
echo "Step 2"
/<fullpath-to-SAB-scripting-dir>/mkv-process-audio-and-subs.py $1 $2 $3 $4 $5 $5 $6 $7 $8
echo "Step 3"
/<fullpath-to-SAB-scripting-dir>/nzbToSickBeard.py $1 $2 $3 $4 $5 $5 $6 $7 $8
echo "Done"
Maybe you can test this? I can test later on.
-
synci
- Newbie
- Posts: 29
- Joined: February 10th, 2015, 2:19 pm
Post
by synci »
And we have a winner
Works !!!
Thank you so much !