diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2006-08-10 09:50:45 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-08-10 09:50:45 +0000 |
commit | 887cfeb9f55344db5c8df1f22d5c6a02467764f3 (patch) | |
tree | e7efd8bc2bc4eabd365fccd0d7787f1bf633fda1 /apps/filetree.c | |
parent | 19fe37de6fb63c8d6a8891e095f8b1fde18514eb (diff) | |
download | rockbox-887cfeb9f55344db5c8df1f22d5c6a02467764f3.tar.gz rockbox-887cfeb9f55344db5c8df1f22d5c6a02467764f3.zip |
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.c | 5 |
1 files changed, 3 insertions, 2 deletions
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) | |||
409 | break; | 409 | break; |
410 | } | 410 | } |
411 | 411 | ||
412 | if (global_settings.party_mode) { | 412 | if (global_settings.party_mode) |
413 | { | ||
413 | playlist_insert_track(NULL, buf, | 414 | playlist_insert_track(NULL, buf, |
414 | PLAYLIST_INSERT_LAST, true); | 415 | PLAYLIST_INSERT_LAST, true, true); |
415 | gui_syncsplash(HZ, true, str(LANG_QUEUE_LAST)); | 416 | gui_syncsplash(HZ, true, str(LANG_QUEUE_LAST)); |
416 | } | 417 | } |
417 | else if (playlist_create(c->currdir, NULL) != -1) | 418 | else if (playlist_create(c->currdir, NULL) != -1) |