Add ASeeVR support to camera_widget.py

This adds "aseevr" to the http autocomplete exceptions so the GUI doesn't mess with entering "aseevrleft" or "aseevrright" as the camera.
This commit is contained in:
Fynnley 2024-10-17 20:27:02 +02:00 committed by GitHub
parent 8b207d0089
commit 7643d7c234
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -379,6 +379,7 @@ class CameraWidget:
if (
len(values[self.gui_camera_addr]) > 5
and "http" not in values[self.gui_camera_addr]
and "aseevr" not in values[self.gui_camera_addr]
and ".mp4" not in values[self.gui_camera_addr]
): # If http is not in camera address, add it.
self.config.capture_source = f"http://{values[self.gui_camera_addr]}/"