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

Rockbox mail archive

Subject: RE: Compiled Bookmarks Firmware

RE: Compiled Bookmarks Firmware

From: Benjamin <>
Date: Thu, 23 Jan 2003 11:19:59 -0800

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 calling
>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: [mailto:owner-rockbox_at_cool.haxx.
>> Behalf Of Benjamin
>> Sent: Thursday, January 23, 2003 9:44 AM
>> To:
>> 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 information
>> 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
Received on 2003-01-23

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