[mythtv-users] User job not executing

Andrew Williams andy at tensixtyone.com
Tue Nov 20 11:33:32 UTC 2007


On 18/11/2007, Anthony Giggins <seven at seven.dorksville.net> wrote:
> #!/bin/sh
> VIDEODIR=$1
> FILENAME=$2
> /usr/bin/nuvexport --mencoder --infile=$VIDEODIR/$FILENAME
> --path=/storage/videos/new --height=576 --width=720 --mode=xvid --
> deinterlace --nonoise_reduction --cutlist --noconfirm --nice=19 > /dev/null
> &

That & is the source of all your issues. Essentially its running
nuvexport in the background from the actual script, so the script
instantlly finishes and the mythbackend marks it as successful as no
error code was returned.

Also, another thing that may bite you is that nuvexport has issues
running from the backend, as theres no controlling terminal and shell
enviroment that nuvexport can use to startup the UI (even though the
arguments will skip it).

-- 
Andrew Williams
w: http://nikdoof.net
e: andy at tensixtyone.com


More information about the mythtv-users mailing list