[hxclidev] Prev/Next ?
Greg Wright gwright at real.comFrom: "Warren Melnick" <warren at cacmedia.tv> > 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? As far as SetcurrentGroup goes, it is probably just a typo above, but you should set the 'group' number of the group you want to jump to, not 'track' number. I have never tried to use it to skip groups but I don't see why it might not work. Certainly just give it a try. Not sure why you would see 2 tracks per group in this case, but you are correct, each URL (line) in your RAM file will become 1 group. Generally speaking, each group represents an independent timeline. 1 or more tracks play within a group and all share the same timeline. This make more sense if you think about rich media like SMIL where you can have multiple pieces of content playing at the same time sharing a timeline. But anyway, each track should be one source ( 1 RealAudio file, 1 RealVideo file, 1 mp3, etc). That is why I don't see why you would have multiple tracks in this case. I would have expected 1 group for each line and 1 track per group. But anyway, Henry can answer that for you. > > ...and Jeff, do you work on East Coast time? this is a pleasant > surprise! If you mean me (I'm Greg BTW), I just came in early this morning because I had some stuff to do. So don't get too use to it! :) --greg. > > 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe at helix-client.helixcommunity.org For additional commands, e-mail: dev-help at helix-client.helixcommunity.org