summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/onplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/onplay.c b/apps/onplay.c
index a9cbc64598..26a2614b56 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -626,7 +626,7 @@ static int add_to_playlist(void* arg)
626 } 626 }
627 627
628#ifdef HAVE_TAGCACHE 628#ifdef HAVE_TAGCACHE
629 if (context == CONTEXT_ID3DB) 629 if ((context == CONTEXT_ID3DB) && (selected_file_attr & ATTR_DIRECTORY))
630 { 630 {
631 tagtree_current_playlist_insert(position, queue); 631 tagtree_current_playlist_insert(position, queue);
632 } 632 }