Skip to content

Commit 7b9f02c

Browse files
authored
feat: updates to video review GUI (#80)
* video review gui: various improvements - clicking on a yet-to-be-downloaded video moves it to the top of the queue so it is downloaded next - make sure the download thread sleeps when it's done (d'oh!) - add a "status" column, later changes will download by default in low res and offer the option to use higher res * video review gui: add status column Add status column with icons to indicate download status * assorted updates * upd * upd * video_review_gui: more updates - re-download file if it exists but filesize doesn't match expected value - use a QTreeWidget instead of a QTableWidget in order to present channel 1 as a child of channel 0 (you never want to watch channel 1 without having established that channel 0 had something interesting) - add CLI --sub to search the sub stream (faster downloads = faster review) - the new logic also presents sub & main in the same tree root (conceptually, one start datetime = tree root under which all video related to that moment are listed) - add icons for statuses - exit after 1second timeout instead of being blocked until end of download * video_review: fix icons with sub stream * bump to width 2400 * support new version 9 of filenames * add GetHighRes button to download from main stream when running in sub mode
1 parent 05d29eb commit 7b9f02c

File tree

2 files changed

+296
-132
lines changed

2 files changed

+296
-132
lines changed

examples/stream_gui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class CameraPlayer(QWidget):
3232
def __init__(self, rtsp_url_wide, rtsp_url_telephoto, camera: Camera):
3333
super().__init__()
3434
self.setWindowTitle("Reolink PTZ Streamer")
35-
self.setGeometry(10, 10, 1900, 600)
35+
self.setGeometry(10, 10, 2400, 900)
3636
self.setFocusPolicy(Qt.FocusPolicy.StrongFocus)
3737

3838
self.camera = camera

0 commit comments

Comments
 (0)