bitfocus / companion-module-songbeamer-osc

Songbeamer OSC Module
MIT License
5 stars 0 forks source link

Initialize connection status by checking Songbeamer availability #32

Open bensteUEM opened 1 year ago

bensteUEM commented 1 year ago

/xinfo or /info could be use in order to check if a Songbeamer instance is connected. A reconnect could be attempted every 60 seconds?

At present Companion could be launched before Songbeamer is ready and would end up in a state with variables that are not initialized because feedbacks are checked before responses can be created.

bensteUEM commented 1 year ago

https://bitfocusio.slack.com/archives/CFG7HAN5N/p1682970597565609?thread_ts=1682955230.675219&cid=CFG7HAN5N

bensteUEM commented 1 year ago

repeated request of /xremote will timeout in case of connection problems. These connection errors will now log and revert module status to "connecting" while all others will clear hearbeat and log the error message

bensteUEM commented 1 month ago

If companion was started before Songbeamer the present module needs a manual restart. Once connection fails a timed "retry" might be helpful