diff options
author | Robert Keevil <rkeevil+rockbox@gmail.com> | 2008-10-07 18:39:44 +0000 |
---|---|---|
committer | Robert Keevil <rkeevil+rockbox@gmail.com> | 2008-10-07 18:39:44 +0000 |
commit | 2c170356f38f5630b9fefdc5b1e7e57babb5cc40 (patch) | |
tree | 9ba565416427f76e6cf4754ef199ed02f804edf6 /apps/metadata/asf.c | |
parent | 7eb194477a19a12d76bceb64108ffad2da784c9f (diff) | |
download | rockbox-2c170356f38f5630b9fefdc5b1e7e57babb5cc40.tar.gz rockbox-2c170356f38f5630b9fefdc5b1e7e57babb5cc40.zip |
FS#9139 - support for ver 1.1 scrobbler log files. Upload any old files first - uploading software may need updating, see the LastFMLog wiki page
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18732 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata/asf.c')
-rw-r--r-- | apps/metadata/asf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/metadata/asf.c b/apps/metadata/asf.c index fa1308b560..255a0bcba4 100644 --- a/apps/metadata/asf.c +++ b/apps/metadata/asf.c | |||
@@ -465,6 +465,9 @@ static int asf_parse_header(int fd, struct mp3entry* id3, | |||
465 | id3buf = value; | 465 | id3buf = value; |
466 | id3buf_remaining = buf_len; | 466 | id3buf_remaining = buf_len; |
467 | } | 467 | } |
468 | } else if (!strcmp("MusicBrainz/Track Id", utf8buf)) { | ||
469 | id3->mb_track_id = id3buf; | ||
470 | asf_utf16LEdecode(fd, length, &id3buf, &id3buf_remaining); | ||
468 | } else { | 471 | } else { |
469 | lseek(fd, length, SEEK_CUR); | 472 | lseek(fd, length, SEEK_CUR); |
470 | } | 473 | } |