Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Re: Bookmarking Help

Re: Bookmarking Help

From: Björn Stenberg <bjorn_at_haxx.se>
Date: Tue, 14 Jan 2003 14:57:50 +0100

Benoit Midy wrote:
> Hi,
>
> Firstly I want to thnaks the people who contribute to make this first code for the bookmark.
>
> And now some comments about the way to make it :
>
> - I think that the idea to store all the .BMF files in one place could make some problem for people having duplicates filenames.

It doesn't. It creates a new .bmf file with the same name and location as the mp3 or m3u file.

> - Another idea is to make it possible to get a bookmark menu through the F3 key :
> It will display a screen menu with many choice :
> - Create New Bookmark
> - Bookmark 1
> - Bookmark 2

Currently you get it when you press STOP in the WPS. I agree, though, that we should have the option of creating several bookmarks. Otherwise it's just a "multi-resume" and not a real bookmark feature. This also means we need to be able to remove one or more bookmarks from the bookmark file.

Some comments on the code, now that I've looked at it:

- Please split lines longer that 80 columns
- I'd prefer using a comma instead of asterisk as value delimiter in the file
- There is no need restricting ourselves to a 3-char extension. Quite the opposite, I bet $10 .bmf is already used some obscure windows applications. How about using .bmark instead? (The full .bookmark might be a bit longish.)
- Don't use C++ comments.
- Don't leave commented-out code in the file.

-- 
Björn
Received on 2003-01-14

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