summaryrefslogtreecommitdiff
path: root/apps/filetree.c
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-08-10 09:50:45 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-08-10 09:50:45 +0000
commit887cfeb9f55344db5c8df1f22d5c6a02467764f3 (patch)
treee7efd8bc2bc4eabd365fccd0d7787f1bf633fda1 /apps/filetree.c
parent19fe37de6fb63c8d6a8891e095f8b1fde18514eb (diff)
downloadrockbox-887cfeb9f55344db5c8df1f22d5c6a02467764f3.zip
rockbox-887cfeb9f55344db5c8df1f22d5c6a02467764f3.tar.gz
rockbox-887cfeb9f55344db5c8df1f22d5c6a02467764f3.tar.bz2
rockbox-887cfeb9f55344db5c8df1f22d5c6a02467764f3.tar.xz
Only sync playlist once when adding bunch of files from tagcache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10508 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/filetree.c')
-rw-r--r--apps/filetree.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/filetree.c b/apps/filetree.c
index acceb0b..d3ef1e0 100644
--- a/apps/filetree.c
+++ b/apps/filetree.c
@@ -409,9 +409,10 @@ int ft_enter(struct tree_context* c)
break;
}
- if (global_settings.party_mode) {
+ if (global_settings.party_mode)
+ {
playlist_insert_track(NULL, buf,
- PLAYLIST_INSERT_LAST, true);
+ PLAYLIST_INSERT_LAST, true, true);
gui_syncsplash(HZ, true, str(LANG_QUEUE_LAST));
}
else if (playlist_create(c->currdir, NULL) != -1)