Close MediaPortal from plugin (1 Viewer)

AlexPlas

Portal Pro
August 24, 2006
231
41
Kyiv, Ukraine
Home Country
Ukraine Ukraine
I'm developing now plugin for restarting MedaiPortal after resume from standby or hibernate. And now I have problem with MediaPortal closing. As I understad normal way to close MediaPortal is:
Code:
      Action action = new Action(Action.ActionType.ACTION_EXIT, 0, 0);
      GUIGraphicsContext.OnAction(action);
But while MediaPortal restoring after standby this code closing only GUI part of MediaPortal while process still running invisibly.
I belive there shuld be some property to now MediaPortal started completly or not. Can someone tell me where is this property?
 

Users who are viewing this thread


Write your reply...
Top Bottom