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
Development
General Development (no feature request here!)
Plugin will not load if ISetupForm is not implemented
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="Edalex" data-source="post: 888298" data-attributes="member: 63839"><p>Hi there!</p><p>I'm trying to make external grabber for MovPics and stucked with loading it.</p><p>Only IPlugin interface is implemented in it. ISetupFormis not needed in this case I think.</p><p>Generally to make plugin available I need to open MP configuration - > PLugins and click Save button.</p><p>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</p><p>[CODE]</p><p>[assembly: CompatibleVersion("1.2.100.0", "1.1.6.27644")]</p><p>[assembly: UsesSubsystem("MP")][/CODE]</p><p>After that i began to read mp code to understand what's going wrong and found some issues:</p><p><a href="https://github.com/MediaPortal/MediaPortal-1/blob/master/mediaportal/Configuration/Sections/PluginsNew.cs#L551" target="_blank">https://github.com/MediaPortal/MediaPortal-1/blob/master/mediaportal/Configuration/Sections/PluginsNew.cs#L551</a></p><p><strong>SaveSettings()</strong> void is loading plugins from <strong>listViewPlugins.Items</strong>. This list is filling by <strong>PopulateListItems()</strong> from <strong>loadedPlugins</strong> list. And IPlugins without ISetupForm is in <strong>NonSetupWindows</strong> not <strong>loadedPlugins</strong>.</p><p>So my plugin is not adding in Mediaportal.xml and no chance to Start() it during MP loading. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p>Can someone give me advices.</p></blockquote><p></p>
[QUOTE="Edalex, post: 888298, member: 63839"] 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 [CODE] [assembly: CompatibleVersion("1.2.100.0", "1.1.6.27644")] [assembly: UsesSubsystem("MP")][/CODE] After that i began to read mp code to understand what's going wrong and found some issues: [url]https://github.com/MediaPortal/MediaPortal-1/blob/master/mediaportal/Configuration/Sections/PluginsNew.cs#L551[/url] [B]SaveSettings()[/B] void is loading plugins from [B]listViewPlugins.Items[/B]. This list is filling by [B]PopulateListItems()[/B] from [B]loadedPlugins[/B] list. And IPlugins without ISetupForm is in [B]NonSetupWindows[/B] not [B]loadedPlugins[/B]. So my plugin is not adding in Mediaportal.xml and no chance to Start() it during MP loading. :( Can someone give me advices. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Plugin will not load if ISetupForm is not implemented
Contact us
RSS
Top
Bottom