MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Get Support » Codecs, External Players


Codecs, External Players Post problems with Codecs or External Players here!

Reply
 
Thread Tools Display Modes
Old 2006-10-20, 16:38   #1 (permalink)
VdR
MP Donator
 
VdR's Avatar
 
Join Date: Oct 2006
Location: Belgium
Posts: 199
Thanks: 4
Thanked 3 Times in 3 Posts

Country:

My System

Question MCE remote, windows messages

I'm using an HP MCE remote (100% MS MCE compatible) with HIP (to map a few buttons to control my amplifier using MCEir) on MP. Works fine, but I can only emulate sending key strokes to MP which does not unlock all possibilities.

Does the standard MCE remote control driver send windows messages to MP to tell it about remote control buttons being pressed? If so does anyone have the list? HIP could send the appropriate message to MP, then the remote buttons would be context dependant and mapping could be done in MP.

I know that all this will no longer be required with the MCE replacement driver plugin (super plugin development!). But until that's available on a stable build, the messages list would be helpfull.

VdR

MediaPortal Version: 0.2.0.0
Windows Version: MCE2005 roll up 2
CPU Type: Intel P4 530 3.0 GHz HT (S775)
HDD: WD 2000JD 200 GB SATA 7200 RPM + WD USB2.0 500 GB
Memory: 1 GB (2 x 512 MB) Hynix DDR400 Dual Channel
Motherboard: ASUS PTGD-LR
Motherboard Chipset: i915G
Motherboard Bios: 3.15
Video Card: ATI Radeon X300SE 128 MB
Video Card Driver:
Sound Card: Realtek Intel High Definition Audio (7.1) 24 bits / 96 kHz
Sound Card AC3: S/Pdif coaxial to Logitech Z5500
Sound Card Driver:
1. TV Card: BlackGold GDI
1. TV Card Type: DVB-T
1. TV Card Driver:
2. TV Card: BlackGold GDI
2. TV Card Type: DVB-T
2. TV Card Driver:
3. TV Card: Hauppauge WinTV PVR PCI II
3. TV Card Type: dual analogue
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: NVIDEA
MPEG2 Audio Codec: NVIDEA
Satelite/CableTV Provider: none
HTPC Case: HP Z522
Cooling: Cooler Master KDH-5067K
Power Supply:
Remote: HP MCE remote
TV: Samsung LE32R41B
TV - HTPC Connection: VEGA
VdR is offline   Reply With Quote
Old 2006-10-20, 17:05   #2 (permalink)
Retired Team Member
 
mzemina's Avatar
 
Join Date: Feb 2005
Location: Ft Smith, AR
Posts: 2,040
Thanks: 34
Thanked 12 Times in 12 Posts

Country:


Default

take a look at this: http://forum.team-mediaportal.com/sh...4687#post84687
__________________
mzemina is offline   Reply With Quote
Old 2006-10-20, 17:13   #3 (permalink)
VdR
MP Donator
 
VdR's Avatar
 
Join Date: Oct 2006
Location: Belgium
Posts: 199
Thanks: 4
Thanked 3 Times in 3 Posts

Country:

My System

Default

I know, I know, I have read that thread up and down a few times. As I said in my last sentence. "will no longer be required with the MCE replacement driver plugin". but until then, (on a stable release), if that list exists ...

VdR
VdR is offline   Reply With Quote
Old 2006-10-21, 01:19   #4 (permalink)
Portal Developer
 
and-81's Avatar
 
Join Date: Mar 2005
Location: Melbourne
Age: 27
Posts: 2,251
Thanks: 30
Thanked 145 Times in 88 Posts

Country:

My System

Default

The native MCE remote support in MediaPortal doesn't listen for messages, only my MCE replacement plugin does. So you'd have to use the plugin anyway.

I tell you what I'll do. I'll take the message receiving part of my plugin and put it into a new one. It shouldn't need an SVN because the SVN issue is related to an Enumeration problem that won't effect this. And it won't require the replacement driver or anything, how does that sound?

I'll post it here in about 24 hours, 48 tops. Unless an MP stable release appears in the meantime

Cheers,
and-81 is offline   Reply With Quote
Old 2006-10-21, 02:14   #5 (permalink)
Portal Developer
 
and-81's Avatar
 
Join Date: Mar 2005
Location: Melbourne
Age: 27
Posts: 2,251
Thanks: 30
Thanked 145 Times in 88 Posts

Country:

My System

Default MessagePlugin Version 1

Hey,

Well, I didn't think I'd get this done before I had to go out for the day, but there you go.

This should do what you want. You might want to remove the mappings for the Replacement driver buttons on account of getting double presses, unless you are using the replacement driver (which you don't need to use with either of my plugins).

I suggest that once a stable release becomes available you should switch to my other plugin, as it has a lot more features I'm sure you'll enjoy.

There's a readme.txt included in the file with all the instructions you should need.

Good Luck!

Cheers,

EDIT: This plugin can now be downloaded here:
http://www.team-mediaportal.com/file...MessagePlugin/

Last edited by and-81; 2006-11-16 at 14:38. Reason: Removed attachment, added link to download site
and-81 is offline   Reply With Quote
Old 2006-10-21, 09:05   #6 (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

Doesn't the integrated HID support cover it already?

Or do you want sth different than APPCOMMANDs? (That's what the HID part in MP handles.)
__________________


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-10-21, 09:19   #7 (permalink)
Portal Developer
 
and-81's Avatar
 
Join Date: Mar 2005
Location: Melbourne
Age: 27
Posts: 2,251
Thanks: 30
Thanked 145 Times in 88 Posts

Country:

My System

Default

I'm gunna plead ignorance here. I haven't checked out the HID support, cos I haven't ever needed. I'll go check it out now...

Cheers,
and-81 is offline   Reply With Quote
Old 2006-10-21, 09:51   #8 (permalink)
Portal Developer
 
and-81's Avatar
 
Join Date: Mar 2005
Location: Melbourne
Age: 27
Posts: 2,251
Thanks: 30
Thanked 145 Times in 88 Posts

Country:

My System

Default

@mPod: If you mean Configuration -> Remote -> General HID, then the answer is no you don't get what VrD wants with that.

People that use HIP or Girder to control MP and other apps want to feed MP windows messages that MP processes through it's input handler (similiar to what General HID supports, but not just for WM_APPCOMMANDs). The General HID just lets you map media control buttons. WM_APPCOMMAND commands. Unless I'm missing something? Maybe once you finish that "New" button stuff in the input mapper we can get the same result with the General HID?

Cheers,
and-81 is offline   Reply With Quote
Old 2006-10-21, 10:21   #9 (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 and-81 View Post
Maybe once you finish that "New" button stuff in the input mapper we can get the same result with the General HID?
That's already in SVN, but it's commented out.

-> Plugins/RemotePlugins/InputMapper
__________________


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-10-21, 10:23   #10 (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

Code:
if (msg.Msg != 0x0319) // WM_APPCOMMAND
          return false;
But see the above, the HID part only handles APPCOMMANDs so far. Maybe it's worth "updating" the code? The floor is yours.
__________________


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
Reply

Bookmarks

Tags
mce, messages, remote, windows

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
Help with TVServer and client rick78 Get Support 8 2006-12-12 19:48
Sneak peek at Microsoft's Windows Vista MCE remote piranha OffTopic 11 2006-12-07 23:54
Windows power saving and remote control usage vadik78 MediaPortal 1 Talk 0 2006-10-20 19:56
Remote and Windows Shortcuts blast General Support 1 2006-09-10 08:04
Windows mce remote on windows 2000 tvviewer MediaPortal 1 Talk 4 2006-07-07 23:04


All times are GMT +1. The time now is 04:48.


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