Here is a description of the skin files used by the MyPrograms plugin including the controls and properties exposed.
NOTE: This page applies to MyPrograms 1.0.1, which contains a few changes from 1.0.0 to be consistent with MediaPortal's 1.2 release.
There are two files required for the MyPrograms plugin:
Skin file (xml) |
Description |
Window ID |
|---|---|---|
myprograms.xml |
Main view |
3 |
DialogFileInfo.xml |
Details view - In this screen you can see the file-details that were imported into the myPrograms database. |
1206 |
Like all plugins, a hover image is needed for MyHome screen purposes. The file name is hover_my programs.png and it is located on the Media subfolder of your skin.
ID |
Control Type |
Description |
|---|---|---|
2 |
Button |
Switch Layout button - Label Id is 100. |
4 |
Button |
Refresh Button - Label ID is 184. |
5 |
Button |
Switch View Button - Label ID is 457. |
6 |
Image |
Thumb of selected item |
50 |
Facade |
List, Icons (small and big), FilmStrip, and CoverFlow are supported. |
All of the controls in this window are static, meaning there are no properties exposed, rather the controls themselves contain the data to display. In a future version these will be exposed as properties to give skin designers more flexibility.
ID |
Control Type |
Description |
|---|---|---|
20 |
Label |
Title |
31 |
Label |
System |
32 |
Label |
Manufacturer |
33 |
Label |
Rating |
34 |
Label |
Genre |
21 |
FadeLabel |
System |
22 |
FadeLabel |
Manufacturer |
23 |
FadeLabel |
Rating |
24 |
FadeLabel |
Genre |
4 |
TextBox |
Overview |
3 |
Image |
Small thumb |
10 |
Image |
Big thumb |
7 |
Button |
Previous item - Label ID is 210. |
8 |
Button |
Launch item - Label ID is 13002. |
9 |
Button |
Next item - Label ID is 209. |
11 |
Button |
Toggle Overview / Screenshot - Label ID is 13006. |
12 |
Button |
Refresh button (unused) - Label ID is 184. |
The only property exposed by the MyPrograms plugin is the standard #currentmodule property, which is the name of the plugin and can be configured by the user.
These changes pertain to myprograms.xml only. DialogFileInfo.xml remains unchanged.