summaryrefslogtreecommitdiff
path: root/src/home/media/record.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/home/media/record.py')
-rw-r--r--src/home/media/record.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/home/media/record.py b/src/home/media/record.py
index d3abfbb..d2f9b0e 100644
--- a/src/home/media/record.py
+++ b/src/home/media/record.py
@@ -450,4 +450,8 @@ class ESP32CameraRecording(Recording):
def get_command(self, output: str) -> str:
bin = config['esp32_capture']['bin']
- return f'{bin} --addr {self.stream_addr[0]}:{self.stream_addr[1]} --output-directory {output} >/dev/null 2>/dev/null' \ No newline at end of file
+ return f'{bin} --addr {self.stream_addr[0]}:{self.stream_addr[1]} --output-directory {output} >/dev/null 2>/dev/null'
+
+ def start(self, output: str):
+ output = os.path.dirname(output)
+ return super().start(output) \ No newline at end of file