Skip to content
Client
Server

Reference / @open-music-sdk/lib-playlists / tPlaylistSnapshot

Interface: tPlaylistSnapshot ​

Defined in: lib/lib-playlists/src/plan.ts:34

A playlist of the listener's library as read gives it: what it is called and every track it holds, in order.

Properties ​

canEdit? ​

ts
readonly optional canEdit?: boolean;

Defined in: lib/lib-playlists/src/plan.ts:42

Whether the listener may add to it.


description? ​

ts
readonly optional description?: string;

Defined in: lib/lib-playlists/src/plan.ts:40

The playlist's description as written, where it has one.


id ​

ts
readonly id: string;

Defined in: lib/lib-playlists/src/plan.ts:36

The playlist's id in the listener's library: what read was asked for.


name? ​

ts
readonly optional name?: string;

Defined in: lib/lib-playlists/src/plan.ts:38

What the playlist is called, where Apple gave it.


tracks ​

ts
readonly tracks: readonly tPlaylistSnapshotTrack[];

Defined in: lib/lib-playlists/src/plan.ts:44

Every track it holds, in order.

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