pumaguard 21__py3-none-any.whl → 21.post4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pumaguard/presets.py +2 -0
- pumaguard/pumaguard-ui/main.dart.js +40686 -40493
- pumaguard/sound.py +3 -1
- pumaguard/web_routes/dhcp.py +161 -0
- pumaguard/web_routes/settings.py +15 -1
- pumaguard/web_ui.py +12 -0
- {pumaguard-21.dist-info → pumaguard-21.post4.dist-info}/METADATA +1 -1
- {pumaguard-21.dist-info → pumaguard-21.post4.dist-info}/RECORD +12 -12
- {pumaguard-21.dist-info → pumaguard-21.post4.dist-info}/WHEEL +0 -0
- {pumaguard-21.dist-info → pumaguard-21.post4.dist-info}/entry_points.txt +0 -0
- {pumaguard-21.dist-info → pumaguard-21.post4.dist-info}/licenses/LICENSE +0 -0
- {pumaguard-21.dist-info → pumaguard-21.post4.dist-info}/top_level.txt +0 -0
pumaguard/presets.py
CHANGED
|
@@ -148,6 +148,7 @@ class Preset:
|
|
|
148
148
|
self.volume = 80 # Volume level 0-100 for ALSA playback
|
|
149
149
|
self.print_download_progress = True
|
|
150
150
|
self.camera_url = "" # URL for external camera web interface
|
|
151
|
+
self.cameras: list[dict[str, str]] = [] # List of detected cameras
|
|
151
152
|
self.no_lion_directories: list[str] = []
|
|
152
153
|
self.validation_no_lion_directories: list[str] = []
|
|
153
154
|
self.with_augmentation = False
|
|
@@ -296,6 +297,7 @@ class Preset:
|
|
|
296
297
|
"print-download-progress", True
|
|
297
298
|
)
|
|
298
299
|
self.camera_url = settings.get("camera-url", "")
|
|
300
|
+
self.cameras = settings.get("cameras", [])
|
|
299
301
|
|
|
300
302
|
def save(self):
|
|
301
303
|
"""
|