forked from len0rd/rockbox
Only queue mp3 files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3497 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
276b9e30be
commit
e1426d4cb8
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ int onplay(char* file, int attr)
|
||||||
|
|
||||||
selected_file = file;
|
selected_file = file;
|
||||||
|
|
||||||
if (mpeg_status() & MPEG_STATUS_PLAY)
|
if ((mpeg_status() & MPEG_STATUS_PLAY) && (attr & TREE_ATTR_MPA))
|
||||||
menu[i++] = (struct menu_items) { str(LANG_QUEUE), queue_file };
|
menu[i++] = (struct menu_items) { str(LANG_QUEUE), queue_file };
|
||||||
|
|
||||||
if (!(attr & ATTR_DIRECTORY))
|
if (!(attr & ATTR_DIRECTORY))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue