JolleJolles / pirecorder

Controlled and automated image and video recording with the raspberry pi
https://jollejolles.github.io/pirecorder/
Apache License 2.0
43 stars 9 forks source link

Enable user to add configuration script to the rec command #9

Closed JolleJolles closed 4 years ago

JolleJolles commented 5 years ago

add to rec.py script somethig along the lines of:

import sys
args = sys.argv
if len(args)>1:
    configfile = args[1]

so user can type in terminal e.g. rec IRconfig.conf