diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-08-30 07:52:36 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-08-30 07:52:36 +0000 |
commit | 196376c3c2b74a1f0f6f3040f833491d1b45e5f6 (patch) | |
tree | 928f9c50cf2413dfbd102c18d57585a1ee811466 /apps/onplay.c | |
parent | d565269cfa71b23deae19c17494354855ab096d9 (diff) | |
download | rockbox-196376c3c2b74a1f0f6f3040f833491d1b45e5f6.tar.gz rockbox-196376c3c2b74a1f0f6f3040f833491d1b45e5f6.zip |
Added ID3 database support for individual tracks in the context menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7421 a1c6a512-1295-4272-9138-f99709370657
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; |