Cycling74 / rnbo-runner-panel

Web interface to the RNBO runner
MIT License
9 stars 1 forks source link

Jack aliases incorrect after adding or removing MIDI device #104

Open x37v opened 4 months ago

x37v commented 4 months ago

Here I'm plugging the quneo device into my computer, you see a port added but the name is incorrect, then i refresh the browser, it is now correct. I do the same process with unplugging the device.

https://github.com/Cycling74/rnbo-runner-panel/assets/65796/683d95dc-ab16-4700-9cbe-724b9379d985

fde31 commented 3 months ago

Hm so looking here on my end I can't reproduce this and when I plug in a Korg NanoKontrol it gets registered correctly. The rundown is that at first the newly registered ports are communicated, mounted in the graph and then a PATH_ADDED commands comes through to /^\/rnbo\/jack\/info\/ports\/aliases\/ which ends up replacing the name with the alias.

So without being able to reproduce I wonder where / how things fall apart on your end. Can you set some breakpoints in https://github.com/Cycling74/rnbo-runner-panel/blob/develop/src/controller/oscqueryBridgeController.ts#L282 and see if the path for the aliases get added or maybe it comes in as an UPDATE and we currently have no code path for that? Also is the response on line 284 the expected one?