Seitenhierarchie

  Wiki Navigation

    Loading...


 Recently Updated


 Download 

 MediaPortal 1
            Releasenews | Download
 MediaPortal 2
            Releasenews | Download



Overview

Managing Extensions from within the MediaPortal GUI.

Goal

The goal is to allow the user the MediaPortal GUI to perform the following from within the MediaPortal GUI:

  • browse the online repository
  • download/install an extension
  • update an extension
  • remove an extension

Without the need to use mouse and keyboard.

Problems in current design

UAC

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.

Restart MediaPortal

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

Solving the Problems

Extension Windows Service

Install/Update/Uninstall extensions

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.

Restart MediaPortal

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.

Security

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.

MP Extension GUI Plugin

Design

The extensions plugin could share the design of MPEM.

Features:

  • unattended installation flag:
     For extensions that do not have any config/settings options inside, and can be done without any user interaction, info should be displayed. This is very helpful for HTPC's that don't have a mouse/keyboard available most of the time.
  • in GUI configuration:
    Some, but not all, extensions can be configured inside the MP GUI.  Skins may also have configuration pages.
    Thus the MPEM should have an option to indicate if the installation of a extension requires mouse input. That has to be shown inside the Extensions plugin so that the user is aware of that before he starts the installation.

Distribution

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.

   

 

This page has no comments.