Reference / @open-music-sdk/types / tLibraryAlbumAttributes
Interface: tLibraryAlbumAttributes
Defined in: library-album.ts:24
The attributes for a library album resource.
Properties
artistName?
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?
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?
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?
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
genreNames: string[];Defined in: library-album.ts:42
The names of the genres associated with this album.
inFavorites?
optional inFavorites?: boolean;Defined in: library-album.ts:44
Whether the catalog resource ID is in the person’s favorites.
name
name: string;Defined in: library-album.ts:34
The localized name of the album.
playParams?
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?
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
trackCount: number;Defined in: library-album.ts:40
The number of tracks.