MIDI only saves the first output mappings with a given config key

Bug #669775 reported by William Good
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Low
William Good
1.8
Fix Released
Low
William Good

Bug Description

I'm working with a controller with 5 leds that make up a VU meter (three greens, a yellow and a red). The following XML gives me a nice VU meter from mixxx:

      <output>
        <group>[Channel1]</group>
        <key>VuMeter</key>
        <status>0x90</status>
        <midino>0x29</midino>
        <on>0x7f</on>
        <minimum>0.2</minimum>
      </output>
      <output>
        <group>[Channel1]</group>
        <key>VuMeter</key>
        <status>0x90</status>
        <midino>0x2a</midino>
        <on>0x7f</on>
        <minimum>0.4</minimum>
      </output>
      <output>
        <group>[Channel1]</group>
        <key>VuMeter</key>
        <status>0x90</status>
        <midino>0x2b</midino>
        <on>0x7f</on>
        <minimum>0.6</minimum>
      </output>
      <output>
        <group>[Channel1]</group>
        <key>VuMeter</key>
        <status>0x90</status>
        <midino>0x2c</midino>
        <on>0x7f</on>
        <minimum>0.8</minimum>
      </output>
      <output>
        <group>[Channel1]</group>
        <key>VuMeter</key>
        <status>0x90</status>
        <midino>0x2d</midino>
        <on>0x7f</on>
        <minimum>1.0</minimum>
      </output>

However, after I select the preset containing that XML and quit mixxx, the midi file for the device in ~/.mixxx/midi only contains:

            <output>
                <group>[Channel1]</group>
                <key>VuMeter</key>
                <options>
                    <normal/>
                </options>
                <minimum>0.2</minimum>
                <maximum>1</maximum>
                <status>0x90</status>
                <midino>0x2d</midino>
                <on>0x7f</on>
                <off>0x0</off>
            </output>

so only the 0x902d7f message gets sent, and I only get one VU LED. Since the VU LEDs work fine after I first import the preset, I assume this bug lies in the routines used to save the mapping settings. All my other output mappings are fine, although the VU meter mappings are the only ones to have multiple <output>'s sharing the same group and key.

William Good (bkgood)
Changed in mixxx:
assignee: nobody → Bill Good (bkgood)
Revision history for this message
William Good (bkgood) wrote :

Fixed in 1.8 r2666

Changed in mixxx:
status: Confirmed → Fix Committed
Revision history for this message
William Good (bkgood) wrote :

Fixed in trunk r2547

RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/5628

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.