Christian Wieninger wrote:
I tried it with the new service interface. The thread calls a service of the plugin passing the message.
This doesn't switch the threads, so your service will be called from inside your thread too. Calling one's own service interface has no advantage over just calling any function directly.
Is there any other way to display a message from a thread?
There is still the hard way to catch the display: Use cRemote::CallPlugin() to call your own MainMenuAction and display the message from there. Disadvantages: - Current OSD and menus will be closed in any case. - Possible race conditions inside CallPlugin may cancel your MainMenuAction call, this may be compensated by some timeout handling.
Cheers,
Udo