<br><br><div class="gmail_quote">On 3 February 2012 22:01, Jeremy Jones <span dir="ltr">&lt;<a href="mailto:jeremy.dwain.jones@gmail.com">jeremy.dwain.jones@gmail.com</a>&gt;</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>
&lt;<a href="mailto:davidcrawford83@gmail.com">davidcrawford83@gmail.com</a>&gt; wrote:<br>
&gt; Ok, again thanks for everything!<br>
&gt;<br>
&gt; i dont know if ive been doing this the right way but entering everything in<br>
&gt; the terminal i get these errors:<br>
&gt;<br>
&gt; bash: syntax error near unexpected token `(&#39;<br>
&gt;<br>
&gt; and<br>
&gt;<br>
&gt; bash: syntax error near unexpected token ` &#39;-i &#39;, &#39;<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&#39;s suggestion and rely on the &quot;hashbang&quot; you would<br>
not include the &quot;python&quot; 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 &lt;fill_in_your_channel_id_here&gt;<br>
&lt;fill_in_your_start_time_here&gt;<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 &#39;top posting&#39; 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 &#39;1010&#39;</div><div><br></div><div>
(1010 is the chanid)</div></div><br>