diff --git a/CHANGES.rst b/CHANGES.rst index ed4560f..b687423 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -6,6 +6,8 @@ Saraswati changelog in progress =========== +- Use 5 minutes recording chunk size as default + 2021-06-20 0.2.0 ================ diff --git a/saraswati/cli.py b/saraswati/cli.py index febf077..8f1df7d 100644 --- a/saraswati/cli.py +++ b/saraswati/cli.py @@ -148,7 +148,7 @@ def cli(ctx): "--chunk-duration", type=click.INT, help="Duration of each chunk file (seconds)", - default=60, + default=5 * 60, ) @click.option( "--chunk-max-files", diff --git a/saraswati/model.py b/saraswati/model.py index 2a1dbe7..bcc891e 100644 --- a/saraswati/model.py +++ b/saraswati/model.py @@ -19,7 +19,7 @@ class SaraswatiSettings: channels: List[Channel] # Chunking options. - chunk_duration: Optional[int] = 10 + chunk_duration: Optional[int] = 5 * 60 chunk_max_files: Optional[int] = 9999 # Where to store the recordings.