summaryrefslogtreecommitdiffstats
path: root/apps/metadata.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-04-02 22:42:21 +0000
committerJens Arnold <amiconn@rockbox.org>2008-04-02 22:42:21 +0000
commit01a106dbfa51127d60ed4404e75f005d58738939 (patch)
tree5024c3e4712b7359804429801c098c2a4fdb5d0d /apps/metadata.c
parentd5f37b2235eee14041f538f3344e0f80bb73fe87 (diff)
downloadrockbox-01a106dbfa51127d60ed4404e75f005d58738939.tar.gz
rockbox-01a106dbfa51127d60ed4404e75f005d58738939.tar.bz2
rockbox-01a106dbfa51127d60ed4404e75f005d58738939.zip
Make the measured LCD scanrates from the greylib known to the scanrate test plugin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16938 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata.c')
-rw-r--r--apps/metadata.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/metadata.c b/apps/metadata.c
index 3abbd74c35..303fafc070 100644
--- a/apps/metadata.c
+++ b/apps/metadata.c
@@ -183,6 +183,14 @@ bool get_metadata(struct mp3entry* id3, int fd, const char* trackname)
break;
+ case AFMT_MOD:
+ if (!get_mod_metadata(fd, id3))
+ {
+ return false;
+ }
+
+ break;
+
case AFMT_SHN:
id3->vbr = true;
id3->filesize = filesize(fd);