[mythtv-users] User Job to rip subtitles from each program
David Crawford
davidcrawford83 at gmail.com
Fri Feb 3 20:45:25 UTC 2012
Thanks Raymond,
How do I let the hashbang do the work? I have tried running it has a user
job also, shouldnt that run the full script at least?
apologies if this seems outright novice, trying my best
On 3 February 2012 20:38, Jeremy Jones <jeremy.dwain.jones at gmail.com> wrote:
>
>
> 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. :-)
>
> _______________________________________________
> 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/20120203/96004768/attachment.html
More information about the mythtv-users
mailing list