TheaterTek and Control Buttons??

Help each other out

TheaterTek and Control Buttons??

Postby Chuchuf on Tue Sep 21, 2004 12:24 pm

Hi All,

New to XLobby and have a system design started that so far is working pretty well. Lots left to do.
One of my next goals are to have some buttons that control play, FF, next chapter, and so one for DVD playback. I am running TT as my DVD player.
I would like to avoid using Girder or any other external program to be able to provide these controls. I would also like to avoid IR commands for these controls.
My goal would be to have these controls integrated in the same way that the controls are available for MP3 playback, which uses winamp.
My current setup is a HTPC running XLobby as a server, client is running on another PC which is then communicating to a V880 thin client. Right now I am running Jowaldo's Skin (very nicely done) and modifying it to suit my needs and the size of the 880.
MP3's are working perfectly as is playback. Movied from my server play back perfectly with TT. But now I need to put some control functionality in the DVD playback.
Can anyone help??

Thanks,

Terry
Chuchuf
 
Posts: 4
Joined: Tue Sep 21, 2004 12:11 pm

Postby Hiller on Tue Sep 21, 2004 3:58 pm

Terry,

It's good to see that you get away from AVS once and a while! :D It's also great to see you trying out XLobby, I don't think you will be dissapointed.

There is no reason to use girder to control TT for anything if you are using the Thin Client. All you need to do is setup a TT eventgroup in the Event manager with all the commands you want to use. XLobby uses the Windows SendMessage to talk with TT. I not at home now so I can't give you the parameters but if I remember they are included in the default skin. If you use that as a reference I think you should be able to figure it out.

I'm sorry this isn't very clear but I'm at work and didn't have much time. If you are still struggling this evening I'll give you a hand.

Steve
Hiller
 
Posts: 149
Joined: Thu Sep 25, 2003 2:39 am
Location: Fredericksburg, VA

Postby Chuchuf on Tue Sep 21, 2004 9:44 pm

Steve,

Thanks very much for the reply. I suspected that what I saw in the events area that had TT in it using Windows SendMessage (which I don't have a clue about) would communicate directly from XLobby to TT.
I have been successful in launching movies with the AirPanel but now it is time to be able to control the DVD with functions like play, pause, chepter select, next, previous, etc.
So what I did as an experiment last night was to take some of the DVD control buttons that are in the skin I am using and redefine their use to TT. Problem is nothing happens when I hit them.
Now I will say that I am not using a box stock version of TT as we are doing some testing here of the new version and I wonder if that has something to do with it??
I guess to better understand what the indows SendMessage are all about I need to know how hese codes are created?? and if I can create my own.
I must say that I am VERY impressed with the flexibility of this program and cannot wait to have it fully operational to control my entire theater.

Terry
Chuchuf
 
Posts: 4
Joined: Tue Sep 21, 2004 12:11 pm

Using SendMessage

Postby Hiller on Tue Sep 21, 2004 10:09 pm

A List of the TT send commands are hereif you need them. You will have to ask Andrew (that's his name if I remember correctly) if the SendMessage commands are the same as in 1.6.x. I would test this but I am not in the loop on v2 testing...

I don't know how much you have played with skinning or with the event manager but here is a quick rundown of what you need to do to get TT to accept commands from XLobby.

If you make your own event group to play with then you will have to enter the sendmessage stuff.

-So create a group called TheaterTek
-Select from OS->Send Message and give it a name like Play.
-Look at the link above and find the WParam for Play (In this case it's 32771)
-Set lparam to 0
-Set the Window Name to Overlay
- Leave class name blank
-The message is WM_COMMAND (That's what I have in mine at least and it works) the doc above says the message is 273
-Now click add.
-Now if you want to test you can just highlight the sendmessage in the left window and TT should do something (In this case play)

Now that I have thought about it I would use pause, that way you can have TT running and test the pause.

That should do it. If things test out okay then you should be able to so the same for the other commands you want to use.

You probably have done most of this already but I have no idea how much you have played with Xlobby so I described it just for reference. Also, I have no idea what version you are running but I hope it's the newest exe. If you are using one of the pre17 versions you are way behind. If this is the case download http://www.xlobby.com/xlobby2.zip that always has the latest exe's

Let me know if this works out or if I am just not even on the right path trying to give you a hand.

Good luck,
Steve
Hiller
 
Posts: 149
Joined: Thu Sep 25, 2003 2:39 am
Location: Fredericksburg, VA

Postby Chuchuf on Wed Sep 22, 2004 3:07 am

Steve,

That first doccument you provided is what I needed to read. That explains a lot of what I didn't understand.
Let me dig a bit more and I'll post if I need some additional help.
I'm using pre release 28 right now.

Thanks,

Terry
Chuchuf
 
Posts: 4
Joined: Tue Sep 21, 2004 12:11 pm