"Location", never "campus", in everything people read; SC FOH joined with its MIDI links
- pages (NA 98 Locations / 99 Location, re-imported via PAGES_VERSION), keys, settings page, setup and install messages, alerts, docs, the Apollo Beach kit; python3 -m settings.location and /location/... addresses (the old names still answer for installed Macs) - Apply reads the before settings from the file: an in-place edit skipped the watchdog restart - SC: SUPERRACK (+SoundGrid) and X32 EDIT from SC FOH; FOH TRACKS and TRACKS LIGHTS MIDI links watched Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+3
-3
@@ -1,7 +1,7 @@
|
||||
# Sites
|
||||
|
||||
One folder per campus. `na/config.json` is North Attleboro (a link to the repo's `config.json`, which install.sh
|
||||
installs by default). `_template/config.json` is the empty campus: the three fixed keys, this Mac's record and
|
||||
One folder per location. `na/config.json` is North Attleboro (a link to the repo's `config.json`, which install.sh
|
||||
installs by default). `_template/config.json` is the empty location: the three fixed keys, this Mac's record and
|
||||
nothing else; `install.sh --site <id>` installs `sites/<id>/config.json` when the folder exists, otherwise the
|
||||
template. The settings page's **Export site bundle** (Site setup > Site) gives you a zip to drop in as `sites/<id>/`;
|
||||
its **New campus from a bundle** starts a campus from another campus's bundle.
|
||||
its **New location from a bundle** starts a location from another location's bundle.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"site": {
|
||||
"id": "new",
|
||||
"name": "New campus",
|
||||
"name": "New location",
|
||||
"ingest_name": "Ingest Mac",
|
||||
"ingest_hostname": "",
|
||||
"ingest_ips": [],
|
||||
|
||||
+139
-1
@@ -64,7 +64,9 @@
|
||||
"prop_port_propresenter_api",
|
||||
"hyperdeck",
|
||||
"midi_reconnect",
|
||||
"ableton_sc_tracks_new"
|
||||
"ableton_sc_tracks_new",
|
||||
"superrack_sc_foh",
|
||||
"x32edit_sc_foh"
|
||||
]
|
||||
},
|
||||
"tiles": [
|
||||
@@ -205,6 +207,24 @@
|
||||
"fix": "midi_reconnect",
|
||||
"tag": "PROP LIGHTS"
|
||||
},
|
||||
{
|
||||
"type": "midi_peer",
|
||||
"session": "SC Tracks NEW",
|
||||
"peer": "SC FOH Mac mini",
|
||||
"address": "10.5.2.96:5004",
|
||||
"fix": "midi_reconnect",
|
||||
"tag": "FOH TRACKS",
|
||||
"host": "sc_tracks_new"
|
||||
},
|
||||
{
|
||||
"type": "midi_peer",
|
||||
"session": "SC Tracks NEW",
|
||||
"peer": "Lighting",
|
||||
"address": "10.5.1.168:5004",
|
||||
"fix": "midi_reconnect",
|
||||
"tag": "TRACKS LIGHTS",
|
||||
"host": "sc_tracks_new"
|
||||
},
|
||||
{
|
||||
"type": "midi_wired",
|
||||
"nets": [
|
||||
@@ -266,6 +286,60 @@
|
||||
"sc_tracks_new"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "superrack",
|
||||
"label": "SUPERRACK",
|
||||
"checks": [
|
||||
{
|
||||
"type": "remote",
|
||||
"template": "mac_program",
|
||||
"params": {
|
||||
"host": "sc_foh",
|
||||
"process": "SuperRack SoundGrid"
|
||||
},
|
||||
"msg": "SUPERRACK NOT RUNNING",
|
||||
"fix": "superrack_sc_foh",
|
||||
"host": "sc_foh",
|
||||
"cmd": "pgrep -xq 'SuperRack SoundGrid'"
|
||||
},
|
||||
{
|
||||
"type": "remote",
|
||||
"template": "soundgrid",
|
||||
"params": {
|
||||
"host": "sc_foh"
|
||||
},
|
||||
"msg": "SOUNDGRID LOST",
|
||||
"host": "sc_foh",
|
||||
"cmd": "lsof -nP -iTCP -sTCP:ESTABLISHED -a -c SuperRack 2>/dev/null | grep -q ':19000 (ESTABLISHED)'"
|
||||
}
|
||||
],
|
||||
"pos": [
|
||||
1,
|
||||
4
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "x32_edit",
|
||||
"label": "X32 EDIT",
|
||||
"checks": [
|
||||
{
|
||||
"type": "remote",
|
||||
"template": "mac_program",
|
||||
"params": {
|
||||
"host": "sc_foh",
|
||||
"process": "X32-Edit"
|
||||
},
|
||||
"msg": "X32 EDIT NOT RUNNING",
|
||||
"fix": "x32edit_sc_foh",
|
||||
"host": "sc_foh",
|
||||
"cmd": "pgrep -xq X32-Edit"
|
||||
}
|
||||
],
|
||||
"pos": [
|
||||
1,
|
||||
5
|
||||
]
|
||||
}
|
||||
],
|
||||
"fixes": {
|
||||
@@ -349,6 +423,50 @@
|
||||
"kind": "ssh",
|
||||
"host": "sc_tracks_new",
|
||||
"run": "L=$(ls -td ~/Library/Preferences/Ableton/Live*/ | head -1); S=$(grep -a 'info: Loading document \"' \"${L}Log.txt\" | grep -v '/Templates/' | tail -1 | sed -E 's/^.*Loading document \"(.*)\"[^\"]*$/\\1/'); pkill -TERM -x Live; i=0; while pgrep -xq Live && [ $i -lt 30 ]; do sleep 0.5; i=$((i+1)); done; pgrep -xq Live && pkill -KILL -x Live; sleep 1; if [ -n \"$S\" ] && [ -f \"$S\" ]; then open -a 'Ableton Live 11 Suite' \"$S\"; else open -a 'Ableton Live 11 Suite'; fi"
|
||||
},
|
||||
"superrack_sc_foh": {
|
||||
"template": "mac_start",
|
||||
"params": {
|
||||
"host": "sc_foh",
|
||||
"process": "SuperRack SoundGrid",
|
||||
"app": "/Applications/Waves/SuperRack SoundGrid/SuperRack SoundGrid.app"
|
||||
},
|
||||
"label": "start SuperRack on SC FOH if it is not running",
|
||||
"short": "SUPERRACK",
|
||||
"kind": "ssh",
|
||||
"host": "sc_foh",
|
||||
"run": "pgrep -xq 'SuperRack SoundGrid' || open '/Applications/Waves/SuperRack SoundGrid/SuperRack SoundGrid.app'"
|
||||
},
|
||||
"restart_superrack_sc_foh": {
|
||||
"template": "mac_restart",
|
||||
"params": {
|
||||
"host": "sc_foh",
|
||||
"process": "SuperRack SoundGrid",
|
||||
"app": "/Applications/Waves/SuperRack SoundGrid/SuperRack SoundGrid.app",
|
||||
"wait_seconds": 10,
|
||||
"force": true,
|
||||
"background": false,
|
||||
"stop_children": false,
|
||||
"newest_of": ""
|
||||
},
|
||||
"label": "restart SuperRack on SC FOH (closes it first)",
|
||||
"short": "SUPERRACK",
|
||||
"kind": "ssh",
|
||||
"host": "sc_foh",
|
||||
"run": "pkill -TERM -x 'SuperRack SoundGrid'; i=0; while pgrep -xq 'SuperRack SoundGrid' && [ $i -lt 20 ]; do sleep 0.5; i=$((i+1)); done; pgrep -xq 'SuperRack SoundGrid' && pkill -KILL -x 'SuperRack SoundGrid'; sleep 1; open '/Applications/Waves/SuperRack SoundGrid/SuperRack SoundGrid.app'"
|
||||
},
|
||||
"x32edit_sc_foh": {
|
||||
"template": "mac_start",
|
||||
"params": {
|
||||
"host": "sc_foh",
|
||||
"process": "X32-Edit",
|
||||
"app": "/Applications/X32-Edit.app"
|
||||
},
|
||||
"label": "start X32-Edit on SC FOH if it is not running",
|
||||
"short": "X32 EDIT",
|
||||
"kind": "ssh",
|
||||
"host": "sc_foh",
|
||||
"run": "pgrep -xq X32-Edit || open /Applications/X32-Edit.app"
|
||||
}
|
||||
},
|
||||
"hosts": {
|
||||
@@ -387,6 +505,17 @@
|
||||
"kind": "sshd"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sc_foh": {
|
||||
"name": "SC FOH",
|
||||
"os": "mac",
|
||||
"ssh": "media@10.5.2.96",
|
||||
"role": "found by auto-setup",
|
||||
"runs": [
|
||||
{
|
||||
"kind": "sshd"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"gear": {},
|
||||
@@ -436,6 +565,15 @@
|
||||
0,
|
||||
2
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "rs_superrack",
|
||||
"label": "SUPERRACK",
|
||||
"fix": "restart_superrack_sc_foh",
|
||||
"pos": [
|
||||
0,
|
||||
3
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user