[mythtv-users] Working example of a userjob?
Andreas
Andreaz at t-online.de
Mon Oct 1 22:46:49 UTC 2007
Thanks Jon, for that fast answer. I've not any idea, why i
can't see all of that parameters inside my script. I hope
i can dig that out. Thanks for the example...
Andreas
> Andreas wrote:
> > Hello List,
> >
> > can someone supply me an example of a working userjob-line?
> I tried several
> > things
> > with that variables on
> >
> > http://www.mythtv.org/wiki/index.php/User_Jobs
> >
> > and it seems i can't catch anything only just the filename.
> > I tried it with a testscript and try to giveover alle of
> the variables like:
> >
> > /home/andreaz/testmescript.sh %CHANID% %STARTTIME% %DIR%
> %FILE% %TITLE%
> > %SUBTITLE% %DESCRIPTION% %HOSTNAME% %CATEGORY%
> > All i can see in the end is just the filename in $1 in the
> testmescript.sh.
> >
> Here's one of mine: /mnt/AVPC1/bin/pdatranscode.pl --dir
> "%DIR%" --file
> %FILE% --title "%TITLE%" --subtitle "%SUBTITLE%" --description
> "%DESCRIPTION%" --recgroup "%RECGROUP%" --starttime "%STARTTIME%"
> --endtime "%ENDTIME%"
>
> > Another test was that line:
> > ffmpeg -i %FILE% -s 400x300 -vcodec divx -acodec mp3 -flags
> > +ilme+ildct -sameq -deinterlace /mnt/video/exports/%FILE%
> >
> > But it seems it refuse to work and i can't see why. The
> userjob throw no
> > error as far i can see.
> >
> > Anyone here with any working userjob that make use of some
> of the variables
> > above? I would love
> > to see some to get an idea what i'm doing wrong.
> >
> > Thanks in advance...
> > Andreas
More information about the mythtv-users
mailing list