[hxclidev] Prev/Next ?

[hxclidev] Prev/Next ?

Warren Melnick warren at cacmedia.tv
Thu Jul 24 11:17:38 PDT 2003


So what I am finding here is that in a RAM file that points to a bunch
of local mp3s (18 of them to be exact - the new Led Zeppelin live CDs) I
get 18 groups.  When the first mp3 is playing I find that it shows 2
tracks.

So is it fair to assume that "groups" are each URL in a playlist?  If so
then you would do a prev/next or even a random play by setting the index
of the track you want to jump to with SetCurrentGroup?

...and Jeff, do you work on East Coast time?  this is a pleasant
surprise!

Regards,
Warren


On Wed, 2003-07-23 at 21:38, Henry Ping wrote:
> Steps to access track:
> - QI IHXGroupManager from HXPlayer object
> - call GetCurrentGroup and GetGroup to get IHXGroup* being played
> - call GetTrackCount and GetTrack to iterate through tracks
> 
> Note, there is no concept of prev/next on tracks since multiple tracks can 
> be played at the same time and tracks added later can be played before 
> those added earlier. Group is different, it has order and all the groups 
> are played sequentially, you can call GetGroupCount() and GetNextGroup() 
> from IHXGroup to find out the prev/next group.
> 
> The core uses groups and tracks to represent rich media content such as 
> SMIL, 1 group can contains multiple tracks(i.e. realvideo+realtext in SMIL) 
> and the group managers can contains multiple groups(i.e. playlist in RAM)
> 
> -->Henry
> 
> At 03:19 PM 7/23/2003 -0400, Warren Melnick wrote:
> >OK, so does anyone have any info (or sample code) on how to use the
> >Group manager and the Track manager - they seem to be in the same file
> >in the client core and are references by hxplay.cpp also in the client core.
> >
> >Any help here anyone?  Pleeeeeease?!?
> >
> >TIA,
> >W
> >
> > > You do this through the Group manager.
> > >
> > > JEff
> > >
> > > At 01:39 PM 7/23/2003 -0400, Warren Melnick wrote:
> > > >Are there any calls to the player object that can be made to to
> > > >previous track / next track?  Also to find out if prev or next exists.
> > > >
> > > >--
> > > >Warren Melnick
> > > >Chief Technology Officer
> > > >CAC Media, Inc.
> > > >
> > > >---------------------------------------------------------------------
> > > >To unsubscribe, e-mail: dev-unsubscribe at helix-client.helixcommunity.org
> > > >For additional commands, e-mail: dev-help at helix-client.helixcommunity.org
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe at helix-client.helixcommunity.org
> > > For additional commands, e-mail: dev-help at helix-client.helixcommunity.org
> > >
> > >
> >
> >--
> >Warren Melnick
> >Chief Technology Officer
> >CAC Media, Inc.
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: dev-unsubscribe at helix-client.helixcommunity.org
> >For additional commands, e-mail: dev-help at helix-client.helixcommunity.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe at helix-client.helixcommunity.org
For additional commands, e-mail: dev-help at helix-client.helixcommunity.org




More information about the Helix-client-dev mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.