diff options
| author | Robert Kukla <roolku@rockbox.org> | 2007-11-04 21:11:40 +0000 |
|---|---|---|
| committer | Robert Kukla <roolku@rockbox.org> | 2007-11-04 21:11:40 +0000 |
| commit | ca1b92089623a4e377f2fae67a790bd099a8d59d (patch) | |
| tree | 997c92846c51274220fa9ed9a2fd0962a8ee2359 /apps/metadata.c | |
| parent | 31c1164c49c88b32a5d0243c8ed32b01376772f2 (diff) | |
| download | rockbox-ca1b92089623a4e377f2fae67a790bd099a8d59d.zip rockbox-ca1b92089623a4e377f2fae67a790bd099a8d59d.tar.gz rockbox-ca1b92089623a4e377f2fae67a790bd099a8d59d.tar.bz2 rockbox-ca1b92089623a4e377f2fae67a790bd099a8d59d.tar.xz | |
Fix for FS#8082:
runtime data fields are filled like any other fields in the mp3entry struct during the call to get_metadata(); HWCODEC still uses the old callback mechanism
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15463 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata.c')
| -rw-r--r-- | apps/metadata.c | 7 |
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; } |