MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Get Support » General Support


General Support Post problems you have when using MediaPortal, or pre installation questions in here.

Reply
 
LinkBack Thread Tools Display Modes
Old 2006-08-01, 10:29   #1 (permalink)
Portal Member
 
Join Date: Apr 2004
Location: Skopje
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default Controlling mediaportal with messages

Is it possible to control Mediaportal with windows messages ?
I want to control Mediaportal with Girder when it is not running in foreground, and the standard keyboard control is not good.
Is there any list of (wparam,lparam,message number) list for controling Mediaportal with Girder ?
milanp is offline   Reply With Quote
Old 2006-08-06, 19:02   #2 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Bethlehem, Pa
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I've searched in vain myself. I think everyone is just throwing simulated keys at it and seeing what sticks. Hopefully a better remote controlling option via girder will be implemented soon, as it is a shame really. The #1 remote control app can't control the #1 media app.
bschuler is offline   Reply With Quote
Old 2006-08-07, 11:24   #3 (permalink)
Portal Member
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 773
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by bschuler
The #1 remote control app can't control the #1 media app.
Probably because we're all cheap and can't afford it now that it costs money :lol:

Sam
samuel337 is offline   Reply With Quote
Old 2006-08-10, 20:54   #4 (permalink)
Portal Member
 
Join Date: Aug 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I would agree. program needs a way to control it.

It is a media player after all.

Does anyone know how global keyboard shortcuts can be used to perform basic commands like pause or play?

Thanks.
sean2078 is offline   Reply With Quote
Old 2006-08-11, 04:17   #5 (permalink)
Portal Member
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 773
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Er...what do you mean?

The keyboard shortcuts are configurable in MP so you can easily match them up with whatever application you're using to control it.

Sam
samuel337 is offline   Reply With Quote
Old 2006-08-11, 06:34   #6 (permalink)
Retired Team Member
 
mPod's Avatar
 
Join Date: Jan 2005
Location: Berlin
Age: 33
Posts: 2,086
Thanks: 0
Thanked 3 Times in 3 Posts

Country:

My System

Default

Enable HID if you wanna use appcommands.
__________________


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-08-11, 17:31   #7 (permalink)
~ok|
Guest
 
Posts: n/a


Default

just out of curiosity, what do you try to achieve?
  Reply With Quote
Old 2006-08-11, 23:25   #8 (permalink)
Portal Member
 
Join Date: Aug 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I can't speak for the original poster, but I was aluding to how to setup the program to respond to global keyboard events. While I think the original poster wanted to control the app using the Windows API or other means.

For example, to be able to press Ctrl-Shift-P or Pause on your multimedia keyboard (hypothetically) to pause music playback even though MediaPortal doesn't have focus. Right now, MediaPortal is setup to only respond to event messages when it has focus.

Once I have time, I'll probably code in a global message handler/hook, but for now it will have to wait.
sean2078 is offline   Reply With Quote
Old 2006-08-12, 13:41   #9 (permalink)
~ok|
Guest
 
Posts: n/a


Default

Hi,

I wanted to see exactly what he wanted to do because I know that Girder is able to send keystroke events to unfocused applications: that's why I was surprised by the question and wanted to help him out.
At the opposite, if the problem is related to lack of keyboard bindings then I'm pretty useless on the matter.

bye
  Reply With Quote
Old 2006-08-12, 17:41   #10 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Bethlehem, Pa
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts


Default

No.. Meedio had this very same issue to till someone made the WM COMMAND plugin. Basically.. you can have a host of programs attempt to throw keypresses at Mediaportal.. and with any luck.. it will catch 95-99%.. but the best method is still with windows commands.. cuz then it is 100% guaranteed. It eventually starts getting frustrating when it accidentally clears you que, skips screens, or worse (locks up), etc.. because it skipped a keypress somewhere in the middle of what you were doing.

Basically.. start taxing out your CPU by doing stuff.. and the keypress method starts failing whereas windows messaging doesn't. Try it.. and you'll see.. keypresses via remote start failing due to timing, etc.

Sean0278,
Sounds good. I'll wait for whatever ya make. I always figured that until it can do windows commands, I'll just play with it. I knew someone would eventually solve this.. and a few other.. glaring issues. I'm a very patient man and I can see the potential.
bschuler is offline   Reply With Quote
Reply

Bookmarks

Tags
controlling, messages

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 On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
System requirements for HDTV with MediaPortal Tech Geek Hardware Selection Help 62 2007-08-08 07:20
MediaPortal GET YOU GOING GUIDE aal Tips and Tricks 19 2007-06-22 18:39
A perfect HTPC with MP & PVR Scheduler & faster XP STSC Tips and Tricks 16 2007-01-30 22:40
PVR Scheduler: cant make it work ethanx Codecs, External Players 1 2006-03-19 23:42
Compile problems Anonymous General Development (no feature request here!) 1 2004-04-28 21:49


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


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