diff options
Diffstat (limited to 'apps/onplay.c')
-rw-r--r-- | apps/onplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/onplay.c b/apps/onplay.c index 0eaac1e1a6..3814e2554b 100644 --- a/apps/onplay.c +++ b/apps/onplay.c | |||
@@ -145,7 +145,7 @@ int onplay(char* file, int attr) | |||
145 | 145 | ||
146 | selected_file = file; | 146 | selected_file = file; |
147 | 147 | ||
148 | if (mpeg_status() & MPEG_STATUS_PLAY) | 148 | if ((mpeg_status() & MPEG_STATUS_PLAY) && (attr & TREE_ATTR_MPA)) |
149 | menu[i++] = (struct menu_items) { str(LANG_QUEUE), queue_file }; | 149 | menu[i++] = (struct menu_items) { str(LANG_QUEUE), queue_file }; |
150 | 150 | ||
151 | if (!(attr & ATTR_DIRECTORY)) | 151 | if (!(attr & ATTR_DIRECTORY)) |