From 887cfeb9f55344db5c8df1f22d5c6a02467764f3 Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Thu, 10 Aug 2006 09:50:45 +0000 Subject: 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 --- apps/filetree.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apps/filetree.c') diff --git a/apps/filetree.c b/apps/filetree.c index acceb0b93b..d3ef1e067d 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) -- cgit v1.2.3