summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-09-15 00:03:34 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-09-15 00:03:34 +0300
commitf228efad1e7c0b5080d1fa4cdaff2ae46b4276e7 (patch)
treeb3f62d06fd903c800c625bbeace0b91b4a7973ab
parent8141608a99fe5822dc7f16ed26ca31ba19d8f30c (diff)
doc: update ipcam_server config example
-rw-r--r--doc/ipcam_server.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/ipcam_server.md b/doc/ipcam_server.md
index a22c239..487e527 100644
--- a/doc/ipcam_server.md
+++ b/doc/ipcam_server.md
@@ -1,3 +1,4 @@
+
# ipcam_server.py
## Configuration
@@ -19,6 +20,14 @@ camera:
recordings_path: "/data3/cam-3"
motion_path: "/data3/cam-3/motion"
+storages:
+ - mountpoint: "/data1"
+ cams: [1]
+ - mountpoint: "/data2"
+ cams: [2]
+ - mountpoint: "/data3"
+ cams: [3]
+
motion:
padding: 2
telegram: true
@@ -30,6 +39,19 @@ telegram:
token: ""
chat_id: ""
parse_mode: HTML
+
+ fragment_url_templates:
+ - ["example", "https://example.ru/cam-{camera}/motion/{file}"]
+
+ original_file_url_templates:
+ - ["example", "https://example.ru/cam-{camera}/{file}"]
+
+fix_interval: 600
+fix_enabled: true
+
+cleanup_min_gb: 200
+cleanup_interval: 86400
+
```
## Usage