Skip to content

Refresh binding collection after MIDI device reconnection #154

Open
@CrossRec

Description

@CrossRec

Hello,
I'm freshly using your cool plugin on my obs. I made a unique Binding collection on a specific MIDI DEVICE (i have 4 MIDI devices in the list but only use one of them for my project)
The device i use is sometimes disconnected because it's an arduino ESP32 Nano (with usb MIDI library) that needs to be disconnected when i load my program in it.

First issue i ve seen :
as i finish loading my program, the device reconnect and it s in MIDI devices list of the plugin obs-midi, BUT when i enter in my binding collection, every binding is now assigned to another device of the MIDI devices list.
I ve exported my collection so to repair this issue i only need to import my collection and it s ok. This problem appaers even if the plugin window is not opened when disconnection time. Not a critical issue but this will be good to keep the device assignment even if the device is not connected. It could be possible to give a message to the user, something like : 'No "MIDI device name" device connected'.

Second issue :
When my midi device disconnect there s another issue, after importing my collection file i also need to select every binding item of my collection (i do it by selecting the first of the list and pushing key down of my keyboard until end of the list). If i don't do it, my MIDI CC inputs are not consumed by the obs-midi plugin. It's something like there's no item in the binding collection until i pass on it.

Hope this will help.
Thanks for the plugin, you made a good job !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions