Rockbox mail archiveSubject: Re: geting the display index of the next track
Re: geting the display index of the next track
From: Fernando Birra <fpb_at_di.fct.unl.pt>
Date: Tue, 6 Apr 2004 18:54:33 +0100
I made the wrong question. What I wanted to know was the real index of the
next/previous track. If the playlist is not shuffled this is the same as the
display index right? But when we shuffle it how can I walk through the track
indices? I'm working on a CD changer emulator and I need to know how to
display the indexes of the songs in their playback sequence. Using the
display index is a little confusing since it is not always the same for the
"Hardeep Sidhu" <hardeeps_at_pobox.com> escreveu na mensagem
> Fernando Birra wrote:
> > Hi,
> > Is there a way (using the rockbox playlist api) to determine the display
> > index of the next/previous track?
> > I need to know this before actually changing the current track...
> > Let's suppose the playlist is shuffled. I can query the current display
> > index (playlist_get_display_index) or the current index (using
> > get_resume_info). But how can I know the display index of the next or
> > previous song?
> Next display index is just current display index + 1. Are you maybe
> looking for the next/previous track name? If so, you can call
> You may also want to look at patch #877636 on sourceforge
Received on 2004-04-06