import { type AdditionalTrackInfo } from "https://deno.land/x/listenbrainz@v0.8.1/mod.ts";
Additional metadata an audio track can have.
Other unspecified fields that may be submitted here will not be removed, but ListenBrainz may decide to formally specify or scrub fields in the future.
Properties
List of MusicBrainz Artist IDs, one or more IDs may be included here. If you have a complete MusicBrainz artist credit that contains multiple Artist IDs, include them all in this list.
List of user-defined folksonomy tags to be associated with this recording.
You may submit up to MAX_TAGS_PER_LISTEN
tags and each tag may be up to
MAX_TAG_SIZE
characters large.
The name of the client that is being used to submit listens to ListenBrainz.
If the media player has the ability to submit listens built-in then this
value may be the same as media_player
.
Don’t include a version number here.
If the song being listened to comes from an online service, the canonical domain of this service (rather than a textual description or URL).
This allows ListenBrainz to refer unambiguously to a service without worrying about capitalization or full/short names (such as the difference between “Internet Archive”, “The Internet Archive” or “Archive”).
If the song being listened to comes from an online service and you don’t know the canonical domain, a name that represents the service.
If the song of this listen comes from an online source, the URL to the
place where it is available. This could be a Spotify URL
(see spotify_id
), a YouTube video URL, a Soundcloud recording
page URL, or the full URL to a public MP3 file.
If there is a webpage for this song (e.g. Youtube page, Soundcloud page)
do not try and resolve the URL to an actual audio resource.
The duration of the track in milliseconds (integer).
You should only include one of duration_ms
or duration
.