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

Thomas Boehm mythtv-users at lists.boehmi.net
Wed Jan 18 21:52:06 UTC 2012


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?


More information about the mythtv-users mailing list