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

David Crawford davidcrawford83 at gmail.com
Wed Jan 18 21:55:23 UTC 2012


Thanks alot or the reply but actually I've tried it without .mpg and with
"%FILE%" but each time it gives me an error..

In DVBVIEWER in windows it works using this : uksub2srt.bat -i
{SOURCE_FILE}.ts -o c:subtitles/{SOURCE_FILE}.srt

On 18 January 2012 21:52, Thomas Boehm <mythtv-users at lists.boehmi.net>wrote:

> David Crawford wrote:
> > I'm quite new to MythTV and im trying to setup a User Job with a script
> > that I use to rip subtitles automatically from a recorded show into a in
> > .srt format.
> > The Script works fine via the CMD terminal and I was using it previously
> > with the DVBViewer Recording Service. The script via the CMD works this
> way:
> > python ~dave/uksub2srt/uksub2srt.py -i itv.mpg -o ~dave/subtitles/itv.srt
> >
> > Ive tried the following but it doesnt work:
> > python ~dave/uksub2srt/uksub2srt.py -i %FILE%.mpg -o
> ~dave/subtitles/%FILE%.srt
> >
> > can anyone tell me what the correct paramters are?
>
> Doesn't %FILE% already contain the file extension? So try it without
> ".mpg".
>
> HTH
> Thomas
>
> BTW: Would you mind sharing the script? I'm very interested in it. How
> does it handle cutlists? Will it remove the parts?
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20120118/f1a11a3b/attachment.html 


More information about the mythtv-users mailing list