


sweetie wrote:Where the heck are you runing it from? It's set to rename to "${PWD##*/}" which is current directory name. Only way it could turn out 'bin' is if you're running from there. ???
You could try changing:
- Code: Select all
if [ "$inputfs" -gt "262144000" -a "$allmkv" -le "1" ]; then output="$CWD.m2ts"
elif [ "$inputfs" -lt "262144000" ]; then output="$CWD-Sample-$inputfs.m2ts"
elif [ "$inputfs" -gt "262144000" -a "$allmkv" -ge "2" ]; then output="$CWD-$inputcount.m2ts"; ((inputcount++)); fi
to:
- Code: Select all
output="$CWD-$inputcount.m2ts"; ((inputcount++))
You'll have to have sample downloads disabled in SAB.
Let me know.
Is this on Ubuntu still btw? or FreeNAS?

CWD="${PWD##*/"}










Return to Post-Processing Scripts