summaryrefslogtreecommitdiff
path: root/playlist.h
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-03-09 14:00:48 +0100
committerGravatar waker <wakeroid@gmail.com>2011-03-09 14:00:48 +0100
commit298961916acac828df8de8ac740eacc2df0a5e40 (patch)
tree991dcf38fbe67150580c6b0fe6d0e9ab92644f4d /playlist.h
parent2d0b00f6bbd326790c053961ccec07106cb172c7 (diff)
few fixes/improvements to metadata editor and related plugin APIs
Diffstat (limited to 'playlist.h')
-rw-r--r--playlist.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/playlist.h b/playlist.h
index 11e3cb63..1a13ef8d 100644
--- a/playlist.h
+++ b/playlist.h
@@ -233,6 +233,9 @@ void
pl_set_meta_float (playItem_t *it, const char *key, float value);
void
+pl_delete_meta (playItem_t *it, const char *key);
+
+void
pl_delete_all_meta (playItem_t *it);
// returns index of 1st deleted item
@@ -370,7 +373,10 @@ void
pl_items_copy_junk (struct playItem_s *from, struct playItem_s *first, struct playItem_s *last);
struct DB_metaInfo_s *
-pl_get_metadata (playItem_t *it);
+pl_get_metadata_head (playItem_t *it);
+
+void
+pl_delete_metadata (playItem_t *it, struct DB_metaInfo_s *meta);
void
pl_set_order (int order);