ATEM: alarm when ATEM Software Control's MIDI control is turned on
New 'pref' check reads an app setting on NA Ingest (defaults read) every 10 s; ATEM shows ATEM SW MIDI ON if midiEnabled is not 0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -275,6 +275,14 @@ class TestChecks(unittest.TestCase):
|
||||
self.assertIn("solo_afl", CONFIG["auto_fix"]["fixes"])
|
||||
self.assertIn('"bad":true', chk["cmd"])
|
||||
|
||||
def test_atem_software_midi_control_must_stay_off(self):
|
||||
key = ("com.blackmagic-design.ATEM Software Control", "midiEnabled")
|
||||
engine = sp.Engine(CONFIG)
|
||||
self.snap.prefs[key] = "0"
|
||||
self.assertEqual(run_steps(engine, self.snap, self.now, 4)[0]["atem"]["x"], "ATEM\nOK")
|
||||
self.snap.prefs[key] = "1"
|
||||
self.assertEqual(run_steps(engine, self.snap, self.now + 5, 4)[0]["atem"]["x"], "ATEM\nATEM SW MIDI ON")
|
||||
|
||||
def test_propresenter_yellow_warning_is_ignored(self):
|
||||
engine = sp.Engine(CONFIG)
|
||||
self.snap.conns["Propresenter-API"].update(category="warning", message="Socket closed")
|
||||
|
||||
Reference in New Issue
Block a user