diff options
author | waker <wakeroid@gmail.com> | 2011-10-01 10:33:47 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-10-01 10:33:47 +0200 |
commit | ecafc1687513de35d080a9b4be14022e885a95e1 (patch) | |
tree | 83afbacdd59323cd788aecbb6c1754c10c96b874 /playlist.h | |
parent | 76f14028b56a1cdb6627b0db0e6af0a74a9b76f3 (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.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |