diff options
author | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-08-14 11:56:13 +0000 |
---|---|---|
committer | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-08-14 11:56:13 +0000 |
commit | 6a92e475acbc0b34e0fc302f5bb25799e990bc6f (patch) | |
tree | 29c6198673bc11f3482f7c6261c57664af3418c1 /apps/tagcache.c | |
parent | 7b055ab665a66ee2d5a2cd047cd4519daa35fae5 (diff) |
Make get_metadata act on a struct mp3entry rather than a struct track_info.
This should make it easy to use a buffer handle to put the ID3 data in.
The changes in get_metadata are mostly search and replace. The only thing
it actually used to do on the struct track_info was set taginfo_ready to
true.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14326 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r-- | apps/tagcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index 309718a932..b1811061b2 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -1660,7 +1660,7 @@ static void add_tagcache(char *path) memset(&track, 0, sizeof(struct track_info)); memset(&entry, 0, sizeof(struct temp_file_entry)); memset(&tracknumfix, 0, sizeof(tracknumfix)); - ret = get_metadata(&track, fd, path, false); + ret = get_metadata(&(track.id3), fd, path, false); close(fd); if (!ret) |