summaryrefslogtreecommitdiff
path: root/playlist.h
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-10-01 10:33:47 +0200
committerGravatar waker <wakeroid@gmail.com>2011-10-01 10:33:47 +0200
commitecafc1687513de35d080a9b4be14022e885a95e1 (patch)
tree83afbacdd59323cd788aecbb6c1754c10c96b874 /playlist.h
parent76f14028b56a1cdb6627b0db0e6af0a74a9b76f3 (diff)
added experimental support for metadata overrides.
for example field "!NAME" will override field ":NAME", but will not be stored so after player restart, the field will be restored to original :NAME
Diffstat (limited to 'playlist.h')
-rw-r--r--playlist.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/playlist.h b/playlist.h
index 2f9a9d6a..a517930b 100644
--- a/playlist.h
+++ b/playlist.h
@@ -244,9 +244,13 @@ pl_append_meta (playItem_t *it, const char *key, const char *value);
// must be used in explicit pl_lock/unlock block
// that makes it possible to avoid copying metadata on every access
+// pl_find_meta may return overriden value (where the key is prefixed with '!')
const char *
pl_find_meta (playItem_t *it, const char *key);
+const char *
+pl_find_meta_raw (playItem_t *it, const char *key);
+
int
pl_find_meta_int (playItem_t *it, const char *key, int def);