nrkno / sofie-emberplus-connection

Ember+ Connection: A Part of the Sofie TV Studio Automation System
https://github.com/nrkno/Sofie-TV-automation/
MIT License
20 stars 15 forks source link

fix getElementByPath() for parameters #38

Closed lukirs95 closed 1 month ago

lukirs95 commented 1 month ago

About the Contributor

Example: "This pull request is posted on behalf of NEP Germany."

Type of Contribution

This is a: Bug fix

Current Behavior

In current releases of Lawo MC square devices you need to explicitly send a "Get Directory" request down to the parameter in order to get updates from the device. This is not the case. The "getElementByPath()" request currently only requests until the parent of the specified node.

New Behavior

"getElementByPath()" now explicitly requests the whole specified path. This fixes the problem, that sometimes no update is received from specific parameters

Status