Get base_recorder_file config from proper subsection in conf

It took me way too long to figure this one out it wasn't logging nicely. With this ecasound actually gets called again. It's still failing on my install but I'm not yet sure why exactly.
This commit is contained in:
Lucas Bickel 2017-03-23 13:18:52 +01:00
parent 01aef516e4
commit 5f04dbb8a8

View file

@ -78,7 +78,7 @@ class ShowRecorder(Thread):
else:
filetype = "ogg";
joined_path = os.path.join(config["base_recorded_files"], filename)
joined_path = os.path.join(config["pypo"]["base_recorded_files"], filename)
filepath = "%s.%s" % (joined_path, filetype)
br = config["pypo"]["record_bitrate"]