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

David Crawford davidcrawford83 at gmail.com
Fri Feb 3 22:15:22 UTC 2012


On 3 February 2012 22:12, David Crawford <davidcrawford83 at gmail.com> wrote:

>
>
> On 3 February 2012 22:01, Jeremy Jones <jeremy.dwain.jones at gmail.com>wrote:
>
>> 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.
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>
>
> Thanks Michael and sorry about the top posting
>
> sorry to be more of a pain but im getting this error now after trying
> exactly what u just said:
>
>  bash: syntax error near unexpected token '1010'
>
> (1010 is the chanid)
>
> Also, just realised for the userjob im not using "python" before the
command, so it should work..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20120203/17029c19/attachment.html 


More information about the mythtv-users mailing list