[mythtv-users] file to flash

Daryl McDonald darylangela at gmail.com
Wed Oct 16 20:35:47 UTC 2013


On Wed, Oct 16, 2013 at 4:25 PM, Bill Meek <keemllib at gmail.com> wrote:
> 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
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users

Ok so after I edit the videoexport script into the /usr/local/bin
directory, I put   /usr/local/bin/videoexport "%DIR%/%FILE%" "%TITLE%"
"%STARTTIME%" "%SUBTITLE%" into the BE general>set-up>user jobs page
and when I want to cut ads I open a terminal and enter the command
substituting appropriate values?

Daryl


More information about the mythtv-users mailing list