Home | Trees | Indices | Help |
---|
|
object --+ | Entity --+ | Track
Represents a track.
This class represents a track which may appear on one or more releases. A track may be associated with exactly one artist (the main artist).
Using getReleases, you can find out on which releases this track appears. To get the track number, too, use the Release.getTracksOffset method.Note: Currently, the MusicBrainz server doesn't support tracks to be on more than one release.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Properties | |
title The track's title. |
|
artist The track's main artist. |
|
duration The duration in milliseconds. |
|
puids The list of associated PUIDs. |
|
releases The releases on which this track appears. |
|
Inherited from Inherited from |
Method Details |
|
Returns the track's title. The style and format of this attribute is specified by the style guide.
See Also: The MusicBrainz Style Guidelines |
See Also: getTitle |
|
|
|
|
Returns the duration as a (minutes, seconds) tuple. If no duration is set, (0, 0) is returned. Seconds are rounded towards the ceiling if at least 500 milliseconds are left.
|
Returns the PUIDs associated with this track. Please note that a PUID may be associated with more than one track.
|
|
|
|
Property Details |
titleThe track's title.
|
artistThe track's main artist.
|
durationThe duration in milliseconds.
|
puidsThe list of associated PUIDs.
|
releasesThe releases on which this track appears.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0beta1 on Tue May 27 10:30:21 2008 | http://epydoc.sourceforge.net |