Skip to content
Client
Server

Reference / @open-music-sdk/types / tLibraryAlbumAttributes

Interface: tLibraryAlbumAttributes ​

Defined in: library-album.ts:24

The attributes for a library album resource.

Properties ​

artistName? ​

ts
optional artistName?: string;

Defined in: library-album.ts:26

The artist’s name. Left out for some albums in a listener's library against the live API on 18 October 2026.


artwork? ​

ts
optional artwork?: tArtwork;

Defined in: library-album.ts:28

The album artwork. Left out for some albums in a listener's library against the live API on 18 October 2026.


contentRating? ​

ts
optional contentRating?: "clean" | "explicit";

Defined in: library-album.ts:30

The Recording Industry Association of America (RIAA) rating of the content. The possible values for this rating are clean and explicit. No value means no rating.


dateAdded? ​

ts
optional dateAdded?: string;

Defined in: library-album.ts:32

The date the album was added to the library, in YYYY-MM-DD or YYYY format.


genreNames ​

ts
genreNames: string[];

Defined in: library-album.ts:42

The names of the genres associated with this album.


inFavorites? ​

ts
optional inFavorites?: boolean;

Defined in: library-album.ts:44

Whether the catalog resource ID is in the person’s favorites.


name ​

ts
name: string;

Defined in: library-album.ts:34

The localized name of the album.


playParams? ​

ts
optional playParams?: tPlayParameters;

Defined in: library-album.ts:36

When present, this attribute indicates that tracks from the album are available to play. The value map may be used to initiate playback of available tracks on the album.


releaseDate? ​

ts
optional releaseDate?: string;

Defined in: library-album.ts:38

The release date of the album, when known, in YYYY-MM-DD or YYYY format. Prerelease albums may have an expected release date in the future.


trackCount ​

ts
trackCount: number;

Defined in: library-album.ts:40

The number of tracks.

MIT licensed. Not affiliated with, endorsed by, or sponsored by Apple Inc. Apple Music and MusicKit are trademarks of Apple Inc.