PDA

View Full Version : ZoomPlayer info displayal.



Marsupial
January 23rd, 2003, 10:49 AM
Ok I tought I had this cleared, but seams its not.

In zoom player, what do we have to setup and 'learn' for the proper informations:

media Title
Elapsed time
Total time
Current Status

in both DVD and media modes.

I seams to always have one not giving proper data whatever setup I use.

to get the media title, I use zoom's internal LCD messaging, but then I have trouble with times...

I really tought it workes at a time, but I was wrong, so any suggestions are welcomed

thanks.

MMcM
January 24th, 2003, 05:38 PM
Excuse me, but I do not understand completely what the problem is.

Are you not seeing ZoomPlayer events in Girder? Which would be some setup problem.

Or are you trying to determine which events to use to get the information that you want? There are two ways of getting information from ZP and they are more or less independent.

ZoomPlayer.LCD.Time will contain exactly the same string as the timeline in Zoom Player itself. If this is not formatted to your liking, then you will need to assemble it yourself from ZoomPlayer.{DVD,Media}.{Elapsed,Duration}.

For the title, ZoomPlayer.LCD.File will give you the raw media file name. For a DVD, you can do better than ZoomPlayer itself does by using other DVDSpy events that get the title from the disc or the Internet.

Marsupial
January 24th, 2003, 09:52 PM
Thanks MMcM

Ok, I still have a little prob. Is there any other way than the "ZoomPlayer.LCD.Time" to get the real title.

if I play a MPEG, the title I want is its title, not the filename (with directories and .MPEG). If I set title for the timeline, then I have it.

now if I do this, is there any other way to get the elapsed/total time?

I'd like to have 2 lines.
Title
Time/total status

I didn't figure out yet...
That possible ro I'm asking a little too much?

Anyway, thanks a lot.

MMcM
February 1st, 2003, 03:27 PM
I believe that I understand now.

To display the time, use the ZoomPlayer.{DVD,Media}.{Elapsed,Duration} events (four events, two handlers -- one for each pair). Put the payloads into variables and build the time string to display using LUA. There are commands like this in DVD2LCDn.GML.

Configure the timeline display in ZoomPlayer the way you want it to be independent of the LCD. If this then contains only the title, you can use ZoomPlayer.LCD.Time. If not, then you will have to do that by hand as well.

Use the ZoomPlayer.Media.File event. If you are going directly to the LCD through the LCD plug-in, use the Filename LCD command to trim the file name. If not, then write a LUA script to do the same thing, namely take the portion of the payload between the last backslash and the last period.

Marsupial
February 1st, 2003, 04:44 PM
Thanks MMCM

It seams I have some issues using the (for instance) zoomplayer.dvd.elapsed, but I'll try disabling some other plugins while configuring and try figuring out.


now for the lcd filename command... what is that? is it an option implemented in the LCD plugin that I'm not aware of?

anyway, thanks a big lot.

MMcM
February 1st, 2003, 05:28 PM
In the LCD plug-in command Settings, there are choices for Clear Display, Close Display, String, Variable, etc. Filename Variable is one of these. It is the same as Variable, except that it trims off the filename directory and file extension. It is not too smart, it just does the substring that I mentioned, which you could also do in LUA.