| |||||||
| Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Developer Join Date: Apr 2004 Location: The Netherlands Age: 37
Posts: 1,516
Thanks: 3
Thanked 119 Times in 44 Posts
Country: | Hi, On request i created a (simple) interface for non-gui plugins its located in guilib/iplugin.cs and has the following interface Code: namespace MediaPortal.GUI.Library
{
public interface IPlugin
{
void Start();
void Stop();
}
}
When Mediaportal is stopping the Stop() method will be called Furthermore the plugin can/may implement the ISetupForm interface to appear in the setup so users can enable/disable the plugin Frodo |
| | |
| | #2 (permalink) |
| Portal Member | Frodo, As far as I can tell, Media Portal is not looking in the plugins/process folder for plugins that have the ISetupForm interface, only the IPlugin interface. What this means is that if you install a plugin that has the ISetupForm interface in the plugin/process folder, it will not show up in the list of plugins to configure. The current work around for this in 0.0.0.9 is to install the plugin to both the plugins/process and the plugins/windows folder. The actual plugin is run from the plugin/process folder, but to get it to show up in the configuration window (and get to the plugins setup screens) you have to have a copy in the plugins/windows folder too. I have tested this to be the case with 0.0.0.9 and my WinLIRC Plugin (BETA TESTING). |
| | |
| | #4 (permalink) |
| Portal Member Join Date: Dec 2004 Location: Germany
Posts: 139
Thanks: 0
Thanked 0 Times in 0 Posts
| Will this also work when I put it into the folder plugins/windows? I need a combined process/windows plugin. It seems that I have to put the non-gui plugin into the process folder and the gui plugin into the windows folder. The thing is that I actually want to use only one assembly.
__________________ HTPC: P3-S 1133@1133@1,1V passiv ASUS TUSL2-M Skystar 2 Creative Soundblaster nVidia FX5200 120G Samsung SV1204 Toshiba SD-M1712 (Silent Firmware) -------------------------------------------- PVR Scheduler with MediaPortal Plugin http://www.pvr-scheduler.de |
| | |
![]() |
| Bookmarks |
| Tags |
| interface, nongui, plugins |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mediaportal crash after tv setup in settings/setup wizard | zimmerkid | Codecs, External Players | 1 | 2007-01-18 06:17 |
| cannot get tv picture at all! | dreamer06 | General Support | 3 | 2006-04-14 03:31 |
| Plugins: NOT User-friendly! MyHTPC allover again:-( | msj33 | Website/Forum/Wiki Feedback | 14 | 2006-04-11 13:08 |
| Gathering topical infos about plugins (To: authors & use | tomtom21000 | Plugins | 2 | 2006-02-05 00:20 |