summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/onplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/onplay.c b/apps/onplay.c
index 0eaac1e..3814e25 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -145,7 +145,7 @@ int onplay(char* file, int attr)
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 };
if (!(attr & ATTR_DIRECTORY))