This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11777 - enhancement for rockbox_browse()
Attached to Project:
Rockbox
Opened by Teruaki Kawashima (teru) - Saturday, 27 November 2010, 13:23 GMT+2
Last edited by Teruaki Kawashima (teru) - Wednesday, 15 December 2010, 14:03 GMT+2
Opened by Teruaki Kawashima (teru) - Saturday, 27 November 2010, 13:23 GMT+2
Last edited by Teruaki Kawashima (teru) - Wednesday, 15 December 2010, 14:03 GMT+2
|
DetailsThis patch makes it easier to use rockbox_browse().
- add struct browse_context to be passed to rockbox_browse. - show proper title when selecting e.g. .wps file or .sbs file from the settings menu. - use rockbox_browse() to view playlist catalog (see also *Known issue browser is messed up if rockbox_browse() is called recursively. to reproduce: highlight audio file or playlist in browser -> context menu -> Playlist Catalog -> View Catalog -> context menu -> Playlist Catalog -> Add to Playlist -> go back to browser. future idea maight be to make rockbox_browse() available for generic purpose to select file. e.g. use it to select file to save configure or playlist, to select .bmp file in rockpaint. |
This task depends upon
Closed by Teruaki Kawashima (teru)
Wednesday, 15 December 2010, 14:03 GMT+2
Reason for closing: Accepted
Additional comments about closing: committed in 28831 & 28836
Wednesday, 15 December 2010, 14:03 GMT+2
Reason for closing: Accepted
Additional comments about closing: committed in 28831 & 28836
* add struct browse_context to struct tree_context so that it doesn't need to be passed through and possibly it can be used in other place (e.g. ft_load).
* increase number of backups in rockbox_browse so that it can be called recursively bit more.
fixed issue described in the original post.
I set to 3 because currently max nest is 3.
* add callback_show_item member to customize what item will be shown in browser.
* removed BROWSE_ONEDIR as it doesn't seem to work well.
I'll commit browse-plcat.patch tomorrow.
FS#11808and it will already have merge conflictsFS#11808, so there will be less conflicts.