summaryrefslogtreecommitdiff
path: root/apps/tagcache.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-05-06 09:22:55 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-05-06 09:22:55 +0000
commit49f2709a01f6ea6230804c0787785b0f5569ca02 (patch)
tree7619ba1afc878b37c189f01f2fbb6797546427bf /apps/tagcache.c
parent0defb8483c817f18f5ee118bdfb48bc8910b523e (diff)
downloadrockbox-49f2709a01f6ea6230804c0787785b0f5569ca02.tar.gz
rockbox-49f2709a01f6ea6230804c0787785b0f5569ca02.zip
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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index 0d06d8f563..1efb7a8625 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -1618,6 +1618,8 @@ bool tagcache_fill_tags(struct mp3entry *id3, const char *filename)
1618 1618
1619 entry = &hdr->indices[idx_id]; 1619 entry = &hdr->indices[idx_id];
1620 1620
1621 memset(id3, 0, sizeof(struct mp3entry));
1622
1621 id3->title = get_tag_string(entry, tag_title); 1623 id3->title = get_tag_string(entry, tag_title);
1622 id3->artist = get_tag_string(entry, tag_artist); 1624 id3->artist = get_tag_string(entry, tag_artist);
1623 id3->album = get_tag_string(entry, tag_album); 1625 id3->album = get_tag_string(entry, tag_album);