Tune key at every location: the key the tracks send must reach each location's FOH (SuperRack) in that location's own Planning Center key
NA works out each location's expected Waves Tune programs (campus_tune) and serves them at /api/tune/<id>; locations fetch their list, read ProPresenter through Companion's connection, and compare with a MIDI witness on the FOH Mac (SC FOH now; WS FOH needs the Command Line Tools first). FOH KEY WRONG / FOH GOT NO KEY. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -923,6 +923,12 @@ class Handler(http.server.BaseHTTPRequestHandler):
|
||||
return self.send(200, site.companion_page(int(n)))
|
||||
except (OSError, ValueError) as e:
|
||||
return self.send(200, {"page": int(n), "buttons": [], "error": "Companion did not answer: %s" % e})
|
||||
if path.startswith("/api/tune/"):
|
||||
# A location asks the hub what Waves Tune program each of its songs must reach its FOH with.
|
||||
want = path[len("/api/tune/"):].upper()
|
||||
lists = (site.read_json("snapshot.json", {}) or {}).get("tune_expect") or {}
|
||||
songs = lists.get(want)
|
||||
return self.send(200 if songs is not None else 404, {"location": want, "songs": songs})
|
||||
if path == "/api/wiring":
|
||||
return self.send(200, site.wiring_view())
|
||||
if path == "/api/machines":
|
||||
|
||||
Reference in New Issue
Block a user