---
name: "MusicBrainz::Client::Simple::Track"
section: "3pm"
platform: "linux"
package: "libmusicbrainz-client-perl"
version: "0.11-2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/MusicBrainz::Client::Simple::Track"
---

# MusicBrainz::Client::Simple::Track(3pm)

MusicBrainz Track Information

## NAME

MusicBrainz::Client::Simple::Track - MusicBrainz Track Information

## SYNOPSIS

## DESCRIPTION

*MusicBrainz::Client::Simple::Track* is a class providing access to track information.

## CONSTRUCTOR

Users of this class need no constructor. Instances are made available through *MusicBrainz::Client::Simple*.

## METHODS

- *get\_artist()*

  Returns a MusicBrainz::Client::Simple::Artist object describing the artist of this track.

- *get\_duration()*

  Returns the duration of this track in milliseconds.

- *get\_id()*

  Returns the *TrackID* that uniquely identifies this track at MusicBrainz.

- *get\_name()*

  Returns the track's name.

- *get\_num()*

  Returns the number of this track on the album.

## EXPORT

None by default.

## SEE ALSO

```
 MusicBrainz::Client::Simple
 MusicBrainz::Client::Simple::Album
 MusicBrainz::Client::Simple::Artist
 MusicBrainz::Client
 http://www.musicbrainz.org
 perl(1)
```

## AUTHORS

```
 Matthias Friedrich, <matt@mafr.de>
 Sander van Zoest, <svanzoest@cpan.org>
```

## COPYRIGHT AND LICENSE

Copyright 2003 by Matthias Friedrich \<matt@mafr.de\>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
