Add support for globbing in oscmatch...#24
Open
foolswood wants to merge 1 commit into
Open
Conversation
and some unit tests for it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
and some unit tests for it.
I started thinking about how to get the device info from the backend to the GUI(s) and think this might help on that front.
Basically if you could do a request to
/inputs/*/*then you could get the channel info (and which support what) out by the presence of the various endpoints.My initial thought was to have a
/devicepart of the tree. I still think this might be nice to give the name (and maybe number of inputs and outputs so it's easier to allocate memory in C-like languages). But when I started putting all the info about names/flags etc in that subtree it got very duplicate-y and required the client to know how that info related to paths in another bit of the tree, which seemed a bit silly.I am aware that the
oscmix.cdoesn't know how to handle globs for its arrays yet, but if you think this is a reasonable sort of thing to do then I don't think that should be particularly hard to fix.