PepperDash / epi-biamp-tesira

Plugin for controlling Biamp Tesira DSPs from within Essentials.
0 stars 2 forks source link

[BUG]-Digital Preset selection only recalls preset by ID #50

Closed jkdevito closed 2 years ago

jkdevito commented 2 years ago

Describe the bug When using the digital preset selections on a bridge, the preset is only recalled using the preset ID, even when not defined. Found when testing a system with only named presets and the digital selection was sending DEVICE recallPreset 0

To Reproduce Steps to reproduce the behavior:

  1. Create a preset configuration object only using presetName
    "presets": {
      "preset1": {
          "label": "Room A Default",
          "presetIndex": 1,
          "presetName": "ADEFAULT"
      },
      "preset2": {
          "label": "Room B Default",
          "presetIndex": 2,
          "presetName": "BDEFAULT"
      }
    }
  2. Select digital preset selection on the bridge
  3. Watch the plugin transmit the: [dsp-1] TX: 'DEVICE recallPreset 0'

Expected behavior Digital preset selection recalls the preset by name or ID, defaulting to name if defined.

Screenshots image