summaryrefslogtreecommitdiff
path: root/apps/onplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/onplay.c')
-rw-r--r--apps/onplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/onplay.c b/apps/onplay.c
index 6c6b2eed0b..67793dffea 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -490,7 +490,7 @@ int onplay(char* file, int attr)
490 selected_file_attr = attr; 490 selected_file_attr = attr;
491 491
492 if ((attr & TREE_ATTR_MPA) || (attr & ATTR_DIRECTORY) || 492 if ((attr & TREE_ATTR_MPA) || (attr & ATTR_DIRECTORY) ||
493 (attr & TREE_ATTR_M3U)) 493 ((attr & TREE_ATTR_M3U) && (mpeg_status() & MPEG_STATUS_PLAY)))
494 { 494 {
495 menu[i].desc = str(LANG_PLAYINDICES_PLAYLIST); 495 menu[i].desc = str(LANG_PLAYINDICES_PLAYLIST);
496 menu[i].function = playlist_options; 496 menu[i].function = playlist_options;