diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2010-10-10 10:24:50 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2010-10-10 10:24:50 +0000 |
commit | 0d100b4dd83a780af9bd3e3b0384e4a40e517ff4 (patch) | |
tree | d89c37fa67de9c7422c6867279dd60369788efc9 | |
parent | 5cf249155e6efd686621b53b57a413fe20e1fed7 (diff) | |
download | rockbox-0d100b4dd83a780af9bd3e3b0384e4a40e517ff4.tar.gz rockbox-0d100b4dd83a780af9bd3e3b0384e4a40e517ff4.zip |
Fix FS# 11414 : .mod files - metadata in incorrect fields
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28228 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/metadata/mod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/metadata/mod.c b/apps/metadata/mod.c index e10090499e..dbedc6e62f 100644 --- a/apps/metadata/mod.c +++ b/apps/metadata/mod.c | |||
@@ -49,9 +49,9 @@ bool get_mod_metadata(int fd, struct mp3entry* id3) | |||
49 | 49 | ||
50 | p = id3->id3v2buf; | 50 | p = id3->id3v2buf; |
51 | 51 | ||
52 | /* Copy Title as artist */ | 52 | /* Copy Title */ |
53 | strcpy(p, &buf[0x00]); | 53 | strcpy(p, &buf[0x00]); |
54 | id3->artist = p; | 54 | id3->title = p; |
55 | p += strlen(p)+1; | 55 | p += strlen(p)+1; |
56 | 56 | ||
57 | id3->bitrate = filesize(fd)/1024; /* size in kb */ | 57 | id3->bitrate = filesize(fd)/1024; /* size in kb */ |