Posts: 40,483
Threads: 491
Joined: Aug 2002
Quote:Devices::FieldWrite(Zplayer1.PlayMedia, %(GVar:CurrentColCookie))
Actually that will only work if you've stored the cookie in GCar:CurrentColCookie. If you are just starting it from the cover art browser, you would do (assuming your ZP player driver moniker is ZP):
Devices::FieldWrite(ZP.PlayMedia, %(MediaRTV:ColCookie))
In the cover art browser, you would set up an OnSelCollection event, that looks something like:
Code:
// Power up ZP if not already and wait for it to get ready
If System::Equals($(ZP.Power), False)
System::ExecApp(blahblahblah)
Devices::WaitDriverRead(ZP, 8000)
EndIf;
// Now write the cookie
Devices::WriteField(ZP.PlayMedia, %(MediaRTV:ColCookie)
Dean Roddey
Explorans limites defectum
Posts: 900
Threads: 99
Joined: Feb 2006
oops, yeah...I kind of mislead him with my quick cut and paste. I do store my Cookie stuff in GVars and then call my popup control screen.
Posts: 40,483
Threads: 491
Joined: Aug 2002
If you are starting the playback via CQC, and you've correctly provided the metadata in the repository driver for the media you are playing, then the ZP driver will fill in its metadata fields to reflect whichever item is currently playing. Are you not seeing these values filled in? Go to the field browser window and select the ZP driver and look at the current value of the fields (the Admin Interface control panel button with the driver icon, or you can get to it via the Administer menu.)
Dean Roddey
Explorans limites defectum
Posts: 314
Threads: 60
Joined: Mar 2007
I can control it fine, but what I'm trying to do is display the artist and name of the song that is playing. This what i an trying
I'm using a Dynamic Text widget with ZoomPlayer selected in the field tab and "CurColName" field selected. But nothing:-? Now i do the same but in the field tab i put "CurItemTime" it displays. Go figure.
Posts: 7,970
Threads: 554
Joined: Mar 2005
i've got a few mins, want me to walk you through this over gotomeeting? It's pretty simple once you see it live.
Posts: 900
Threads: 99
Joined: Feb 2006
03-26-2007, 07:42 PM
(This post was last modified: 03-26-2007, 07:45 PM by penngray.)
Posts: 900
Threads: 99
Joined: Feb 2006
since we are on the topic, can I display all the songs that I have queued in ZP?
Posts: 7,970
Threads: 554
Joined: Mar 2005
Assuming you're using enqueuemedia, it's simple.
Just create a "Media ItemBrowswer" widget, assign it to PLSerialNum on the zoomplayer driver.
Plus, if you want to clck on a song and have it jump to that bit of the queue, just put the following in the action:
Code:
Devices::FieldWrite(sample-zoomplayer1.PlayMedia, %(MediaRTV:ItemCookie))
Posts: 40,483
Threads: 491
Joined: Aug 2002
Quote:I'm using a Dynamic Text widget with ZoomPlayer selected in the field tab and "CurColName" field selected. But nothing Now i do the same but in the field tab i put "CurItemTime" it displays. Go figure.
Are you sure you have the metadata set up correctly in the repository? And if you have more than one repository driver loaded, are you sure you have ZP associated with the right one?
The current time is something that comes directly from the player (since it's something only the player would know), so that isn't coming from our repository and wouldn't be affected by any miscofiguration of the repositroy stuff.
Dean Roddey
Explorans limites defectum