mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
PictureFlow: Make Shuffle options available
The "Playing Next..." menu couldn't display any options for shuffling tracks of an album before Change-Id: I54f4497394fb29877bf8bce0ef95a27c82eb2279
This commit is contained in:
parent
028eafaeef
commit
3ef49d9c5e
6 changed files with 18 additions and 16 deletions
|
@ -828,15 +828,12 @@ static int treeplaylist_callback(int action,
|
|||
return action;
|
||||
}
|
||||
|
||||
void onplay_show_playlist_menu(const char* path, void (*playlist_insert_cb))
|
||||
void onplay_show_playlist_menu(const char* path, int attr, void (*playlist_insert_cb))
|
||||
{
|
||||
context = CONTEXT_STD;
|
||||
ctx_current_playlist_insert = playlist_insert_cb;
|
||||
selected_file = path;
|
||||
if (dir_exists(path))
|
||||
selected_file_attr = ATTR_DIRECTORY;
|
||||
else
|
||||
selected_file_attr = filetype_get_attr(path);
|
||||
selected_file_attr = attr;
|
||||
in_queue_submenu = false;
|
||||
do_menu(&tree_playlist_menu, NULL, NULL, false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue