[][src]Module aspotify::endpoints::player

Endpoint functions related to controlling what is playing on the current user's Spotify account. (Beta)

All endpoints in here are in Beta, and so are more likely to break.

The device_id parameter seen in this module is the device to perform the request on. If not specified, it will default to the current user's currenttly active device.

Enums

Play

Request to play something.

Functions

get_devices

Get the current user's available devices (Beta).

get_playback

Get information about the current user's current playback (Beta).

get_playing_track

Get the current user's currently playing track (Beta).

get_recently_played

Get current user's recently played tracks (Beta).

pause

Pause the current user's playback (Beta).

play

Start or resume playback (Beta).

seek

Seek to position in currently playing track (Beta).

set_repeat

Set repeat mode on current playback (Beta).

set_shuffle

Enable or disable shuffle (Beta).

set_volume

Set volume on current playback (Beta).

skip_next

Skip to next track (Beta).

skip_prev

Skip to previous track (Beta).

transfer

Transfer playback to another device (Beta).