Skip to content
Client
Server

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

Interface: tRecentlyPlayedTrackTypesOption ​

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

The option of listRecentlyPlayedTracks: which types of track.

Properties ​

types? ​

ts
readonly optional types?: readonly ("library-songs" | "songs" | "music-videos" | "library-music-videos")[];

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

The types of track to keep to, such as ["songs"]. 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.