summaryrefslogtreecommitdiffstats
path: root/apps/playlist.h
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/playlist.h
parent19fe37de6fb63c8d6a8891e095f8b1fde18514eb (diff)
downloadrockbox-887cfeb9f55344db5c8df1f22d5c6a02467764f3.tar.gz
rockbox-887cfeb9f55344db5c8df1f22d5c6a02467764f3.tar.bz2
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/playlist.h')
-rw-r--r--apps/playlist.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/playlist.h b/apps/playlist.h
index c5449a219e..4ad7587722 100644
--- a/apps/playlist.h
+++ b/apps/playlist.h
@@ -134,8 +134,9 @@ int playlist_create_ex(struct playlist_info* playlist,
void* temp_buffer, int temp_buffer_size);
int playlist_set_current(struct playlist_info* playlist);
void playlist_close(struct playlist_info* playlist);
+void playlist_sync(struct playlist_info* playlist);
int playlist_insert_track(struct playlist_info* playlist, const char *filename,
- int position, bool queue);
+ int position, bool queue, bool sync);
int playlist_insert_directory(struct playlist_info* playlist,
const char *dirname, int position, bool queue,
bool recurse);