Uwe Hanke schrieb:
for example, in your background-thread:
// AutoOsd if (ShowMessage && !Skins.IsOpen() && !cOsd::IsOpen()) { ShowMessage = false; cRemote::CallPlugin("myShowMessage"); }
BR, Uwe
Thanx it works fine:
int timeout = 1000; //10sec while ((Skins.IsOpen() || cOsd::IsOpen()) && timeout) { usleep(10000); timeout--; } if (!Skins.IsOpen() && !cOsd::IsOpen()) { cRemote::CallPlugin("myMessage"); result = true; }else{ result = false; }
Now I can use the full osd!