Thanks alot or the reply but actually I've tried it without .mpg and with "%FILE%" 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"><<a href="mailto:mythtv-users@lists.boehmi.net">mythtv-users@lists.boehmi.net</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">David Crawford wrote:<br>
> I'm quite new to MythTV and im trying to setup a User Job with a script<br>
> that I use to rip subtitles automatically from a recorded show into a in<br>
> .srt format.<br>
> The Script works fine via the CMD terminal and I was using it previously<br>
> with the DVBViewer Recording Service. The script via the CMD works this way:<br>
> python ~dave/uksub2srt/uksub2srt.py -i itv.mpg -o ~dave/subtitles/itv.srt<br>
><br>
> Ive tried the following but it doesnt work:<br>
> python ~dave/uksub2srt/uksub2srt.py -i %FILE%.mpg -o ~dave/subtitles/%FILE%.srt<br>
><br>
> can anyone tell me what the correct paramters are?<br>
<br>
</div>Doesn't %FILE% already contain the file extension? So try it without ".mpg".<br>
<br>
HTH<br>
Thomas<br>
<br>
BTW: Would you mind sharing the script? I'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>