def send_configure(self, key, value): if self.with_osc: liblo.send(self.target, self.configure_path, key, value) else: print("Running standalone UI without OSC. " "Would've sent configure message: key: \"" "{}\" value: \"{}\"".format(key, value))
def send_configure(self, key, value): if not IPC_ENABLED and key != "exit": print("IPC_ENABLED == False, " "Would've sent configure message: key: \"" "{}\" value: \"{}\"".format(key, value)) return if pydaw_util.IS_ENGINE_LIB: pydaw_util.engine_lib_configure(self.configure_path, key, value) elif self.with_osc: liblo.send(OSC, self.configure_path, key, value) else: print("Running standalone UI without OSC. " "Would've sent configure message: key: \"" "{}\" value: \"{}\"".format(key, value))