Skip to content
Client
Server

Reference / @open-music-sdk/client-user / tRecentlyPlayedTypesOption

Interface: tRecentlyPlayedTypesOption ​

Defined in: clients/client-user/src/library.ts:255

The option of listRecentlyPlayed: which types of what was played.

Properties ​

types? ​

ts
readonly optional types?: readonly (
  | "stations"
  | "library-albums"
  | "albums"
  | "artists"
  | "curators"
  | "library-playlists"
  | "playlists")[];

Defined in: clients/client-user/src/library.ts:257

The types of resource to keep to, such as ["albums", "playlists"]. Apple's documentation says to name one at least, though Apple answered without it, against the live API on 18 October 2026, with what it does with all of them.

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