From 4cd9615aa11e0a749883e7254fe476e8ec64d938 Mon Sep 17 00:00:00 2001 From: David Howden Date: Wed, 20 Apr 2016 21:51:51 +1000 Subject: [PATCH] Set Vorbis.AlbumArtist to return "albumartist" attribute. --- vorbis.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vorbis.go b/vorbis.go index ba0df56..b395167 100644 --- a/vorbis.go +++ b/vorbis.go @@ -177,8 +177,9 @@ func (m *metadataVorbis) Album() string { } func (m *metadataVorbis) AlbumArtist() string { - // This field isn't included in the standard. - return "" + // This field isn't actually included in the standard, though + // it is commonly assigned to albumartist. + return m.c["albumartist"] } func (m *metadataVorbis) Composer() string {