Playlist Data Type
From MeeMixWiki
Overview
The playlist data type represents a personalized user playlist.
On a user playlist you can:
- Request the next track in the playlist, using the playlist.getTrack operation.
- Edit the playlist (for example, rate tracks, block artists, block tracks, set the playlist pulse/atmosphere/surprise levels), using the edit playlist operations:
The playlist data type has the following fields:
| Name | Type | Description |
|---|---|---|
| playlistId | string | the playlist ID in MeeMix. |
| playlistName | string | the playlist name. |
| pulse | int | the playlist pulse level is an integer on a scale between 1 and 6. A pulse of 1 will cause the playlist to deliver very relaxing tunes, while 6 will bring party time tunes. |
| atmosphere | int | the playlist atmosphere level is an integer on a scale between 1 and 9. An atmosphere of 1 will cause the playlist to deliver very dark (melancholic) tunes, while 9 will try to bring very cheerful tunes. |
| surprise | int | the playlist surprise level is an integer on a scale between 0 and 6. A surprise level of 0 will result in playlist tracks that are relatively similar, while 6 will cause the playlist to include tracks which are musically far from the playlist’s canonical tracks. |
Example:
<playlist>
<playlistId>1</playlistId>
<playlistName>Pink Floyd</playlistName>
<pulse>2</pulse>
<surprise>0</surprise>
<atmosphere>1</atmosphere>
</playlist>
