Skip to content

Support Regex Matching for OSC messages #359

@tobi08151405

Description

@tobi08151405

I like to use LSP for theater productions, where I often need to trigger both light and audio at the same time.
Since the message from my light controller looks something like this:

  • path: /eos/out/event/cue/3/1/fire
  • arguments:
    • string: "NAME OF THIS CUE"
      Currently I use the "Capture" Feature to get the right message, but since my light controller is sending a lot of different messages (i.e. time updates, fading updates, ...), it is sometime difficult to get the right message.
      Which is not too bad, if you have to do it once, but since the name of the cue is an argument and might change, I often need to redo this process.

Describe the solution you'd like
I would be great, if I you could specify "ignore arguments" where only the osc path is matched, or that for string arguments you can specify a regex expression for matching the argument.
Furthermore would it be great the have regex path matching as well

Describe alternatives you've considered
I've already looked in the code and found, that currently the OSC matching is done on a string representation of the whole request inside the controller "perform_cue_action" function. It therefore would probably be necessary to restructure this whole process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement/requestSuggestion for new features or improvements

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions