obs-midi
obs-midi copied to clipboard
MIDI map does not save on Windows 10
Platform
Operating system and version: Windows 10 Version 10.0.19044 Build 19044
OBS Studio version: 27.2.4
Expected Behavior
When I create a MIDI map through the Tools > Config > OBS Midi Settings
, it should load this MIDI map the next time I launch OBS
Current Behavior
When I close and relaunch OBS, the MIDI map is blank.
I also don't have any files in my obs-studio\plugin_config\obs-midi
folder. It is completely empty.
Steps to Reproduce
- Launch OBS
- Navigate to
Tools > Config > OBS Midi Settings
- Map a few controls to my MIDI controller
- Test that the controls work correctly
- Close the config window
- Close OBS
- Relaunch OBS
- None of the mapped controls work anymore, and when I open the
Tools > Config > OBS Midi Settings
menu, the list of mapped controls is empty.
Additional information
I am using a LIVID OhmRGB 64 MIDI controller. It works fine, and the MIDI map does work correctly, as long as I don't close OBS after I create it. It seems like the config files just aren't saving. Log file: 2022-03-19 18-43-47.txt
You almost certainly have a scene collection name, or scene name or source name that is too long, or has unusual characters. There is a bug in obs-midi that causes the bindings to be corrupted.
Thanks, that sounds frustrating to troubleshoot.
I ended up using OSC-for-OBS instead of obs-midi. I use a custom program written in Pure Data to interface with it. https://github.com/jshea2/OSC-for-OBS
For reference though, my longest source name is about 30 characters. And the only characters I use in my source / scene names are alpha numeric, space, and "-"
Yeah that 30 character name would do it. Even the dash could be a problem. I had repeated issues on a recent show and just made everything incredibly short just to be safe, so I haven't worked out what the threshold is.
EDIT: oh wow, OSC for OBS sounds great. And I was integrating with Qlab so sounds like a much better solution.
I am seeing this intermittently on Linux as well.
This has happened to me time and time again.. its beyond frustrating.. I most certainly use - in my collection names
OBS recently updated to QT6 and so I will be doing another rewrite of things soon. My apologies for things taking so long, I currently am the only one working on obs-midi, and I just don't have the time or money to focus on it full time like I have in the past. If anyone wants to help out I would gladly appreciate contributors 😸
@cpyarger I will try to take a look in the near future to see if I can isolate where the issue is occurring. I think I would like to see at the same time if there could be a simple path to add an "export" button as well. I will likely be early September before I have time though. Thanks again for all of you contributions here!