| |||||||
| Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest
Posts: n/a
| 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 |
|
| | #3 (permalink) |
| Portal Member Join Date: Mar 2008 Location: Stuttgart Age: 34
Posts: 35
Thanks: 1
Thanked 3 Times in 3 Posts
Country: | 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. |
| | |
| | #4 (permalink) |
| Portal Member Join Date: Oct 2006 Age: 24
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
| 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 |
| | |
| | #5 (permalink) |
| Portal Member Join Date: Mar 2008 Location: Stuttgart Age: 34
Posts: 35
Thanks: 1
Thanked 3 Times in 3 Posts
Country: | 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 |
| | |
![]() |
| Bookmarks |
| Tags |
| display, external |
| Thread Tools | |
| Display Modes | |
|
|
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 |