mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
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
This commit is contained in:
parent
7b055ab665
commit
6a92e475ac
6 changed files with 50 additions and 49 deletions
|
@ -536,7 +536,7 @@ static enum plugin_status test_track(char* filename)
|
|||
/* Clear the id3 struct */
|
||||
rb->memset(&track.id3, 0, sizeof(struct mp3entry));
|
||||
|
||||
if (!rb->get_metadata(&track, fd, filename,
|
||||
if (!rb->get_metadata(&(track.id3), fd, filename,
|
||||
rb->global_settings->id3_v1_first))
|
||||
{
|
||||
log_text("Cannot read metadata",true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue