|
Rockbox mail archiveSubject: Re: Bookmarking HelpRe: Bookmarking Help
From: Björn Stenberg <bjorn_at_haxx.se>
Date: Wed, 15 Jan 2003 10:31:35 +0100 Benjamin wrote: > I would have added code to auto-increment (foo.mp3 would create > foo.mp3.1.bmf or something like that) until it found a free name. Please don't. Make the bookmark file contain multiple bookmarks instead. > In hindsite, I may code it to create the file in the directory of > the MP3 or M3U. Yes, that is best. It looked to me like that is already the case. Was I wrong? > 4. I chose an * because it's not allowed as a charactor in either > a filename or a directory on Windows (not sure about Linux). You actually don't need a filename. The bookmark filename tells you the name of the mp3 file. > I'd rather have each field on it's own line and read it in line by > line, but I haven't figured out how to read or write that out with > the current commands. Any suggestions? Look at settings_load_config(). But I'm not sure "Label: Value" is a very good idea for this, since we want multiple bookmarks. A simple comma separated value list is probably better. > 5. I haven't figured out the best way to delete bookmarks. Any suggestions. I suggest playing a bookmark file in the browser brings up a bookmark editor where you can view and delete bookmarks. > 7. Finally, I was toying around with the idea of "last bookmark", > where essentially there you be a file in the root that would be > a copy of the last created bookmark (not autobookmark). Easy enough > to code, but I'm not sure if there's an interest/need. Let e know > what people think. -- BjörnReceived on 2003-01-15 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |