replace sseof with -t flag & remove constant that now lives in the config file
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user