Hi there!
I'm trying to make external grabber for MovPics and stucked with loading it.
Only IPlugin interface is implemented in it. ISetupFormis not needed in this case I think.
Generally to make plugin available I need to open MP configuration - > PLugins and click Save button.
I did this many times without success. My first thought was bad assembly but it is not listed in IncompatiblePLugins.xml and log tells nothing. Compatibility info is set to this
After that i began to read mp code to understand what's going wrong and found some issues:
https://github.com/MediaPortal/Medi...tal/Configuration/Sections/PluginsNew.cs#L551
SaveSettings() void is loading plugins from listViewPlugins.Items. This list is filling by PopulateListItems() from loadedPlugins list. And IPlugins without ISetupForm is in NonSetupWindows not loadedPlugins.
So my plugin is not adding in Mediaportal.xml and no chance to Start() it during MP loading.
Can someone give me advices.
I'm trying to make external grabber for MovPics and stucked with loading it.
Only IPlugin interface is implemented in it. ISetupFormis not needed in this case I think.
Generally to make plugin available I need to open MP configuration - > PLugins and click Save button.
I did this many times without success. My first thought was bad assembly but it is not listed in IncompatiblePLugins.xml and log tells nothing. Compatibility info is set to this
Code:
[assembly: CompatibleVersion("1.2.100.0", "1.1.6.27644")]
[assembly: UsesSubsystem("MP")]
https://github.com/MediaPortal/Medi...tal/Configuration/Sections/PluginsNew.cs#L551
SaveSettings() void is loading plugins from listViewPlugins.Items. This list is filling by PopulateListItems() from loadedPlugins list. And IPlugins without ISetupForm is in NonSetupWindows not loadedPlugins.
So my plugin is not adding in Mediaportal.xml and no chance to Start() it during MP loading.
Can someone give me advices.
Last edited: