NAME
AudioFile::Identify::MusicBrainz::Store
DESCRIPTION
Acts as a cache to store and retrieve objects. All created objects have the store passed to them, and keep created objects in it.
METHODS
init
the init method (called by new) creates an artist in the store for the 'Various Artists' artist, used by MusicBrainz for.. well, representing 'Various Artists', mostly.
cleanObjId(id)
Package method that returns a cleaned up version of the object id, or croaks if id is undefined.
cleanObjId(id)
Package method that determines the type of an object from its URL. Returns the type as a string, or croaks if id is undefined.
obj(id, [objRef])
get/set an object with a given id in the store.
objExists(id)
Returns the reference to the object with the passed id
. This evaluates to true if an object with a given id exists in the store, false otherwise.
album(id, [album])
get/set an album with a given id in the store.
artist(id, [album])
get/set an artist with a given id in the store.
track(id, [album])
get/set an track with a given id in the store.