mpc-js
    Preparing search index...

    Class Song

    Base class for objects in the music database.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    album?: string

    the album name

    albumArtist?: string

    on multi-artist albums, this is the artist name which shall be used for the whole album. The exact meaning of this tag is not well-defined

    albumArtistSort?: string

    same as albumArtist, but for sorting

    albumSort?: string

    same as album, but for sorting

    artist?: string

    the artist name. Its meaning is not well-defined; see “composer” and “performer” for more specific tags

    artistSort?: string

    same as artist, but for sorting. This usually omits prefixes such as “The”

    bitDepth?: number
    channels?: number
    comment?: string

    a human-readable comment about this song. The exact meaning of this tag is not well-defined

    composer?: string

    the artist who composed the song

    composerSort?: string

    same as composer, but for sorting

    conductor?: string

    the conductor who conducted the song

    date?: string

    the song’s release date. This is usually a 4-digit year

    disc?: string

    the decimal disc number in a multi-disc album

    duration?: number

    the duration of the song in seconds; may contain a fractional part

    ensemble?: string

    the ensemble performing this song, e.g. “Wiener Philharmoniker”

    entryType: "song"
    format?: string

    The format emitted by the decoder plugin, format: "samplerate:bits:channels".

    genre?: string

    the music genre

    grouping?: string

    “used if the sound belongs to a larger category of sounds/music”

    label?: string

    the name of the label or publisher

    lastModified?: Date
    location?: string

    location of the recording, e.g. “Royal Albert Hall”

    mood?: string

    the mood of the audio with a few keywords

    movement?: string

    name of the movement, e.g. “Andante con moto”

    movementNumber?: string

    movement number, e.g. “2” or “II”

    musicBrainzAlbumArtistId?: string

    the album artist id in the MusicBrainz database

    musicBrainzAlbumId?: string

    the album id in the MusicBrainz database

    musicBrainzArtistId?: string

    the artist id in the MusicBrainz database

    musicBrainzReleaseGroupId?: string

    the release group id in the MusicBrainz database

    musicBrainzReleaseTrackId?: string

    the release track id in the MusicBrainz database

    musicBrainzTrackId?: string

    the track id in the MusicBrainz database

    musicBrainzWorkId?: string

    the work id in the MusicBrainz database

    name?: string

    a name for this song. This is not the song title. The exact meaning of this tag is not well-defined. It is often used by badly configured internet radio stations with broken tags to squeeze both the artist name and the song title in one tag

    originalDate?: string

    the song’s original release date

    path: string
    performer?: string

    the artist who performed the song

    sampleRate?: number
    showMovement?: boolean

    If this is true players supporting this tag will display the work, movement, and movementnumber` instead of the track title

    title?: string

    the song title

    titleSort?: string

    same as title, but for sorting

    track?: string

    the decimal track number within the album

    work?: string

    “a work is a distinct intellectual or artistic creation, which can be expressed in the form of one or more audio recordings”

    Methods