diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/onplay.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/onplay.c b/apps/onplay.c index 35e870debc..244cd77987 100644 --- a/apps/onplay.c +++ b/apps/onplay.c | |||
@@ -380,7 +380,8 @@ static int treeplaylist_callback(int action, | |||
380 | if (this_item == &tree_playlist_menu) | 380 | if (this_item == &tree_playlist_menu) |
381 | { | 381 | { |
382 | if (((selected_file_attr & FILE_ATTR_MASK) == FILE_ATTR_AUDIO) || | 382 | if (((selected_file_attr & FILE_ATTR_MASK) == FILE_ATTR_AUDIO) || |
383 | (selected_file_attr & ATTR_DIRECTORY)) | 383 | ((selected_file_attr & FILE_ATTR_MASK) == FILE_ATTR_M3U)|| |
384 | (selected_file_attr & ATTR_DIRECTORY)) | ||
384 | { | 385 | { |
385 | return action; | 386 | return action; |
386 | } | 387 | } |
@@ -405,7 +406,9 @@ static int treeplaylist_callback(int action, | |||
405 | return action; | 406 | return action; |
406 | } | 407 | } |
407 | else if ((this_item == &i_shuf_pl_item) && | 408 | else if ((this_item == &i_shuf_pl_item) && |
408 | (selected_file_attr & ATTR_DIRECTORY)) | 409 | ((selected_file_attr & ATTR_DIRECTORY) || |
410 | ((selected_file_attr & FILE_ATTR_MASK) == | ||
411 | FILE_ATTR_M3U))) | ||
409 | { | 412 | { |
410 | return action; | 413 | return action; |
411 | } | 414 | } |