diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-05-06 09:22:55 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-05-06 09:22:55 +0000 |
| commit | 49f2709a01f6ea6230804c0787785b0f5569ca02 (patch) | |
| tree | 7619ba1afc878b37c189f01f2fbb6797546427bf /apps/tagcache.c | |
| parent | 0defb8483c817f18f5ee118bdfb48bc8910b523e (diff) | |
| download | rockbox-49f2709a01f6ea6230804c0787785b0f5569ca02.zip rockbox-49f2709a01f6ea6230804c0787785b0f5569ca02.tar.gz rockbox-49f2709a01f6ea6230804c0787785b0f5569ca02.tar.bz2 rockbox-49f2709a01f6ea6230804c0787785b0f5569ca02.tar.xz | |
If dircache and database "load to ram" is enabled then get the id3 info from the database in the WPS playlist viewer for non buffered tracks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25841 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagcache.c')
| -rw-r--r-- | apps/tagcache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index 0d06d8f..1efb7a8 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -1618,6 +1618,8 @@ bool tagcache_fill_tags(struct mp3entry *id3, const char *filename) entry = &hdr->indices[idx_id]; + memset(id3, 0, sizeof(struct mp3entry)); + id3->title = get_tag_string(entry, tag_title); id3->artist = get_tag_string(entry, tag_artist); id3->album = get_tag_string(entry, tag_album); |