home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
How to find out if the skin engine is ready?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Lightning303" data-source="post: 1116582" data-attributes="member: 97876"><p>Hey,</p><p>i have the following problem.</p><p></p><p>In our plugin AtmoLight, during MP startup, AtmoLight tries to connect to other services like AtmoWin or a RaspberryPi, if this connection fails, AtmoLight displays a GUIDialogOK to tell the user that connecting failed.</p><p>If this dialog gets called before MP is ready to display it (still on splashscreen), MP just freezes. So you can see the splashscreen that is saying "Starting plugins" and thats it.</p><p></p><p>So i want to know how i can check if the MP gui is actually ready to display a dialog, so this wont happen.</p><p></p><p>I already tried:</p><p></p><p>[code]GUIWindowManager.Initalized[/code]</p><p>Doesnt work, as it return true even if the splashscreen is still on.</p><p></p><p>[code]GUIGraphicsContext.CurrentState[/code]</p><p>Also doesnt work, as it returns RUNNING even if the splashscreen is still on.</p><p></p><p>Also tried some others but had no luck with any of them.</p><p></p><p>Thanks!</p></blockquote><p></p>
[QUOTE="Lightning303, post: 1116582, member: 97876"] Hey, i have the following problem. In our plugin AtmoLight, during MP startup, AtmoLight tries to connect to other services like AtmoWin or a RaspberryPi, if this connection fails, AtmoLight displays a GUIDialogOK to tell the user that connecting failed. If this dialog gets called before MP is ready to display it (still on splashscreen), MP just freezes. So you can see the splashscreen that is saying "Starting plugins" and thats it. So i want to know how i can check if the MP gui is actually ready to display a dialog, so this wont happen. I already tried: [code]GUIWindowManager.Initalized[/code] Doesnt work, as it return true even if the splashscreen is still on. [code]GUIGraphicsContext.CurrentState[/code] Also doesnt work, as it returns RUNNING even if the splashscreen is still on. Also tried some others but had no luck with any of them. Thanks! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
How to find out if the skin engine is ready?
Contact us
RSS
Top
Bottom