diff --git a/rewind/core.py b/rewind/core.py index 05a0f49..b4db417 100644 --- a/rewind/core.py +++ b/rewind/core.py @@ -45,7 +45,7 @@ def concat_ts_files(file_list: list[str], start_offset: float, end_offset: float if start_offset > 0: cmd += ["-ss", str(start_offset)] if end_offset > 0: - cmd += ["-sseof", str(length)] + cmd += ["-t", str(length)] cmd += ["-f", "concat", "-safe", "0", "-i", "file_list.txt", "-c", "copy"] cmd.append(output_file) diff --git a/rewind/daemon.py b/rewind/daemon.py index 3c21256..882d3b1 100755 --- a/rewind/daemon.py +++ b/rewind/daemon.py @@ -11,7 +11,6 @@ from watchdog.observers import Observer from watchdog.events import FileSystemEventHandler INTERVAL = 10 -MAX_AGE_SECONDS = 60 * 60 * 1 running = True def open_obs():