[mythtv-users] User Job to rip subtitles from each program
David Crawford
davidcrawford83 at gmail.com
Fri Feb 3 17:45:27 UTC 2012
Could you give another suggestion to what the full script might be so i can
try again?
Thanks - really apreciate it
On 3 February 2012 17:41, David Crawford <davidcrawford83 at gmail.com> wrote:
> So what can i do about "<chanid>" and "<starttime>" ?
>
>
> On 3 February 2012 17:34, Raymond Wagner <raymond at wagnerrp.com> wrote:
>
>> On 2/3/2012 12:23, David Crawford wrote:
>> > if len(sys.argv) != 3:
>> > chanid, starttime = sys.argv[1:3]
>>
>> Looks like this one's my fault. You want it to run only when you have
>> the proper number of command line arguments. This does the opposite.
>>
>> if len(sys.argv) != 3:
>> raise Exception('Invalid argument count')
>> chanid, starttime = sys.argv[1:3]
>>
>> > prog = be.getRecording(<chanid>, <starttime>)
>>
>> "<chanid>" and "<starttime>" are still not valid variables.
>> _______________________________________________
>> 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/e020c537/attachment.html
More information about the mythtv-users
mailing list