Support and General Use > Audio Playback, Database and Playlists
bookmarks? if you use them read this!
JdGordon:
I want to work on bookmarks again but I'm a bit stuck...
(bare with me if you know this already...)
Rockbox has 3 different types of internal playlists, each with their own quirks...
dirplay - play the contents of one folder (shuffled or not)
m3u - playlist from a file
inram - everything else, any playlist that you modify, change the track order, add, remove tracks, etc... (this include databse playlists)
now, from my quick test, the current bookmark stuff wont even let me create a bookmark from an inram playlist... So I want to fix this...
my problem is choosing where to save the bmark file to.
If its a dirplay or m3u8 playlist then we can save it as <foldername>.bmark or <playlistname>.bmark in the same folder as the dir or m3u (current behaviour)
database playlists? inram playlists? (from the playlist POV there is no difference between these, but there should be... thats something for later though). I'm thinking we could store it in /bookmarks/ and show the keyboard so the user can choose a name? as long as the resume point is stored straight away then any delay naming the file wont cause an issue with the wrong point being saved. Then that begs the question, why not save all bookmarks in the one folder and then we can replace the "recent bookmarks" screen with a file browser pointing to the right folder?
how does that sound?
Also, while we are here... if you have any suggestions for bookmarks.. now is the time to mention them...
soap:
--- Quote from: JdGordon on August 11, 2008, 11:42:26 AM ---... Then that begs the question, why not save all bookmarks in the one folder and then we can replace the "recent bookmarks" screen with a file browser pointing to the right folder?
--- End quote ---
Pretty please? :-*
pondlife:
I already posted on the ML, but this might be a better place...
I don't know the innards, but I thought Rockbox only had two types of playlist:
- dynamic (inram and dirplay, stored in .playlist_control as a set of instructions on how to recreate the playlist)
- saved (stored in .m3u file)
Could bookmarks be incorporated entirely into the playlist storage? Without the corresponding playlist, a bookmark isn't much use.
I'm personally against having a centralised store of bookmarks. Better, I feel, to avoid "special" directories (outside of .rockbox). If integrated it would make it simple to move playlists and their corresponding bookmarks from device to PC to device.
pondlife
bluebrother:
As I proposed earlier bookmarks could be included in the playlist itself -- with extm3u there's a way adding own data to the playlist file. From my information this won't create any incompatible file format (though I haven't checked up to now) and it would also allow a more simplified handling.
There is of course the chance that opening such a bookmark-ized playlist in a different player will loose the bookmark information upon re-saving it. OTOH, having a bookmark format that includes the playlist doesn't sound like a nicer solution to me.
JdGordon:
--- Quote from: pondlife on August 11, 2008, 02:27:51 PM ---- dynamic (inram and dirplay, stored in .playlist_control as a set of instructions on how to recreate the playlist)
--- End quote ---
aparently they are handled slightly differently (at least from the current bookmark POV...
--- Quote from: pondlife on August 11, 2008, 02:27:51 PM ---Could bookmarks be incorporated entirely into the playlist storage? Without the corresponding playlist, a bookmark isn't much use.
--- End quote ---
adding resume info to a m3u means that loading will be much slower usually... the .playlistcontorl file can rebuild a playlist very quickly
Navigation
[0] Message Index
[#] Next page
Go to full version