MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server » Help on Development » Development


Development You want to code something for the TV-Server? Share it in here!

Reply
 
Thread Tools Display Modes
Old 2007-09-14, 21:44   #1 (permalink)
Portal Member
 
Join Date: Jun 2006
Location: Cologne (Köln)
Age: 27
Posts: 303
Thanks: 3
Thanked 9 Times in 5 Posts

Country:


Send a message via ICQ to kuehnch
Default Howto get a instance of a running service-plugin?!

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.
kuehnch is offline   Reply With Quote
Reply

Bookmarks

Tags
howto, instance, running, serviceplugin

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto: Blasting and using MCE replacement plugin. andyd MCE Replacement Plugin 9 2008-03-25 19:24
tvclient doesn't check if tvservice/sql instance are up and running boobee pre 1.0 RC1 4 2007-05-10 18:13
ALARM plugin as a service? wunschkind Improvement Suggestions 0 2007-01-11 19:37
HowTo or docs for plugin-dev moh Plugins 2 2006-05-14 13:26
MCE Service Start and Stop Plugin jadz Plugins 5 2005-06-27 13:18


All times are GMT +1. The time now is 22:34.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress