Skip to content

Commit 6c527a5

Browse files
sven337Benehiko
authored andcommitted
use sub instead of main by default now that GetHighRes is there
1 parent 9243c00 commit 6c527a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: examples/video_review_gui.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ def signal_handler(sig, frame):
612612
signal.signal(signal.SIGINT, signal_handler)
613613

614614
parser = argparse.ArgumentParser(description="Reolink Video Review GUI")
615-
parser.add_argument('--sub', action='store_true', help="Search for sub channel instead of main channel")
615+
parser.add_argument('--main', action='store_true', help="Search for main channel instead of sub channel")
616616
parser.add_argument('files', nargs='*', help="Optional video file names to process")
617617
args = parser.parse_args()
618618

@@ -629,7 +629,7 @@ def signal_handler(sig, frame):
629629
start = dt.combine(dt.now(), dt.min.time())
630630
end = dt.now()
631631

632-
streamtype = 'sub' if args.sub else 'main'
632+
streamtype = 'sub' if not args.main else 'main'
633633
processed_motions = cam.get_motion_files(start=start, end=end, streamtype=streamtype, channel=0)
634634
processed_motions += cam.get_motion_files(start=start, end=end, streamtype=streamtype, channel=1)
635635

0 commit comments

Comments
 (0)