Index numbering [Archive] - Quintessential Forum

PDA

View Full Version : Index numbering


canard_bleu
02-28-2004, 04:43 PM
Paul (or anybody else for that matter) :

If I do the following (in that order) :

opSetPlayNext(n)
opDeleteIndex(x)

Do I need to call opSetPlayNext(n-1) if x < n ?

(ie if I preset the next index, then delete a track before it,
do I need to reset the index again to make sure it stays on
the same track ?)

Pierre

Paul
02-28-2004, 04:48 PM
Do I need to call opSetPlayNext(n-1) if x < n ?
No, the 'next track' is maintained internally with a separate unique identifier for the track so a change in its position in the playlist doesn't affect it.