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

@ -0,0 +1,16 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
if os.geteuid() != 0:
print "Please run this as root."
sys.exit(1)
try:
print "Starting daemontool script recorder"
os.system("svc -u /etc/service/recorder")
except Exception, e:
print "exception:" + str(e)