summaryrefslogtreecommitdiff
path: root/apps/metadata.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/metadata.c')
-rw-r--r--apps/metadata.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/metadata.c b/apps/metadata.c
index 6671975..97926fe 100644
--- a/apps/metadata.c
+++ b/apps/metadata.c
@@ -26,6 +26,9 @@
#include "playback.h"
#include "debug.h"
#include "logf.h"
+#ifdef HAVE_TAGCACHE
+#include "tagtree.h"
+#endif
#include "cuesheet.h"
#if CONFIG_CODEC == SWCODEC
@@ -319,6 +322,10 @@ bool get_metadata(struct mp3entry* id3, int fd, const char* trackname)
lseek(fd, 0, SEEK_SET);
strncpy(id3->path, trackname, sizeof(id3->path));
+#ifdef HAVE_TAGCACHE
+ tagtree_buffer_event(id3);
+#endif
+
return true;
}