post-processing script doesnt spawn
Added by Aaron Rogers over 13 years ago
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[14373]: 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[12146]: 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?
Replies (2)
RE: post-processing script doesnt spawn - Added by Mattias Wadman over 13 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.
RE: post-processing script doesnt spawn - Added by Aaron Rogers over 13 years ago
strange, after i moved the script to the home directory of hts user it works...
thanks a lot =)