CC-1630 : Automatic recording of shows
don't need to give specific device, just using default.
This commit is contained in:
parent
1f4c08b1a3
commit
8ebd70a61c
|
@ -39,7 +39,7 @@ class Recorder(Thread):
|
||||||
filename = self.filename.replace(" ", "-")
|
filename = self.filename.replace(" ", "-")
|
||||||
filepath = "%s%s.%s" % (config["base_recorded_files"], filename, self.filetype)
|
filepath = "%s%s.%s" % (config["base_recorded_files"], filename, self.filetype)
|
||||||
|
|
||||||
command = "ecasound -i alsahw,0,0 -o %s -t:%s" % (filepath, length)
|
command = "ecasound -i alsa -o %s -t:%s" % (filepath, length)
|
||||||
call(command, shell=True)
|
call(command, shell=True)
|
||||||
|
|
||||||
return filepath
|
return filepath
|
||||||
|
|
Loading…
Reference in New Issue