Code:
from calibre.utils.ipc import RC
...
...
t = RC(print_error=False, socket_address=self.gui_socket_address)
t.start()
t.join(3)
if t.done:
msg = 'refreshdb: '
t.conn.send(msg)
t.conn.close()
My MFI Media File Importer plugin has used RC() for years to properly "notify" the GUI that it should be refreshed so that newly added books will appear in the GUI without having to restart Calibre.
In Calibre 5.7, MFI fails at Calibre startup because RC no longer exists to be imported from calibre.utils.ipc .
Would there be a replacement for RC that can be used to perform the identical function in Calibre 5.7?
Thanks.
DaltonST