From c92c8aae25076832b1db06682fc5f7e225462b83 Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Sat, 18 Dec 2010 14:33:25 +0100 Subject: [PATCH] Grab a few more metadata from iTunes playlists --- src/filescanner_itunes.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/filescanner_itunes.c b/src/filescanner_itunes.c index 3f967ebe..98c45e69 100644 --- a/src/filescanner_itunes.c +++ b/src/filescanner_itunes.c @@ -64,6 +64,8 @@ static struct metadata_map md_map[] = { { "Name", PLIST_STRING, mfi_offsetof(title) }, { "Artist", PLIST_STRING, mfi_offsetof(artist) }, + { "Album Artist", PLIST_STRING, mfi_offsetof(album_artist) }, + { "Composer", PLIST_STRING, mfi_offsetof(composer) }, { "Album", PLIST_STRING, mfi_offsetof(album) }, { "Genre", PLIST_STRING, mfi_offsetof(genre) }, { "Comments", PLIST_STRING, mfi_offsetof(comment) }, @@ -75,6 +77,7 @@ static struct metadata_map md_map[] = { "Total Time", PLIST_UINT, mfi_offsetof(song_length) }, { "Bit Rate", PLIST_UINT, mfi_offsetof(bitrate) }, { "Sample Rate", PLIST_UINT, mfi_offsetof(samplerate) }, + { "BPM", PLIST_UINT, mfi_offsetof(bpm) }, { "Rating", PLIST_UINT, mfi_offsetof(rating) }, { "Compilation", PLIST_BOOLEAN, mfi_offsetof(compilation) }, { "Date Added", PLIST_DATE, mfi_offsetof(time_added) },