Adding controls to Xlobby for Sony DVP-CX777ES

Help each other out

Postby SMH on Fri Jan 05, 2007 12:26 am

Bear,

I apologize for being a noob in this area. I had previously used a trial of Cinemar for sometime and never had to deal with bat files or command language of the CX777ES as the plug-in did all that automatically and there was never an issue of UOP or otherwise in playing the discs. When you reference playing around with the command language to find something that will work, I admit I have no idea where to even start in modifying any of the command language shared on this thread to get all discs to work. If I understand correctly, you are saying that the "play" command (bat) language needs to be modified to get the UOP protected discs or discs with the forced previews or FBI messages to play using xlobby. I am assuming that the bat files used to bring the movie up are fine as xlobby has no problem loading the movie itself from the player, but to get it to perform the play function properly. So then the "play 777" event that I created using the command language shared in this thread needs to be changed. Can you elude to, at all, the language you used to get all your discs to work? What would I even begin to "try" in finding a combination that will work for certain discs? Which data is changed and how? It sounds like a nice option to have the trailer play before the movie during the "dead" time, and I would like to get that to work sometime, but for now, I am not concerned about that as much as getting each disc to load and play from the xlobby interface properly. I really like the xlobby intervface, and certainly the "free" aspect compared to Cinemar, but the idea that Cinemar has a "plug-in" that is fairly user friendly stands out as this process has been much more complicated in terms of implementing the CX777ES player. In short, if you can be more specific in terms of how to change my "play 777" event bat file, I would greatly appreciate it and have some direction as to what to "try" in getting all the discs to work. Thanks for your patience and assistance.
SMH
 
Posts: 45
Joined: Sat Dec 16, 2006 4:36 pm

Postby P3rv3rt B3ar on Thu Jan 11, 2007 9:04 am

Ok sorry about taking so much time to answer...

here is example from one of my bat files, do not get scared though, this must be one of the most complex, with most of the discs u r done with initialization with just couple of lines.

Code: Select all

d:\cx777es_v1\sony_cx777es.exe COM2 36 10 0 0 0
sleep 31
d:\cx777es_v1\sony_cx777es.exe COM2 27
sleep 13
d:\cx777es_v1\sony_cx777es.exe COM2 24
sleep -m 100
d:\cx777es_v1\sony_cx777es.exe COM2 24
sleep -m 100
d:\cx777es_v1\sony_cx777es.exe COM2 24
sleep -m 100
d:\cx777es_v1\sony_cx777es.exe COM2 23
sleep 10
d:\cx777es_v1\sony_cx777es.exe COM2 25
sleep -m 100
d:\cx777es_v1\sony_cx777es.exe COM2 25
sleep -m 100
d:\cx777es_v1\sony_cx777es.exe COM2 23
sleep -m 100
d:\cx777es_v1\sony_cx777es.exe COM2 19



Its quite a long time since i was writing these initialization script, but its not like real programming ofcourse, just usual scripting when automating some task like a robot for mixing a cocktail :) Basicly u just do wait and call 777-utility with different parameters, not any different than u clicking remote, except this u only have to do once. Timing is in crucial inportance though, just like when u click remote, if u click wrong buttons at wrong time, u r not gonna see efect u wanted.

so basicly most DVDs can be launched with one-liner command 36 where movies start title and chapter are given. However as u have noticed not all DVDs start playing from it. Some DVDs (this is easy case) present user with some selection nevertheles, but eventually disc will start on playing title and track mentioned in command 36. With these discs u just need to take care of selection, in order to make it work, ull need to make sure that selection is actually reached when u initialize commands which take care of it. ull need to wait sometime (30s+Xs). 30 seconds is time it takes for 777 to load a disc in worstcase (777 playing disc at opposite carousel position to begin with). X is time it takes for that particular disc to reach the selection in question. Then u just initiate selection commands (up, left, right, select...) in order needed, notice hundred millisecond wait between commands, shorter might work too, but if i remember right 100ms is defined in 777's interface specification so i would stick to that as minium. Then u might need to wait certain time for another selection repeat the pocess depending on disc, but selected track should eventually start.

Then theres third type of discs, those which do not start to play at selected title/track combination no matter what u do. With these discs u just start playing at title 0, track 0... this is like u would put disc in normally and then u simply repeat every click u do with remote in your script. This is like u would be imitating human operator. works always.

I finally call pause and previous track on my scripts, so playing can be automaticly started just at right spot when trailer ends. I really cant do more detailed explanation about this. hope this is some help. Note also that bat files dont support that sleep command automaticly, that is based on some windows toolkit i have installed on system, u might look for that, or use some other trick for timing.
P3rv3rt B3ar
 
Posts: 1364
Joined: Fri Apr 07, 2006 9:52 pm
Location: West Coast Funland

Postby SMH on Sun Jan 21, 2007 9:39 pm

I haven't had much time to play around with this until this weekend, but I am wondering if you can tell me which windows "toolkit" exactly you have installed to use the sleep functions incorporated above? I tried looking at microsoft.com, but there are several toolkits and hope you can lead me to the exact one so that I don't have to install unnecessary programs.
Thanks.
SMH
 
Posts: 45
Joined: Sat Dec 16, 2006 4:36 pm

Previous