diff options
Diffstat (limited to 'apps/onplay.c')
-rw-r--r-- | apps/onplay.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/onplay.c b/apps/onplay.c index 89a236bb11..76bc72a048 100644 --- a/apps/onplay.c +++ b/apps/onplay.c | |||
@@ -278,7 +278,7 @@ static bool playlist_options(void) | |||
278 | pstart++; | 278 | pstart++; |
279 | } | 279 | } |
280 | 280 | ||
281 | if (context == CONTEXT_TREE) | 281 | if (context == CONTEXT_TREE || context == CONTEXT_ID3DB) |
282 | { | 282 | { |
283 | if (audio_status() & AUDIO_STATUS_PLAY) | 283 | if (audio_status() & AUDIO_STATUS_PLAY) |
284 | { | 284 | { |
@@ -536,7 +536,8 @@ int onplay(char* file, int attr, int from) | |||
536 | 536 | ||
537 | if (context == CONTEXT_WPS || | 537 | if (context == CONTEXT_WPS || |
538 | context == CONTEXT_TREE || | 538 | context == CONTEXT_TREE || |
539 | context == CONTEXT_ID3DB) | 539 | ((context == CONTEXT_ID3DB) && |
540 | (attr & TREE_ATTR_MASK) == TREE_ATTR_MPA)) | ||
540 | { | 541 | { |
541 | items[i].desc = ID2P(LANG_PLAYLIST); | 542 | items[i].desc = ID2P(LANG_PLAYLIST); |
542 | items[i].function = playlist_options; | 543 | items[i].function = playlist_options; |