post-processing script doesnt spawn
im not able to add a post-processor script for my recordings. it works when i run it from commandline, but nothing happens when i tvheadend trys to spawn the script. im not sure why. when i quote the command in the webinterface like:
"hts-sort -f %f -b"
the log is showing me this:
Apr 21 08:58:28 localhost tvheadend: spawn: Executing "/usr/bin/hts-sort -f [...] -b"
but without quotes:
hts-sort -f %f -b
it only shows:
Apr 21 08:54:42 localhost tvheadend: spawn: Executing "/usr/bin/hts-sort"
is post-processing broken, or does my script has to have certain permissions? im not able to figure this out. could anybody help?
RE: post-processing script doesnt spawn - Added by Mattias Wadman over 10 years ago
You should write without quotes:
/absolute/path/to/hts-sort -f %f -b
How do you execute the script from the shell when it works? it the script set as executable?
Add something at the start of the script that logs to a file etc to easily see if it gets executed.