Official BS.Player forums  

Go Back   Official BS.Player forums > Main forum > General Talk And Support
Register FAQ Calendar Today's Posts Search

General Talk And Support General talk and peer-to-peer support about BS.Player and other video and audio multimedia players.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 16th July 2004
Junior Member
BS.Player Newbie
 
Join Date: Jul 2004
Location: Poland
Posts: 4
Rep Power: 0
macmark is an unknown quantity at this point
Default Remote control (not WinLIRC)

Hello everybody! I've got a TV card with remote controler which I'd like to use to control BSPlayer. I use a program called bRemote to emulate keyboard and mouse actions with the remote. It can also send messages to applications (which is much more efficient). Unfortunately I can't make it work whith BSPlayer. Could anyone please help me? Below you can see functions available in bRemote. I'd be grateful for a working example (some simple command like pause).

Command(wparam)
Sends WM_COMMAND message to the current window. This is the same as Message(WM_COMMAND, wparam, 0)

CommandWin(wparam, window)
Sends WM_COMMAND message to the window with given name.

CommandApp(wparam, class [, window])
Sends WM_COMMAND message to the app's window with class and windowname.

Message(msg, wparam, lparam)
Sends message to the current window.

MessageWin(msg, wparam, lparam, window)
Sends message to the window with given name.

MessageApp(msg, wparam, lparam, class [, window])
Sends message to the app's window with class and windowname.
Reply With Quote
  #2 (permalink)  
Old 17th July 2004
Senior Member
BS.Player Power User
 
Join Date: Feb 2004
Posts: 126
Rep Power: 0
RafkeP is an unknown quantity at this point
Default

Macmark,

I have to say I have no experience with bRemote, since I use Girder myself.
However it looks like they are almost the same, so i will try to give you a few pointers.

Take a look at the bsp.h file in the SDK subdirectory of BSplayer.
It contains all the info you need :

The BSplayer window is called "BSPlayer"

It's important that you use the window option because when you have openend a movie the video window will be the top window and this one doesn't accept messages. (so don't use current window)

The msg parameter = 1026 (this is always the same for BSplayer)
The wparam = 21 (for pause, get the rest out of the bsp.h)
The lparam = 0 (always)

This should do the trick.

In case it's not working I sugest you give Girder a try.
That way you can use my configuration file (with a few small modifications for the latest versions that I still need to take care of)
I wrote a small tutorial on building a remote and controlling BSPlayer with both WinLirc (I don't recommend that) and Girder.
Maybe it's of use to you :

http://users.skynet.be/RafkeP/tutorials/remote

Good luck,
Rafke
Reply With Quote
  #3 (permalink)  
Old 17th July 2004
Junior Member
BS.Player Newbie
 
Join Date: Jul 2004
Location: Poland
Posts: 4
Rep Power: 0
macmark is an unknown quantity at this point
Default

Thank you very much! I red your tutorial before writing my first post but the Girder file I found there was useless in my case. I also red bsp.h file and it contained everything I needed but the value of WM_USER+2. Now everything workins fine. Thanks againg man!
Reply With Quote
  #4 (permalink)  
Old 17th July 2004
Senior Member
BS.Player Power User
 
Join Date: Feb 2004
Posts: 126
Rep Power: 0
RafkeP is an unknown quantity at this point
Default

You are welcome.
I'm happy you got it working.

I intend to update the Girder gml file for BSplayer one day,
but first I need to finish my LCD plugin.

In the mean time : if anyone has problems getting girder to work
with my files, feel free to contact me : I'll put you back on track.

Rafke
Reply With Quote
  #5 (permalink)  
Old 7th January 2005
darkain's Avatar
Junior Member
BS.player Regular User
 
Join Date: Aug 2004
Location: Tacoma, WA
Posts: 23
Rep Power: 0
darkain is an unknown quantity at this point
Default

i'd be more than willing to write a a RM-X plugin to handle that for ya.

just give me the list of command IDs being sent and any window name ya want, and i'll build it up in no time at all.
__________________
-
Reply With Quote
  #6 (permalink)  
Old 6th February 2008
Junior Member
BS.Player Newbie
 
Join Date: Feb 2008
Posts: 3
Rep Power: 0
prabhg is an unknown quantity at this point
Default bRemote???

where can I get this bRemote software??

I am soon going to have HP notebook which contains a expresscard IR remote control. I would like to make that work with BSplayer... could Girder or bRemote help in doing this??
Reply With Quote
  #7 (permalink)  
Old 6th February 2008
BSPeter's Avatar
Moderator
BS.Player Master
 
Join Date: Nov 2002
Location: The Netherlands
Posts: 5,463
Rep Power: 32
BSPeter is on a distinguished road
Default

http://bsplayer.com/forum/viewtopic.php?t=12922
Don't doublepost please !
__________________
Help2Help (click) BSplayer: simply the best & most versatile (Build 1072 Dutch language here!)
When posting always mention your computer's OS and the version and build number(!) of BS.Player as used by you,
as well as - if applicable and especially when encountering problems - the type(s) of the file(s) mentioned in your post.
Private messages/Visitor messages are NOT for seeking personal help with respect to BS.Player! Instead use the forums!
Reply With Quote
Reply

Tags
control, remote, winlirc


Posting Rules


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


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
Ad Management plugin by RedTyger

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20