nrkno / sofie-mos-connection

Sofie MOS Connection: A Part of the Sofie TV Studio Automation System
https://github.com/nrkno/Sofie-TV-automation/
MIT License
22 stars 14 forks source link

fix: OpenMedia returns an empty object {} as time info #96

Closed olzzon closed 6 months ago

olzzon commented 6 months ago

About the Contributor

This PR is hosted on behalf of BBC

Type of Contribution

This is a: Bug fix

Current Behavior

If the NRCS return an empty object instead of a time info or undefined, connection cannot be made.

New Behavior

If not in strict mode, an empty time object will be set as current time.

Testing Instructions

This but happens when connecting to OpenMedia

Status