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
Support
Skins and Plugins Installer (MPEI)
Extensions: A GUI Plugin for MediaPortal's MPEI Installer
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="dukus" data-source="post: 641464" data-attributes="member: 18021"><p><strong>Re: Extensions Plugin for MpeInstaller (Updated on 26-07-2010)</strong></p><p></p><p>Another update: possibility to configure plugins </p><p>To use this feature, in extension package should be included a xml file with "extension_settings.xml" name, which contain description of used setting by a plugin. This file no need to be installed anywhere, just included in package, this can be done making a separated group for this file and uncheck the "Default Selected"</p><p>A example file used by radiotime plugin:</p><p>[CODE]</p><p><extension_settings></p><p> <settings section="Configuration"></p><p> <setting name="user" entryname="radiotime" displayname="User Name" defaultvalue="" type="string" listvalues="" displaylistvalues=""/> </p><p> <setting name="password" entryname="radiotime" displayname="Password" defaultvalue="" type="string" listvalues="" displaylistvalues=""/> </p><p> <setting name="pluginname" entryname="radiotime" displayname="Plugin Name" defaultvalue="RadioTime" type="string" listvalues="" displaylistvalues=""/> </p><p> <setting name="StartWithFastPreset" entryname="radiotime" displayname="Show fast preset on startup" defaultvalue="no" type="string" listvalues="yes|no" displaylistvalues="Yes|No"/> </p><p> </settings></p><p> <settings section="Plugin"></p><p> <setting entryname="plugins" name="RadioTime" displayname="Plugin Enabled" defaultvalue="yes" type="string" listvalues="yes|no" displaylistvalues="Yes|No"/> </p><p> <setting entryname="home" name="RadioTime" displayname="Listed in Home" defaultvalue="yes" type="string" listvalues="yes|no" displaylistvalues="Yes|No"/> </p><p> <setting entryname="myplugins" name="RadioTime" displayname="Listed in My Plugins" defaultvalue="no" type="string" listvalues="yes|no" displaylistvalues="Yes|No"/> </p><p> </settings></p><p></extension_settings></p><p>[/CODE] </p><p></p><p>Can be defined more section with node name <strong>settings</strong></p><p>Settings are defined by node <strong>setting</strong> with more attributes :</p><ul> <li data-xf-list-type="ul">name - setting name in Mediaportal.xml</li> <li data-xf-list-type="ul">entryname - entry name in Mediaportal.xml</li> <li data-xf-list-type="ul">displayname - the text which is displayed to this setting</li> <li data-xf-list-type="ul">defaultvalue - default value in no value exist in Mediaportal.xml</li> <li data-xf-list-type="ul">type - the setting type, now just string is supported</li> <li data-xf-list-type="ul">listvalues - (optional) values for settings, items are separated by | </li> <li data-xf-list-type="ul">displaylistvalues - should have same item number like listvalues </li> </ul><p></p><p>I want to do same thing for skin to but no idea how to start, if somebody have idea about it just let me know</p><p></p><p>And finally button to show setting screen :</p><p>[CODE]</p><p> <control></p><p> <description>MPEICONFIGURE:71cc3381-de92-482d-9556-7e86f67f8067</description></p><p> <type>button</type></p><p> <id>91</id></p><p> <label>#MPEI.Translation.Settings.Label</label></p><p> <onright>50</onright></p><p> </control></p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="dukus, post: 641464, member: 18021"] [b]Re: Extensions Plugin for MpeInstaller (Updated on 26-07-2010)[/b] Another update: possibility to configure plugins To use this feature, in extension package should be included a xml file with "extension_settings.xml" name, which contain description of used setting by a plugin. This file no need to be installed anywhere, just included in package, this can be done making a separated group for this file and uncheck the "Default Selected" A example file used by radiotime plugin: [CODE] <extension_settings> <settings section="Configuration"> <setting name="user" entryname="radiotime" displayname="User Name" defaultvalue="" type="string" listvalues="" displaylistvalues=""/> <setting name="password" entryname="radiotime" displayname="Password" defaultvalue="" type="string" listvalues="" displaylistvalues=""/> <setting name="pluginname" entryname="radiotime" displayname="Plugin Name" defaultvalue="RadioTime" type="string" listvalues="" displaylistvalues=""/> <setting name="StartWithFastPreset" entryname="radiotime" displayname="Show fast preset on startup" defaultvalue="no" type="string" listvalues="yes|no" displaylistvalues="Yes|No"/> </settings> <settings section="Plugin"> <setting entryname="plugins" name="RadioTime" displayname="Plugin Enabled" defaultvalue="yes" type="string" listvalues="yes|no" displaylistvalues="Yes|No"/> <setting entryname="home" name="RadioTime" displayname="Listed in Home" defaultvalue="yes" type="string" listvalues="yes|no" displaylistvalues="Yes|No"/> <setting entryname="myplugins" name="RadioTime" displayname="Listed in My Plugins" defaultvalue="no" type="string" listvalues="yes|no" displaylistvalues="Yes|No"/> </settings> </extension_settings> [/CODE] Can be defined more section with node name [B]settings[/B] Settings are defined by node [B]setting[/B] with more attributes : [LIST] [*]name - setting name in Mediaportal.xml [*]entryname - entry name in Mediaportal.xml [*]displayname - the text which is displayed to this setting [*]defaultvalue - default value in no value exist in Mediaportal.xml [*]type - the setting type, now just string is supported [*]listvalues - (optional) values for settings, items are separated by | [*]displaylistvalues - should have same item number like listvalues [/LIST] I want to do same thing for skin to but no idea how to start, if somebody have idea about it just let me know And finally button to show setting screen : [CODE] <control> <description>MPEICONFIGURE:71cc3381-de92-482d-9556-7e86f67f8067</description> <type>button</type> <id>91</id> <label>#MPEI.Translation.Settings.Label</label> <onright>50</onright> </control> [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Skins and Plugins Installer (MPEI)
Extensions: A GUI Plugin for MediaPortal's MPEI Installer
Contact us
RSS
Top
Bottom