CC-1630 : Automatic recording of shows

using alsahw since users will have pulseaudio removed.
This commit is contained in:
naomiaro 2011-03-22 18:41:02 -04:00
parent 6c5a51e0fa
commit 44d83051b1
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ class Recorder(Thread):
filename = self.filename.replace(" ", "-")
filepath = "%s%s.%s" % (config["base_recorded_files"], filename, self.filetype)
command = "ecasound -i alsa -o %s -t:%s" % (filepath, length)
command = "ecasound -i alsahw,0,0 -o %s -t:%s" % (filepath, length)
call(command, shell=True)
return filepath