Merge pull request #23 from dhowden/vorbis-albumartist

Set Vorbis.AlbumArtist to return "albumartist" attribute.
This commit is contained in:
David Howden 2016-04-21 07:00:30 +10:00
commit 66b965ab49

View File

@ -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 {