[mythtv-users] file to flash

Bill Meek keemllib at gmail.com
Wed Oct 16 20:25:42 UTC 2013


On 10/16/2013 03:03 PM, Daryl McDonald wrote:
...
 >> /usr/local/bin/videoexport "%DIR%/%FILE%" "%TITLE%" "%STARTTIME%" "%SUBTITLE%"
>
> The line above is the command (run in the terminal) with
> values substituted between % symbols...

When run from the command line, don't put the "appropriate values"
*between* % signs. Remove the % signs completely.

The %PARAMETER% syntax tells MythTV what to substitute when it
develops the command line for the current User Job.

So, the User Job entry:

     /usr/local/bin/videoexport "%DIR%/%FILE%" "%TITLE%" "%STARTTIME%" "%SUBTITLE%"

Turns into something like this, which can also be run from the commandline:

     /usr/local/bin/videoexport "/var/lib/mythtv/recordings/someFileName.mpg" "Some Title" "2013101610160000" "And Some Subtitle"

(obviously, I made up all of the substitutions)

-- 
Bill


More information about the mythtv-users mailing list