diff options
author | waker <wakeroid@gmail.com> | 2011-02-26 16:11:31 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-02-26 16:11:31 +0100 |
commit | 3a30d396a8b437d12fe8ad48a6c0cc30e27acf7e (patch) | |
tree | 93eccdb31b98b35592541314c136d9030d367c29 /playlist.h | |
parent | 54382e4b68e571e12905aa49048e9e80d0b6ef83 (diff) |
fixed playlist corruption while adding files if cursor jumps to another playlist
Diffstat (limited to 'playlist.h')
-rw-r--r-- | playlist.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -148,7 +148,7 @@ int pl_add_file (const char *fname, int (*cb)(playItem_t *it, void *data), void *user_data); void -pl_add_files_begin (void); +pl_add_files_begin (int plt); void pl_add_files_end (void); @@ -162,6 +162,9 @@ pl_insert_file (playItem_t *after, const char *fname, int *pabort, int (*cb)(pla playItem_t * pl_insert_item (playItem_t *after, playItem_t *it); +playItem_t * +plt_insert_item (playlist_t *playlist, playItem_t *after, playItem_t *it); + int pl_remove_item (playItem_t *i); |