Managing Extensions from within the MediaPortal GUI.
The goal is to allow the user the MediaPortal GUI to perform the following from within the MediaPortal GUI:
Without the need to use mouse and keyboard.
If MediaPortal is installed in the default directory (C:\Program Files (x86)\Team MediaPortal\MediaPortal), then every time you try to install or update a plugin, windows will open a UAC (User Account Control) dialog.
The user is then required to use mouse and keyboard to proceed. This is very bad usability.
Once a extension is installed, MediaPortal has no inbuilt solution to restart itself (only MediaPortal.exe, not the PC) and make the extension available to the user.
The solutions that are available reveal the windows desktop which is again, bad usability
The idea is to have an windows service, which will manage the actual file moving. Since that service already has the required permissions, no UAC dialog will be shown to the end-user when he installs, updates or uninstalls an extension.
The installation, update or uninstallation of an extension requires a restart of MediaPortal, and/or the TV-Service.
When this is triggered from inside MediaPortal, then the Extension Service will create the impression that the user never left MediaPortal by providing a full screen GUI that uses the background image of your current skin. Similar to how the full screen splash screen works.
Howver, the Extensions Windows Services GUI needs ways to interact in case something goes wrong.
This is a very important point!
We must only allow the Extension Service to accept extensions coming from trusted processes (MediaPortal.exe / MPEM.exe).
We must also consider making our Repository on the homepage the only way to distribute extensions. Currently it is possible to host the mpe packages externally.
The first entry into the repository also has to be checked manually before it is made public.
This needs more discussion.
The extensions plugin could share the design of MPEM.
The "MP Extension GUI plugin" should be distributed as an Extension, in order to allow updates outside the main applications release cycle.
When doing a clean installation (or update) of an MediaPortal installation, the DeployTool will download and install the latest version of the Extension.