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
MediaPortal 1 Plugins
Plug-in for Media portal Help!
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="FredP42" data-source="post: 805200" data-attributes="member: 91354"><p><strong>Re : Plug-in for Media portal Help!</strong></p><p></p><p>Hello basimm,</p><p>It is true that the documentation of MediaPortal is light, but I have to admit it has improved a lot!</p><p>The wiki has a lot of information and the <a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/6_Plugins/Plugin_Developer%27s_Guide" target="_blank">Plugin Developer's Guide - MediaPortal Wiki</a> is the good place to start to create a plugin.</p><p>I remember seeing a demo plugin with several controls but I couldn't find the link <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p></p><p>A skin control is very similar to a regular Form control.</p><p>VisualStudio completion helps to discover the methods of the control, it is just annoying not to have the documentation.</p><p></p><p>If you want to populate a list, you can do:</p><p>[CODE]</p><p> // add a listcontrol to the skin with id = 10</p><p> [SkinControlAttribute(10)]</p><p> protected GUIListControl lstDetails = null;</p><p></p><p> private void PopulateList(string[] list)</p><p> {</p><p> foreach (string str in list)</p><p> {</p><p> GUIListItem item = new GUIListItem();</p><p> item.Label = str;</p><p> lstDetails.Add(item);</p><p> }</p><p> }</p><p>[/CODE]</p><p></p><p>For the master-details-sub details forms, I don't know what you want to do exactly but it seems you'll need two controls a list and a text control (?).</p></blockquote><p></p>
[QUOTE="FredP42, post: 805200, member: 91354"] [b]Re : Plug-in for Media portal Help![/b] Hello basimm, It is true that the documentation of MediaPortal is light, but I have to admit it has improved a lot! The wiki has a lot of information and the [url=http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/6_Plugins/Plugin_Developer%27s_Guide]Plugin Developer's Guide - MediaPortal Wiki[/url] is the good place to start to create a plugin. I remember seeing a demo plugin with several controls but I couldn't find the link :( A skin control is very similar to a regular Form control. VisualStudio completion helps to discover the methods of the control, it is just annoying not to have the documentation. If you want to populate a list, you can do: [CODE] // add a listcontrol to the skin with id = 10 [SkinControlAttribute(10)] protected GUIListControl lstDetails = null; private void PopulateList(string[] list) { foreach (string str in list) { GUIListItem item = new GUIListItem(); item.Label = str; lstDetails.Add(item); } } [/CODE] For the master-details-sub details forms, I don't know what you want to do exactly but it seems you'll need two controls a list and a text control (?). [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Plug-in for Media portal Help!
Contact us
RSS
Top
Bottom