AudioFile::Identify::MusicBrainz::Result
Represents a result returned from a MusicBrainz query. Can represent either a returned track, or a returned album.
get/set the result relevance
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.
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.
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.