Contents

MediaSearch

A description of the media items the user wants to play, add to a playlist, or express a preference for.

Declaration

object MediaSearch

Properties

NameTypeDescription
mediaNamestring

The name of the media item.

artistNamestring

The creator or performer of the media item.

albumNamestring

The album that contains the media item.

mediaTypeMediaItemType

The type of media the user wants.

genreNames[string]

Genres that apply to this media item. These are the same genres as those at genreNames.

moodNames[string]

Feelings that describe the media item the user wants, such as happy or focused.

releaseDateDateComponentsRange

The date of the media item’s first publication, or a period of time.

sortOrderMediaSortOrder

The prioritization to apply to search results.

referenceMediaReference

An indicator of whether the client is playing this media item.

mediaIdentifierstring

The identifier for a specific media item.

Discussion

A releaseDate may refer to the publication of a specific media item, or to music typical of a particular decade. For example, the client represents Play some 80s music with a releaseDate ranging from the first moment of 1980 to the last moment of 1989.

Topics

Prioritizing Search Results

Filtering by Release Date

See Also

Media Items