MediaSearch
A description of the media items the user wants to play, add to a playlist, or express a preference for.
Declaration
object MediaSearchProperties
| Name | Type | Description |
|---|---|---|
mediaName | string | The name of the media item. |
artistName | string | The creator or performer of the media item. |
albumName | string | The album that contains the media item. |
mediaType | MediaItemType | 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 |
releaseDate | DateComponentsRange | The date of the media item’s first publication, or a period of time. |
sortOrder | MediaSortOrder | The prioritization to apply to search results. |
reference | MediaReference | An indicator of whether the client is playing this media item. |
mediaIdentifier | string | 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.