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 2006-02-01, 12:02   #11 (permalink)
Portal Member
 
Join Date: Feb 2006
Location: Hamburg, Germany
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by AndreWeber
Hello,
- thats a nice Idea to make a function for automating MP -

* SendMessage - is poor performance (I think)
* COM - and .NET are terrible stuff (I think)
* Sockets - with a well defined protocol - something soap like? would be nice and give us the chance to remote control MP also via network... this gives a lot new possibilities ... for doing something ... f.e. WLAN PDA*g*

André
Haven't you been the guy who teached me COM to its limits to get YARD integrated in EventGhost?

Well, I also like sockets the most as it's the most flexible approach.
Bitmonster is offline   Reply With Quote
Old 2006-02-01, 12:06   #12 (permalink)
Retired Team Member
 
mPod's Avatar
 
Join Date: Jan 2005
Location: Berlin
Age: 34
Posts: 2,086
Thanks: 0
Thanked 3 Times in 3 Posts

Country:

My System

Default

Quote:
Originally Posted by Bitmonster
always prefer a "bridge" like EventGhost, Girder or HIP, because this way a remote device developer has to do its work only one time and not for every program again and the other way round also.
Well, those are 2 different approaches, I guess. We want out of the box support, so you install the driver and start MediaPortal. You can then lean back on your coach and start right away.

If we'd do it your way, we'd do it the Girder way (no matter how we communicate with MP in that case). And this needs intense customization by the user. Not that handy for an HTPC application that should run right out of the box.

That's why we tied the mapper so close to the core. But anyway, I made it pretty simple, so only a little "bridge" DLL would be needed (that's being loaded on demand on MP start, with a defined interface). So no big deal for a developer, no matter if you're familar with MediaPortal or not.

I don't wanna bring your idea down, the basics are great. But I'm not sure if that is the correct approach for such an HTPC application. Of course, this is my personal opinion. Others (Bastler?) might think different, and would like to see such an extension. That's why it's Open Source. :wink:
__________________


Bad news from the stars...

We cannot give any support without a properly filled support template
and a full mediaportal.log pasted here.


Before you ask...
mPod is offline   Reply With Quote
Old 2006-02-01, 12:46   #13 (permalink)
Portal Member
 
Join Date: Feb 2006
Location: Hamburg, Germany
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by mPod
I don't wanna bring your idea down, the basics are great. But I'm not sure if that is the correct approach for such an HTPC application.
As you can guess, I'm (and others) are completely certain, that this is the right approach, as not everybody want's to control MP solely. And EG can also be configured and distributed to run "out of the box" with a single application if you want it to. Anyhow, these are philosphical discussions and I'm not here to disunit the users. Anybody might take the approach he finds the best.

So the question arrises, how do we start?
Bitmonster is offline   Reply With Quote
Old 2006-02-01, 12:53   #14 (permalink)
Portal Member
 
Join Date: Jan 2006
Location: Germany
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Hi again,

Quote:
That's why we tied the mapper so close to the core. But anyway, I made it pretty simple, so only a little "bridge" DLL would be needed (that's being loaded on demand on MP start, with a defined interface). So no big deal for a developer, no matter if you're familar with MediaPortal or not.
I think we (I'am and bitmonster) should start to look a these bridge DLL - could you give us a sample? - Which exports are needed? - so we may use these bridge to realize our idea's without changing the behaviour of MP - so the user can decide to use it or not...

André
__________________
my Ir-Transceiver Project
http://eldo.gotdns.com/yard/
be warned the server has opening times:-)
Mon-Fri: 14:45 - 02:00
Sat, Sun: 07:00 - 02:00
AndreWeber is offline   Reply With Quote
Old 2006-02-01, 13:05   #15 (permalink)
Retired Team Member
 
mPod's Avatar
 
Join Date: Jan 2005
Location: Berlin
Age: 34
Posts: 2,086
Thanks: 0
Thanked 3 Times in 3 Posts

Country:

My System

Default

See the following, this is a real ProcessPlugin for a remote-like device, that uses the mapper. Those ProcessPlugins can be distributed and do not have to be deployed with an .msi or similar.

mediaportal\ProcessPlugins\MameDevice\MameDevice.c s (MP's CVS repository)

If you need some basics on how to write a plugin for MP, see this tutorial (example shows creation of a WindowPlugin, but it's very similar, you get an idea immediately).

http://www.team-mediaportal.com/arti..._a_plugin.html
__________________


Bad news from the stars...

We cannot give any support without a properly filled support template
and a full mediaportal.log pasted here.


Before you ask...
mPod is offline   Reply With Quote
Old 2006-02-01, 13:28   #16 (permalink)
Portal Member
 
Join Date: Jan 2006
Location: Germany
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by mPod
If you need some basics on how to write a plugin for MP, see this tutorial (example shows creation of a WindowPlugin, but it's very similar, you get an idea immediately).
http://www.team-mediaportal.com/arti..._a_plugin.html
Ok. I think now I know what to do - I will try to use Borland C# Builder and hope it will work with MediaPortal. (I will also try to use my personal favorite Delphi 2006.net -)
If this plugin works I see also the chance to make Bitmonsters idea working - I will write another plugin which listens on a socket - where EventGhost can feed in commands which will be redirected to MP?

On the howto page I saw there are also plugins for LCD's - this looks like the next step - because Y.A.R.D. also supports LCD (HD44700) at the next development stepping.

André
__________________
my Ir-Transceiver Project
http://eldo.gotdns.com/yard/
be warned the server has opening times:-)
Mon-Fri: 14:45 - 02:00
Sat, Sun: 07:00 - 02:00
AndreWeber is offline   Reply With Quote
Old 2006-02-01, 13:50   #17 (permalink)
Retired Team Member
 
mPod's Avatar
 
Join Date: Jan 2005
Location: Berlin
Age: 34
Posts: 2,086
Thanks: 0
Thanked 3 Times in 3 Posts

Country:

My System

Default

Quote:
Originally Posted by AndreWeber
Ok. I think now I know what to do - I will try to use Borland C# Builder and hope it will work with MediaPortal. (I will also try to use my personal favorite Delphi 2006.net -)
Here is a forum thread on building with Borland C# Builder, might be interesting for you then: http://nolanparty.com/mediaportal.so...opic.php?t=492

Quote:
Originally Posted by AndreWeber
If this plugin works I see also the chance to make Bitmonsters idea working - I will write another plugin which listens on a socket - where EventGhost can feed in commands which will be redirected to MP?
Sounds good to me and should be made easily possible, I think.

Quote:
Originally Posted by AndreWeber
On the howto page I saw there are also plugins for LCD's - this looks like the next step - because Y.A.R.D. also supports LCD (HD44700) at the next development stepping.
This sounds even more great, I guess our LCD developer JoeDalton would love to work with you on that.
__________________


Bad news from the stars...

We cannot give any support without a properly filled support template
and a full mediaportal.log pasted here.


Before you ask...
mPod is offline   Reply With Quote
Old 2006-02-01, 14:52   #18 (permalink)
Portal Member
 
Join Date: Jan 2006
Location: Germany
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Hi,
the pictures are available again: and my website... so you may have a look at what we are talking about -

and here is an early image of the LCD Development: (this will take a while to open - which is still not ready for use




André
__________________
my Ir-Transceiver Project
http://eldo.gotdns.com/yard/
be warned the server has opening times:-)
Mon-Fri: 14:45 - 02:00
Sat, Sun: 07:00 - 02:00
AndreWeber is offline   Reply With Quote
Old 2007-05-13, 08:11   #19 (permalink)
Portal Member
 
Join Date: Dec 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts


Default

How's the eventghost plugin for media portal coming along?
P_stAR is offline   Reply With Quote
Reply

Bookmarks

Tags
hardware, integration, receiver, transmitter

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Guide to hardware selection knutinh Hardware Selection Help 24 2007-03-02 23:45
integration with surround receiver knutinh Improvement Suggestions 13 2006-12-28 15:42
Will the MS MCE keyboard work with the iMon IR receiver snewman General Support 3 2006-05-26 19:25
What is the "safe" hardware to buy ?? pshdo HTPC Projects 11 2005-08-22 01:46
Hardware Link on Main Website Anonymous Website/Forum/Wiki Feedback 0 2004-08-25 20:22


All times are GMT +1. The time now is 08:31.


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
Advertisement System V2.6 By   Branden