public interface MetadataProvider
MetadataFinder.addMetadataProvider(MetadataProvider).
Examples include cue lists that store their own copies of the metadata. Metadata caches created by Beat Link
as ZIP files also implement this interface, but they are treated specially because they existed before it, and
for backwards compatibility need to support files that do not know what media they were created from.| Modifier and Type | Method and Description |
|---|---|
AlbumArt |
getAlbumArt(MediaDetails sourceMedia,
DataReference art)
Get a particular album art image, if it is available.
|
BeatGrid |
getBeatGrid(MediaDetails sourceMedia,
DataReference track)
Get the beat grid for a particular track, if it is available.
|
CueList |
getCueList(MediaDetails sourceMedia,
DataReference track)
Get the cue list for a particular track, if it is available.
|
TrackMetadata |
getTrackMetadata(MediaDetails sourceMedia,
DataReference track)
Get metadata for a particular track, if it is available.
|
WaveformDetail |
getWaveformDetail(MediaDetails sourceMedia,
DataReference track)
Get the waveform detail for a particular track, if it is available.
|
WaveformPreview |
getWaveformPreview(MediaDetails sourceMedia,
DataReference track)
Get the waveform preview for a particular track, if it is available.
|
List<MediaDetails> |
supportedMedia()
Get the list of media devices for which metadata can be offered by this provider.
|
List<MediaDetails> supportedMedia()
MetadataFinder.addMetadataProvider(MetadataProvider).TrackMetadata getTrackMetadata(MediaDetails sourceMedia, DataReference track)
sourceMedia - the media to which the track belongs, for use by providers which store metadata from multiple
sourcestrack - identifies the track whose metadata is desired; since track metadata always has a player and
slot associated with it, those are needed as well as the rekordbox ID in order to create itnull if it is not a track for which we have metadataAlbumArt getAlbumArt(MediaDetails sourceMedia, DataReference art)
sourceMedia - the media to which the art belongs, for use by providers which store metadata from multiple
sourcesart - identifies the album art whose metadata is desired; since art always has a player and slot
associated with it, those are needed as well as the rekordbox ID in order to create itnull if we don't have it to offerBeatGrid getBeatGrid(MediaDetails sourceMedia, DataReference track)
sourceMedia - the media to which the track belongs, for use by providers which store metadata from multiple
sourcestrack - identifies the track whose beat grid is desired; since beat grids always have a player and
slot associated with them, those are needed as well as the rekordbox ID in order to create onenull if we don't have one to offerCueList getCueList(MediaDetails sourceMedia, DataReference track)
sourceMedia - the media to which the track belongs, for use by providers which store metadata from multiple
sourcestrack - identifies the track whose cue list is desirednull if we don't have one to offerWaveformPreview getWaveformPreview(MediaDetails sourceMedia, DataReference track)
sourceMedia - the media to which the track belongs, for use by providers which store metadata from multiple
sourcestrack - identifies the track whose waveform preview is desired; since beat grids always have a player and
slot associated with them, those are needed as well as the rekordbox ID in order to create onenull if we don't have one to offerWaveformDetail getWaveformDetail(MediaDetails sourceMedia, DataReference track)
sourceMedia - the media to which the track belongs, for use by providers which store metadata from multiple
sourcestrack - identifies the track whose waveform detail is desired; since beat grids always have a player and
slot associated with them, those are needed as well as the rekordbox ID in order to create onenull if we don't have one to offerCopyright © 2016–2019 Deep Symmetry, LLC. All rights reserved.