Clearing all HTML templates on different layers

Hi!

I’m currently working with CasparCG, and trying to implement a “PANIC”-button, that would clear all layers which are displaying HTML-templates, so only the original video signal would be left.

Currently I would use something like CG 1-15 CLEAR to clear a template on channel 1, layer 15.
If I have templates on layers 15, 16 and 17. How would one clear them all at one go without

  • Making the whole video / channel blank (CLEAR 1 for example)
  • Firing multiple CG CLEAR commands (CG 1-15 CLEAR, CG 1-16 CLEAR, CG 1-17 CLEAR)

The AMCP Protocol lists a CG 1 CLEAR commands, but it doesn’t seem to do anything.

Is there a way to clear all layers of HTML-templates in one command, or does one have to implement a workaround for this? Thanks.