diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-04-30 17:12:25 +0200 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-04-30 17:12:25 +0200 |
commit | f22b185ca45d8adacd3bd7c1b7541e141566bc21 (patch) | |
tree | 7c94b457c130af381d0c8a93ec66dc1dc639845c /plmeta.c | |
parent | 3e1ab26d8c88c5f420101a1e52cee52dfa0e3586 (diff) |
fixed bug in pl_add_meta which was skipping some of the fields, especially when using pl_items_copy_junk
Diffstat (limited to 'plmeta.c')
-rw-r--r-- | plmeta.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -52,7 +52,7 @@ pl_add_meta (playItem_t *it, const char *key, const char *value) { return; } // find end of normal metadata - if (!normaltail && (m->key[0] == ':' || m->key[0] == '_' || m->key[0] == '!')) { + if (!normaltail && (!m->next || m->key[0] == ':' || m->key[0] == '_' || m->key[0] == '!')) { normaltail = tail; propstart = m; if (key[0] != ':' && key[0] != '_' && key[0] != '!') { |