CC-1630 : Automatic recording of shows

scripts to install recorder using daemon tools.
haven't tested without pulse audio yet.
This commit is contained in:
naomiaro 2011-03-22 18:20:22 -04:00
parent 8ffcd75682
commit f592254246
11 changed files with 240 additions and 60 deletions

View file

@ -44,6 +44,8 @@ def create_user(username):
print "User already exists."
#add pypo to audio group
os.system("adduser " + username + " audio 1>/dev/null 2>&1")
#add pypo to pulse-access group
os.system("adduser " + username + " pulse-access 1>/dev/null 2>&1")
def copy_dir(src_dir, dest_dir):
if (os.path.exists(dest_dir)) and (dest_dir != "/"):