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

Jeremy Jones jeremy.dwain.jones at gmail.com
Fri Feb 3 20:38:28 UTC 2012


On Fri, Feb 3, 2012 at 2:32 PM, Raymond Wagner <raymond at wagnerrp.com> wrote:

> On 2/3/2012 15:18, Doug Lytle wrote:
> > David Crawford wrote:
> >> if len(sys.argv) != 3:
> >    From someone with absolutely no Python experience, the line !=
> > typically means 'not equal to'.
> >
> > My guess is that it's looking for 3 command line options.
>
> Specifically, those three command line arguments _should_ be
> '/home/dave/uksub2srt/renamesrt.py', '<chanid>', and '<starttime>'.
> However, he keeps manually running the python interpreter, rather than
> letting the hashbang at the top of the script do its job, resulting in
> the four arguments: 'python', '/home/dave/uksub2srt/renamesrt.py',
> '<chanid>', and '<starttime>'.
>
>
Raymond:  I must say I am real impressed with your patience in that you are
actually still following this thread. :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20120203/33edd0a0/attachment.html 


More information about the mythtv-users mailing list