Album

The Album class represents an album in the Melon library, including metadata, user statistics, artwork, and associations with artists and genres.

Properties

Identification

Property Type Description
_id string The unique identifier for the album in the database.

Basic Information

Property Type Description
Name string The title of the album.
Bio string A detailed description or background information about the album.
Publisher string The publisher or record label that released the album.
ReleaseStatus string The current release status (e.g., "Released", "Upcoming").
ReleaseType string The type of release (e.g., "Album", "Single", "EP").
ReleaseDate DateTime The official release date of the album.
DateAdded DateTime The date and time when the album was added to the system.

Content Details

Property Type Description
TotalDiscs int The total number of discs in the album.
TotalTracks int The total number of tracks across all discs in the album.

Artwork

Property Type Description
AlbumArtCount int The number of album artwork images available.
AlbumArtDefault int The index of the default album artwork to display.
AlbumArtPaths List<string> A list of file paths or URLs to the album's artwork images.
FetchedArtPath string? A cover the artwork scan found online. Only shown when the album has no cover of its own. Not sent to clients.
MusicBrainzReleaseGroupId string? From the files' tags, or looked up by the artwork scan.
MusicBrainzReleaseId string? From the files' tags.
MusicBrainzArtistIds List<string>? The album artists' MusicBrainz ids from the files' tags.
ArtworkCheckedUtc DateTime? When the artwork scan last asked providers about this album.

Genres and Artists

Property Type Description
AlbumGenres List<string> A list of genres associated with the album.
AlbumArtists List<DbLink> Primary artists who created the album.
ContributingArtists List<DbLink> Artists who contributed to the album.
Variants List<DbLink> Other copies of the same release, like a vinyl rip next to a CD rip, or a deluxe next to the standard. Each copy is its own album, and they link to each other here. See Copies of a Release.

User Statistics

Property Type Description
PlayCounts List<UserStat> Play count statistics per user or aggregated.
SkipCounts List<UserStat> Skip count statistics indicating how often tracks are skipped.
Ratings List<UserStat> User ratings for the album.

Server Information

Property Type Description
ServerURL string The base URL of the server hosting the album's resources.

This value is unused. It is planned for use with listening parties in v2.


ResponseAlbum

The ResponseAlbum class is used for HTTP responses, providing a trimmed version of the album data suitable for client consumption.

Properties

All properties are the same as in the Album class, except AlbumArtPaths is excluded to reduce payload size and protect internal data.