Skip to content
Client
Server

Reference / @open-music-sdk/types / tLibraryMusicVideoAttributes

Interface: tLibraryMusicVideoAttributes ​

Defined in: library-music-video.ts:23

The attributes for the library music videos resource type.

Properties ​

albumName? ​

ts
optional albumName?: string;

Defined in: library-music-video.ts:25

The name of the album the music video appears on.


artistName ​

ts
artistName: string;

Defined in: library-music-video.ts:27

The artist’s name.


artwork ​

ts
artwork: tArtwork;

Defined in: library-music-video.ts:29

The artwork for the music video’s associated album.


contentRating? ​

ts
optional contentRating?: "clean" | "explicit";

Defined in: library-music-video.ts:31

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.


durationInMillis ​

ts
durationInMillis: number;

Defined in: library-music-video.ts:33

The duration of the music video in milliseconds.


genreNames ​

ts
genreNames: string[];

Defined in: library-music-video.ts:35

The names of the genres associated with this music video.


inFavorites? ​

ts
optional inFavorites?: boolean;

Defined in: library-music-video.ts:37

Whether the catalog resource ID is in the person’s favorites.


name ​

ts
name: string;

Defined in: library-music-video.ts:39

The localized name of the music video.


playParams? ​

ts
optional playParams?: tPlayParameters;

Defined in: library-music-video.ts:41

When present, this attribute indicates that the music video is able to play. The value map may be used to initiate playback.


releaseDate? ​

ts
optional releaseDate?: string;

Defined in: library-music-video.ts:43

The release date of the music video, when known, in YYYY-MM-DD or YYYY format. Prerelease content may have an expected release date in the future.


trackNumber? ​

ts
optional trackNumber?: number;

Defined in: library-music-video.ts:45

The number of the music video in the album’s track list.

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