Rockbox mail archive
Subject: RE: Compiled Bookmarks Firmware
From: Hardeep Sidhu (hardeeps_at_pacbell.net)
Check for QUEUE_BEGIN_QUEUE -- this identifies the
index passed as belonging to the queue list.
QUEUE_BEGIN_PLAYLIST is used when the _next_ song
should be played from the queue (needed for resume to
know where to begin playing).
--- Benjamin <mailinglists_at_samuraipanda.com> wrote:
> My assumption would be to check if
> playlist_get_resume_info() returns
> QUEUE_BEGIN_PLAYLIST. If so, I wouldn't allow a
> bookmark to occure.
> The reason behind this would be because the queue
> will change from
> time to time and therefor it would be un-reliable to
> bookmark it.
> Does this make sense?
> At Thursday, 23 January 2003, you wrote:
> >Hi Benjamin,
> >This variable already exists. You should be
> >playlist_get_resume_info() to get information for
> your bookmark.
> >notice that the second argument of this function
> indicates whether
> or not
> >the current song is a queued song.
> >> -----Original Message-----
> >> From: owner-rockbox_at_cool.haxx.se
> >> Behalf Of Benjamin
> >> Sent: Thursday, January 23, 2003 9:44 AM
> >> To: rockbox_at_cool.haxx.se
> >> Subject: Re: Compiled Bookmarks Firmware
> >> I just tried queueing a couple of times. What
> seems to happen is
> >> that the bookmark is created with the current MP3
> >> time, Title), but when it plays, it plays the MP3
> directory that
> >> the bookmark is for. This makes sense since the
> queue information
> >> is stored in a seperate file. I think a possible
> solution for this
> >> is to have a lobal variable called in_queue which
> would essentially
> >> indicate to the bookmark (and any other future)
> code that this is
> >> not in a standard playlist and shouldn't be
> bookmarked. Just
> a thought.
> >> Ben
Page was last modified "Jan 10 2012" The Rockbox Crew