|
/home/cpanrun/depot/main/contrib-patched/perl/CPAN/src/AudioFile-Identify-MusicBrainz/blib/lib/AudioFile/Identify/MusicBrainz/Track.pm |
AudioFile::Identify::MusicBrainz::Track
A 'Track' object. Holds properties like 'trackNum', 'artist', 'title', etc.
get/set the track title. Pass a string or an XML::DOM::Element.
get/set the trackNum. Pass a number or an XML::DOM::Element. Note that
this doesn't do the iTunes-style '3/14' numbering, it'll just be '3'.
get/set the trmid. Pass a string or an XML::DOM::Element.
get/set the creator id. Pass a string or an XML::DOM::Element. This corresponds
to the artist, but don't get the artist like this, get the artist with the the artist manpage
method, which will return a AudioFile::Identify::MusicBrainz::Artist object.
return a the AudioFile::Identify::MusicBrainz::Artist manpage object for the track artist.
get/set the track duration, in seconds.
The track object is created with no data in it, merely an url to ask about
for more information. getData() will get that url and build the properties of
the track. It's safe to call multiple times, as it won't fetch the data more
than once.
If you're getting the Track object via a Request or Album object, you can ignore this, as it'll be called for you.
|
/home/cpanrun/depot/main/contrib-patched/perl/CPAN/src/AudioFile-Identify-MusicBrainz/blib/lib/AudioFile/Identify/MusicBrainz/Track.pm |