No DSPs by default: new installs start empty and say so
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9c6d2d6e35
commit
763a8781f4
5 files changed
+22
-6
No files matched your search
@@ -247,10 +247,7 @@ class App:
|
||||
if self.config_path.exists():
|
||||
cfg = json.loads(self.config_path.read_text(encoding="utf-8"))
|
||||
else:
|
||||
cfg = {"devices": [
|
||||
{"id": "dsp204", "name": "DSP 204", "host": "192.168.1.101", "model": "204", "autoconnect": False},
|
||||
{"id": "dsp408", "name": "DSP 408", "host": "192.168.1.102", "model": "408", "autoconnect": False},
|
||||
]}
|
||||
cfg = {"devices": []}
|
||||
now = time.time()
|
||||
self.sessions = {k: v for k, v in cfg.get("sessions", {}).items() if v > now}
|
||||
self.locked = bool(cfg.get("locked"))
|
||||
|
||||
Reference in new issue
Block a user