Thanks alot or the reply but actually I&#39;ve tried it without .mpg and with &quot;%FILE%&quot; but each time it gives me an error..<div><br></div><div>In DVBVIEWER in windows it works using this : uksub2srt.bat -i {SOURCE_FILE}.ts -o c:subtitles/{SOURCE_FILE}.srt<br>
<br><div class="gmail_quote">On 18 January 2012 21:52, Thomas Boehm <span dir="ltr">&lt;<a href="mailto:mythtv-users@lists.boehmi.net">mythtv-users@lists.boehmi.net</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">David Crawford wrote:<br>
&gt; I&#39;m quite new to MythTV and im trying to setup a User Job with a script<br>
&gt; that I use to rip subtitles automatically from a recorded show into a in<br>
&gt; .srt format.<br>
&gt; The Script works fine via the CMD terminal and I was using it previously<br>
&gt; with the DVBViewer Recording Service. The script via the CMD works this way:<br>
&gt; python ~dave/uksub2srt/uksub2srt.py -i itv.mpg -o ~dave/subtitles/itv.srt<br>
&gt;<br>
&gt; Ive tried the following but it doesnt work:<br>
&gt; python ~dave/uksub2srt/uksub2srt.py -i %FILE%.mpg -o ~dave/subtitles/%FILE%.srt<br>
&gt;<br>
&gt; can anyone tell me what the correct paramters are?<br>
<br>
</div>Doesn&#39;t %FILE% already contain the file extension? So try it without &quot;.mpg&quot;.<br>
<br>
HTH<br>
Thomas<br>
<br>
BTW: Would you mind sharing the script? I&#39;m very interested in it. How<br>
does it handle cutlists? Will it remove the parts?<br>
_______________________________________________<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><br>
</blockquote></div><br></div>