[mythtv-users] User Job to rip subtitles from each program
Raymond Wagner
raymond at wagnerrp.com
Fri Feb 3 17:34:00 UTC 2012
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.
More information about the mythtv-users
mailing list