dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: geting the display index of the next track

Re: geting the display index of the next track

From: Hardeep Sidhu <>
Date: Tue, 06 Apr 2004 09:59:08 -0700

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

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy