From 5fa0da2d9b0edf78097a0d29b1bde3c260a36af4 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Sun, 29 Sep 2013 19:35:36 +0200 Subject: added new APIs for saving current playlist --- playlist.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'playlist.h') diff --git a/playlist.h b/playlist.h index 8fe90c25..4536556c 100644 --- a/playlist.h +++ b/playlist.h @@ -299,7 +299,7 @@ int plt_save (playlist_t *plt, playItem_t *first, playItem_t *last, const char *fname, int *pabort, int (*cb)(playItem_t *it, void *data), void *user_data); int -pl_save_n (int n); +plt_save_n (int n); int pl_save_current (void); @@ -479,4 +479,10 @@ pl_meta_exists (playItem_t *it, const char *key); int plt_get_meta (playlist_t *handle, const char *key, char *val, int size); +int +plt_get_idx (playlist_t *plt); + +int +plt_save_config (playlist_t *plt); + #endif // __PLAYLIST_H -- cgit v1.2.3