Skip to content
Client
Server

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

Interface: tMusicVideoAttributes ​

Defined in: music-video.ts:27

The attributes for a music video resource.

Properties ​

albumName? ​

ts
optional albumName?: string;

Defined in: music-video.ts:29

The name of the album the music video appears on.


artistName ​

ts
artistName: string;

Defined in: music-video.ts:31

The artist’s name.


artistUrl? ​

ts
optional artistUrl?: string;

Defined in: music-video.ts:33

The URL of the artist for this content.


artwork ​

ts
artwork: tArtwork;

Defined in: music-video.ts:35

The artwork for the music video’s associated album.


contentRating? ​

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

Defined in: music-video.ts:37

The Recording Industry Association of America (RIAA) rating of the content. No value means no rating.


durationInMillis? ​

ts
optional durationInMillis?: number;

Defined in: music-video.ts:39

The duration of the music video in milliseconds. Left out for some of an album's tracks against the live API on 18 October 2026.


editorialNotes? ​

ts
optional editorialNotes?: tEditorialNotes;

Defined in: music-video.ts:41

The editorial notes for the music video.


genreNames ​

ts
genreNames: string[];

Defined in: music-video.ts:43

The music video’s associated genres.


has4K ​

ts
has4K: boolean;

Defined in: music-video.ts:45

Whether the music video has 4K content.


hasHDR ​

ts
hasHDR: boolean;

Defined in: music-video.ts:47

Whether the music video has HDR10-encoded content.


inFavorites? ​

ts
optional inFavorites?: boolean;

Defined in: music-video.ts:49

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


isrc? ​

ts
optional isrc?: string;

Defined in: music-video.ts:51

The International Standard Recording Code (ISRC) for the music video.


name ​

ts
name: string;

Defined in: music-video.ts:53

The localized name of the music video.


playParams? ​

ts
optional playParams?: tPlayParameters;

Defined in: music-video.ts:55

When present, indicates that the music video is available to play with an Apple Music subscription. The value map may be used to initiate playback. Previews of the music video may be available with or without an Apple Music subscription.


previews ​

ts
previews: tPreview[];

Defined in: music-video.ts:57

The preview assets for the music video.


releaseDate? ​

ts
optional releaseDate?: string;

Defined in: music-video.ts:59

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


trackNumber? ​

ts
optional trackNumber?: number;

Defined in: music-video.ts:61

The number of the music video in the album’s track list, when associated with an album.


url ​

ts
url: string;

Defined in: music-video.ts:63

The URL for sharing the music video in Apple Music.


videoSubType? ​

ts
optional videoSubType?: "preview";

Defined in: music-video.ts:65

The video subtype associated with the content.


workId? ​

ts
optional workId?: string;

Defined in: music-video.ts:67

(Classical music only) A unique identifier for the associated work.


workName? ​

ts
optional workName?: string;

Defined in: music-video.ts:69

(Classical music only) The name of the associated work.

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