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!)
Howto get a instance of a running service-plugin?!
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="kuehnch" data-source="post: 181609" data-attributes="member: 21360"><p>During the development of plugin for the tvserver, i noticed, that the plugin becomes loaded twice --> one time by tvservice and one time by setuptv.</p><p>That is a problematic behaviour, if you want to show up some status-stuff, because there is no reference to the plugin-instance, that was created at the tvservice-startup.</p><p>A second problem (beside the status-part) is the immediate usage of a configuration, that was built up by using setuptv. Currently, the one and only solution to fix this is, to restart the service completely, so that it reloads all plugins and its configurations.</p><p></p><p>Solutions?!:</p><p>1.) SetupTV should not load all the plugins again from the DLLs to showup the configuration-dialog. It should receive the instance of the plugin, that was loaded by the tvservice before. </p><p>2.) There should be the possibility, to get the plugin-instances from a running tvservice.</p></blockquote><p></p>
[QUOTE="kuehnch, post: 181609, member: 21360"] During the development of plugin for the tvserver, i noticed, that the plugin becomes loaded twice --> one time by tvservice and one time by setuptv. That is a problematic behaviour, if you want to show up some status-stuff, because there is no reference to the plugin-instance, that was created at the tvservice-startup. A second problem (beside the status-part) is the immediate usage of a configuration, that was built up by using setuptv. Currently, the one and only solution to fix this is, to restart the service completely, so that it reloads all plugins and its configurations. Solutions?!: 1.) SetupTV should not load all the plugins again from the DLLs to showup the configuration-dialog. It should receive the instance of the plugin, that was loaded by the tvservice before. 2.) There should be the possibility, to get the plugin-instances from a running tvservice. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Howto get a instance of a running service-plugin?!
Contact us
RSS
Top
Bottom