public class TrackMetadata extends Object
| Modifier and Type | Field and Description |
|---|---|
List<Message> |
rawItems
The raw dbserver messages containing the metadata when it was read over the network.
|
org.deepsymmetry.cratedigger.pdb.RekordboxPdb.TrackRow |
rawRow
The raw row within a rekordbox database export from which this metadata was created,
if any.
|
DataReference |
trackReference
The unique track identifier that was used to request this track metadata.
|
CdjStatus.TrackType |
trackType
The type of track described by this metadata.
|
| Constructor and Description |
|---|
TrackMetadata(DataReference reference,
org.deepsymmetry.cratedigger.Database database,
CueList cueList)
Constructor for when reading from a rekordbox export file.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
SearchableItem |
getAlbum()
Get the album of the track.
|
SearchableItem |
getArtist()
Get the artist of the track.
|
int |
getArtworkId()
Get the artwork ID for the track.
|
int |
getBitRate()
Get the bit rate of the track, if known.
|
ColorItem |
getColor()
Get the color assigned to the track.
|
String |
getComment()
Get the comment assigned to the track.
|
CueList |
getCueList()
Get the cue list associated with the track.
|
String |
getDateAdded()
Get the date the track was added to the collection.
|
int |
getDuration()
Get the duration of the track, in seconds.
|
SearchableItem |
getGenre()
Get the genre of the track.
|
SearchableItem |
getKey()
Get the musical key of the track.
|
SearchableItem |
getLabel()
Get the label that released the track.
|
SearchableItem |
getOriginalArtist()
Get the track's original artist.
|
int |
getRating()
Get the rating assigned the track.
|
SearchableItem |
getRemixer()
Get the producer who remixed the track.
|
int |
getTempo()
Get the starting tempo of the track.
|
String |
getTitle()
Get the title of the track.
|
int |
getYear()
Get the year of the track, if known.
|
int |
hashCode() |
String |
toString() |
public final DataReference trackReference
public final CdjStatus.TrackType trackType
public final List<Message> rawItems
null if
the metadata was constructed from a RekordboxPdb.TrackRow.rawRowpublic final org.deepsymmetry.cratedigger.pdb.RekordboxPdb.TrackRow rawRow
null if it was read from a dbserver metadata response.rawItemspublic TrackMetadata(DataReference reference, org.deepsymmetry.cratedigger.Database database, CueList cueList)
reference - the unique track reference for which track metadata is desireddatabase - the database from which the row was loaded, in order to find related rowscueList - the cues associated with the track, if anyNoSuchElementException - if the specified track is not found in the databasepublic SearchableItem getAlbum()
public SearchableItem getArtist()
public int getArtworkId()
public ColorItem getColor()
public String getComment()
public int getBitRate()
public CueList getCueList()
null if no hot cues, loops, or memory points are
found in the track.public String getDateAdded()
public int getDuration()
public SearchableItem getGenre()
public SearchableItem getKey()
public SearchableItem getLabel()
public SearchableItem getOriginalArtist()
public int getRating()
public SearchableItem getRemixer()
public int getTempo()
public String getTitle()
public int getYear()
Copyright © 2016–2019 Deep Symmetry, LLC. All rights reserved.