summaryrefslogtreecommitdiff
path: root/plugins.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-08-29 18:53:30 +0200
committerGravatar waker <wakeroid@gmail.com>2009-08-29 19:56:49 +0200
commit003a54afeba00597fd2f50e38ccd35c7cd5e4e39 (patch)
tree53e0b9b839dbf4de9daa9dd354d423aa01b81052 /plugins.c
parent335bec105eea648030f55282479fe509cc1bfa9d (diff)
lastfm plugin uri-encoding, batch-sending and other improvements
Diffstat (limited to 'plugins.c')
-rw-r--r--plugins.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins.c b/plugins.c
index 1d6c7ad7..f1f0c4f0 100644
--- a/plugins.c
+++ b/plugins.c
@@ -48,7 +48,10 @@ DB_functions_t deadbeef_api = {
.cond_wait = cond_wait,
.cond_signal = cond_signal,
.cond_broadcast = cond_broadcast,
- // metadata
+ // playlist access
+ .pl_item_alloc = (DB_playItem_t* (*)(void))pl_item_alloc,
+ .pl_item_free = (void (*)(DB_playItem_t *))pl_item_free,
+ .pl_item_copy = (void (*)(DB_playItem_t *, DB_playItem_t *))pl_item_copy,
.pl_find_meta = (const char *(*) (DB_playItem_t *song, const char *meta))pl_find_meta,
// volume control
.volume_set_db = volume_set_db,