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:
parent
8ffcd75682
commit
f592254246
11 changed files with 240 additions and 60 deletions
|
@ -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 != "/"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue