MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
Thread Tools Display Modes
Old 2005-03-28, 19:32   #1 (permalink)
Anonymous
Guest
 
Posts: n/a


Default External display

Hello! I got a little question.

I know that there is ways to display messages from MP, like Current TV program. Some people have written plugins to lcd-displays.

Is the information accessable through a textfile, xml file, database, or some other way?

If not, Is it possible to get hold of that information from an external win32 program written in Delphi?

Do I need to write a .NET plugin to get the information?

Can anyone bring a little light over this issue?

I want to log the information.

Best regards
Andreas
Sweden
  Reply With Quote
Old 2008-03-31, 15:23   #2 (permalink)
Portal Member
 
Join Date: Oct 2006
Age: 24
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I know, this thread is very old but I have the same problem as Andreas.
I want to know how I can get the informations. I use VB .Net

Cruiser
Cruiser is offline   Reply With Quote
Old 2008-03-31, 19:15   #3 (permalink)
Portal Member
 
BadMojoX's Avatar
 
Join Date: Mar 2008
Location: Stuttgart
Age: 34
Posts: 35
Thanks: 1
Thanked 3 Times in 3 Posts

Country:

My System

Default

Hello,
i've written a plugin for my custom external display. I've done it the same way, like it was made in the part of the MediaPortal:ExternalDisplay. There is part (object) in MediaPortal GUIPropertyManager which will be used as a storage for various informations. If you assign a new event cacher to the event OnPropertyChanged, you will see what kind of information is available if you do different actions in MediaPortal. So, i think it is not a problem to write a plug-in in VB.nET, because all that you need is the right reference to the dll, containing this object and your event catcher assigned to the event. I'am not sure, that this is possible with Delphi. Suggestion: just get the source code and look in the code.
BadMojoX is offline   Reply With Quote
Old 2008-03-31, 20:18   #4 (permalink)
Portal Member
 
Join Date: Oct 2006
Age: 24
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts


Default

thanks for your reply!
Unfortunately, I doesn't understood everything (my english isn't very well).
I don't know which dll I have to use.

Is it possible, that you post the code from your plugin?
It will take a long time when I try to find the right passage in the ExternalDisplay-code.

Thanks for your help!

Cruiser
Cruiser is offline   Reply With Quote
Old 2008-04-01, 13:26   #5 (permalink)
Portal Member
 
BadMojoX's Avatar
 
Join Date: Mar 2008
Location: Stuttgart
Age: 34
Posts: 35
Thanks: 1
Thanked 3 Times in 3 Posts

Country:

My System

Default

Hello,
the dll which you need is Core.dll. The code would be:

using MediaPortal.GUI.Library;
...
GUIPropertyManager.OnPropertyChanged += GUIPropertyManager_OnPropertyChanged;
...
void GUIPropertyManager_OnPropertyChanged(string tag, string tagValue)
{
... // your code
}
Regards
BadMojoX is offline   Reply With Quote
Reply

Bookmarks

Tags
display, external

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
Support Request: Medion Titanium MD8800 - External Display Practitioner Improvement Suggestions 0 2007-01-14 19:19
ZoomPlayer and External Display trosty Codecs, External Players 2 2006-04-13 14:15
After first time entering .apefolder all files is unknown. PHN2 The old Bugreport Forum 1 2006-03-15 16:28
External display plugin bonz007 Plugins 5 2006-03-02 16:08
Getting External Display to clear the display before Suspend Oldskool Plugins 1 2005-09-28 21:31


All times are GMT +1. The time now is 20:11.


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