Kodi Community Forum
Linux post-processor not execute... - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: Tvheadend (https://forum.kodi.tv/forumdisplay.php?fid=168)
+---- Thread: Linux post-processor not execute... (/showthread.php?tid=196869)



post-processor not execute... - dangun03 - 2014-06-03

Hi,

I have a problem with my Tvheadend 3.9.788~ ubuntu 14.04 LTS server
The post-processor command isn't executing.

user [hannim] in group [video]
My command is:
/usr/local/bin/postProcessor.sh %f /home/hannim/disk4/Rec/encoding/%t.mp4
The script works fine when I run it with manually entered parameters.
It does logging. I could see if anything goes wrong. But the script doesn't run at all when called by Tvheadend.
It's chown'd hannim:video and has 777 rights.

Tvheadends log says, that the script was spawned. But nothing was ever executed.

Has anyone an idea?
Thanks.


RE: post-processor not execute... - Prof Yaffle - 2014-06-03

Things to check:

1. Is postProcessor.sh executable to the tvheadend process (hts by default) (EDIT sorry, just noticed the 777 - so it should be)

2. Is there a shebang definition at the beginning of your script

3. Is it correct (e.g. /bin/sh)