Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Getting a fid into the tracksession multiple times: (3 Items)
   
Getting a fid into the tracksession multiple times  
Hi all,

we just stumbled over another issue:
We're planning to redesign our current HMI such that in a browser view, it would allow the user to select individual 
entries or complete folder hierarchies for playback. This includes playlists which are traditionally represented as 
folders as well.

It shall be permissible for the user to select a track multiple times, say he has a playlist "80s" and another one "
Peter Gabriel" which he both selects - in both you find the song "Sledgehammer".
When bringing this selection over into a flat tracksession (to be visualized as such), the intention is to have the 
track in there twice exactly as the user specified - otherwise it would be indeterministic for him which one the system 
removes.

-> How to have a track in a tracksession multiple times while still allowing the customer to exactly select one 
occurance without picking the wrong offset within the playback order? Since mme_play only takes a fid and does not allow
 to alternatively specify a track's sequential id we currently don't see a way how to accomplish this.

(as discussed before we're currently planning on sticking with library mode)

Thanks,
Thomas
Re: Getting a fid into the tracksession multiple times  
> -> How to have a track in a tracksession multiple times while still allowing 
> the customer to exactly select one occurance without picking the wrong offset 
> within the playback order? Since mme_play only takes a fid and does not allow 
> to alternatively specify a track's sequential id we currently don't see a way 
> how to accomplish this.

Did you look at mme_play_offset()? With this you can specify an offset between 0 and N-1 where N is the number of tracks
 in your tracksession.

Regards,
Gilles
Re: Getting a fid into the tracksession multiple times  
Thanks,

we'll look into it - at first glance it should do the trick.

Thomas