MIDI key: every network MIDI peer must come over the wired network
The Macs are also on Wi-Fi and the Dante networks, and Bonjour lists each MIDI session once per network. ProdDash's Vista Cues module had Tracks and Companion set to their Wi-Fi addresses, so lighting MIDI rode Wi-Fi. A midi_wired check now names any peer, in NA Ingest's session or the other Macs', whose address is outside the wired network (10.1.0.0/16 at NA). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -69,6 +69,8 @@ def check_sentence(chk, cfg):
|
||||
if t == "midi_peer":
|
||||
where = ("on %s" % who(chk["host"])) if chk.get("host") else "on this Mac"
|
||||
return "the network MIDI session %s %s has %s in it" % (e(chk["session"]), where, e(chk["peer"]))
|
||||
if t == "midi_wired":
|
||||
return "every peer in the network MIDI sessions (here and on the other Macs) comes over the wired network %s, not Wi-Fi or Dante" % e(", ".join(chk.get("nets") or []))
|
||||
if t == "pref":
|
||||
return "the setting %s in %s is %s" % (e(chk["key"]), e(chk["domain"]), e(chk["want"]))
|
||||
if t == "spotify":
|
||||
|
||||
+1
-1
@@ -501,7 +501,7 @@
|
||||
const checks = (t.checks || []).map((chk, j) => {
|
||||
const spec = state.schema.checks[chk.type] || { fields: [], question: "" };
|
||||
const sentence = (kt.checks[j] || {}).sentence || chk.type;
|
||||
const what = chk.type === "midi_peer" ? `${chk.peer || "?"} <span class="muted">in ${esc(chk.session || "?")}</span>` : esc(chk.conn || chk.name || (chk.params || {}).process || chk.msg || chk.host || chk.label || chk.url || chk.session || short(sentence, 40));
|
||||
const what = chk.type === "midi_peer" ? `${chk.peer || "?"} <span class="muted">in ${esc(chk.session || "?")}</span>` : chk.type === "midi_wired" ? `every MIDI peer wired <span class="muted">${esc((chk.nets || []).join(", "))}</span>` : esc(chk.conn || chk.name || (chk.params || {}).process || chk.msg || chk.host || chk.label || chk.url || chk.session || short(sentence, 40));
|
||||
const q = spec.question || chk.type;
|
||||
const header = q !== lastQ ? `<div class="chkgroup">${esc(q)}</div>` : ""; lastQ = q;
|
||||
const summary = `<summary>${onOff(`${list}.${i}.checks.${j}`, chk, "this check")} <b class="${chk.disabled ? "muted" : ""}">${what}</b>${hint(sentence)}</summary>`;
|
||||
|
||||
Reference in New Issue
Block a user