Search found 5 matches

by tom34
March 24th, 2015, 7:26 am
Forum: Post-Processing Scripts
Topic: Testing PP Script?
Replies: 9
Views: 8668

Re: Testing PP Script?

After 1,5 days of work, try and error all my problems are resolved. My scripts doesen't work direclty on console with ./script.sh, because the operating system Openmediavault mounts every hdd unter /media as "noexec". Read, write and delete works, but not execute. After deleting the noexec...
by tom34
March 23rd, 2015, 5:42 am
Forum: Post-Processing Scripts
Topic: Testing PP Script?
Replies: 9
Views: 8668

Re: Testing PP Script?

Right, i do know nothing about python :(
But my shellscripts are working till now.

Why doesen't sabnzbd recognize my .sh scripts in the dropdown menus?
Or could you please help me to create a simple python script that runs my shell script with the sabnzbd parameters $1-7?
by tom34
March 23rd, 2015, 3:52 am
Forum: Post-Processing Scripts
Topic: Testing PP Script?
Replies: 9
Views: 8668

Re: Testing PP Script?

Thanks for your answers.

The files are created with nano directly from terminal.
Yes, they are shellscripts, but with extension .sh they don't appear in "category - script"

What has to be modified to use .sh scripts as postprocessing scripts in sabnzbd?
by tom34
March 22nd, 2015, 7:22 am
Forum: Post-Processing Scripts
Topic: Testing PP Script?
Replies: 9
Views: 8668

Re: Testing PP Script?

Hm, the given Parameters $1 etc doesen't work for me? Not even this works: #!/bin/sh echo $1 >>ausgabe.ext File "/media/56b9d2c0-0811-4d2d-8bfe-9372a5aa76e2/Download/sabnzbd/scripte/Postprocessing.py", line 3 echo $1 >>ausgabe.ext ^ SyntaxError: invalid syntax How to run normal .sh scripts...
by tom34
March 22nd, 2015, 2:47 am
Forum: Post-Processing Scripts
Topic: Testing PP Script?
Replies: 9
Views: 8668

Testing PP Script?

Hi, I want to use this: If the category is tmp, do nothing, if not, search for .mkv or .mp4 in subfolders and move them to a defined directory. I create the following script: #!/bin/bash Seriendownloads=/media/56b9d2c0-0811-4d2d-8bfe-9372a5aa76e2/Public/Seriendownloads/ if $5!=tmp then find $1 -name...