Skip to content
Client
Server

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

Interface: tNewPlaylist ​

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

A playlist that may not be there yet, by what it is to be called. apply looks through the listener's library for one they may add to with exactly this name and description before it makes one, so the description is the place for a mark of your own: Apple keeps nothing else of yours with a playlist.

Properties ​

description? ​

ts
readonly optional description?: string;

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

Its description. A playlist is the one meant only when its description is exactly this, or has none where this is not given.


name ​

ts
readonly name: string;

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

What the playlist is to be called. A playlist of the listener's is the one meant only when its name is exactly this.

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