NAME
AudioFile::Identify::MusicBrainz::Result
DESCRIPTION
Represents a result returned from a MusicBrainz query. Can represent either a returned track, or a returned album.
METHODS
relevance
get/set the result relevance
album
get/set the album of the result. Returns a AudioFile::Identify::MusicBrainz::Album object if called with no parameters, sets the ID of the album if called with a parameter.
type
get/set the result type. This will be 'Album' for an album result, in which case there will only be an album returned, and track will return undef, or 'Track' for a track result, in which case there will be results for both track and album.
track
get/set the track of the result, assuming the result type is 'Track'. Returns a AudioFile::Identify::MusicBrainz::Track object if called with no parameters, sets the ID of the track if called with a parameter.