<br><br><div class="gmail_quote">On 3 February 2012 22:01, Jeremy Jones <span dir="ltr"><<a href="mailto:jeremy.dwain.jones@gmail.com">jeremy.dwain.jones@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Fri, Feb 3, 2012 at 3:03 PM, David Crawford<br>
<<a href="mailto:davidcrawford83@gmail.com">davidcrawford83@gmail.com</a>> wrote:<br>
> Ok, again thanks for everything!<br>
><br>
> i dont know if ive been doing this the right way but entering everything in<br>
> the terminal i get these errors:<br>
><br>
> bash: syntax error near unexpected token `('<br>
><br>
> and<br>
><br>
> bash: syntax error near unexpected token ` '-i ', '<br>
<br>
<br>
<br>
<br>
</div>David,<br>
<br>
What was the command that you typed into the terminal?<br>
<br>
In an earlier post you said you used:<br>
python /home/dave/uksub2srt/renamesrt.py %CHANID% %STARTTIME%<br>
<br>
So to follow Raymond's suggestion and rely on the "hashbang" you would<br>
not include the "python" part of the command. Also since it is not a<br>
userjob the %CHANID% %STARTTIME% codes have no meaning and you will<br>
need to fill in a valid channel id and valid start time from a valid<br>
recording.<br>
<br>
The command line would look something line:<br>
/home/dave/uksub2srt/renamesrt.py <fill_in_your_channel_id_here><br>
<fill_in_your_start_time_here><br>
<br>
Remember what you learned about the brackets from one of the previous emails.<br>
<br>
Jeremy<br>
<br>
<br>
<br>
PS: (Just for future reference)<br>
You may not have noticed, but most of us have been replying below the<br>
text of the previous email. When you reply and include the text<br>
above, it is known as 'top posting' and many people really do not like<br>
that on email distribution lists.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a></div></div></blockquote><div><br></div><div>Thanks Michael and sorry about the top posting </div>
<div><br></div><div>sorry to be more of a pain but im getting this error now after trying exactly what u just said:</div><div><br></div><div> bash: syntax error near unexpected token '1010'</div><div><br></div><div>
(1010 is the chanid)</div></div><br>