summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2010-02-14 12:45:59 +0000
committerAmaury Pouly <pamaury@rockbox.org>2010-02-14 12:45:59 +0000
commitbb13650d666a51df382c8898d6d5dff1e7cdf178 (patch)
treea4099d3098ba2b846ac9e37401e74209c4af00e9
parentf884068c6eebc2a5374b02b1d4750832993f204f (diff)
downloadrockbox-bb13650d666a51df382c8898d6d5dff1e7cdf178.zip
rockbox-bb13650d666a51df382c8898d6d5dff1e7cdf178.tar.gz
rockbox-bb13650d666a51df382c8898d6d5dff1e7cdf178.tar.bz2
rockbox-bb13650d666a51df382c8898d6d5dff1e7cdf178.tar.xz
Have tagcache_fill_tags also fill the length entry of the mp3entry structure.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24647 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/tagcache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index 7efaac0..6885584 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -1613,6 +1613,7 @@ bool tagcache_fill_tags(struct mp3entry *id3, const char *filename)
id3->albumartist = get_tag_string(entry, tag_albumartist);
id3->grouping = get_tag_string(entry, tag_grouping);
+ id3->length = get_tag_numeric(entry, tag_length);
id3->playcount = get_tag_numeric(entry, tag_playcount);
id3->rating = get_tag_numeric(entry, tag_rating);
id3->lastplayed = get_tag_numeric(entry, tag_lastplayed);