[mythtv-users] User Job to rip subtitles from each program

Jeremy Jones jeremy.dwain.jones at gmail.com
Fri Feb 3 22:01:54 UTC 2012


On Fri, Feb 3, 2012 at 3:03 PM, David Crawford
<davidcrawford83 at gmail.com> wrote:
> Ok, again thanks for everything!
>
> i dont know if ive been doing this the right way but entering everything in
> the terminal i get these errors:
>
> bash: syntax error near unexpected token `('
>
> and
>
> bash: syntax error near unexpected token ` '-i ', '




David,

What was the command that you typed into the terminal?

In an earlier post you  said you used:
python /home/dave/uksub2srt/renamesrt.py %CHANID% %STARTTIME%

So to follow Raymond's suggestion and rely on the "hashbang" you would
not include the "python" part of the command.  Also since it is not a
userjob the %CHANID% %STARTTIME% codes have no meaning and you will
need to fill in a valid channel id and valid start time from a valid
recording.

The command line would look something line:
/home/dave/uksub2srt/renamesrt.py <fill_in_your_channel_id_here>
<fill_in_your_start_time_here>

Remember what you learned about the brackets from one of the previous emails.

Jeremy



PS: (Just for future reference)
You may not have noticed, but most of us have been replying below the
text of the previous email.  When you reply and include the text
above, it is known as 'top posting' and many people really do not like
that on email distribution lists.


More information about the mythtv-users mailing list