summaryrefslogtreecommitdiff
path: root/plugins/wavpack
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2012-06-11 22:45:12 +0200
committerGravatar waker <wakeroid@gmail.com>2012-06-11 22:45:12 +0200
commite7592deb6bc8d636b13ed4b26e7cb95e721c7c73 (patch)
tree4aac698a8b3e7f280dc4e756b8edce35b120c641 /plugins/wavpack
parent647d7db8a8b9f11fdcb15437a0b258f95d6f4cd2 (diff)
wavpack: fixed reload_metadata not clearing old data
Diffstat (limited to 'plugins/wavpack')
-rw-r--r--plugins/wavpack/wavpack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/wavpack/wavpack.c b/plugins/wavpack/wavpack.c
index bb045f5e..7e81f5e9 100644
--- a/plugins/wavpack/wavpack.c
+++ b/plugins/wavpack/wavpack.c
@@ -382,6 +382,7 @@ wv_read_metadata (DB_playItem_t *it) {
if (!fp) {
return -1;
}
+ deadbeef->pl_delete_all_meta (it);
int apeerr = deadbeef->junk_apev2_read (it, fp);
if (!apeerr) {
trace ("wv: ape tag found\n");