Skip to content

Music Remote

Allows direct interaction with the Steam Music player. These functions only work with soundtracks you purchased or own on Steam.

Only available in the main GodotSteam branches

Functions

activationSuccess

activationSuccess( bool value )

If remote access was successfully activated.

Returns: bool


Read more in the official Steamworks SDK documentation

isCurrentMusicRemote

isCurrentMusicRemote()

Is a remote music client / host connected?

Returns: bool


Read more in the official Steamworks SDK documentation

currentEntryDidChange

currentEntryDidChange()

Did the currenty music entry just change?

Returns: bool


Read more in the official Steamworks SDK documentation

currentEntryIsAvailable

currentEntryIsAvailable( bool available )

Is the current music entry available?

Returns: bool


Read more in the official Steamworks SDK documentation

currentEntryWillChange

currentEntryWillChange()

Will the current music entry change?

Returns: bool


Read more in the official Steamworks SDK documentation

deregisterSteamMusicRemote

deregisterSteamMusicRemote()

Disconnect from remote music client / host.

Returns: bool


Read more in the official Steamworks SDK documentation

enableLooped

enableLooped( bool value )

Enable track loop on client.

Returns: bool


Read more in the official Steamworks SDK documentation

enablePlaylists

enablePlaylists( bool value )

Enable playlists on client.

Returns: bool


Read more in the official Steamworks SDK documentation

enablePlayNext

enablePlayNext( bool value )

Play the next track on client.

Returns: bool


Read more in the official Steamworks SDK documentation

enablePlayPrevious

enablePlayPrevious( bool value )

Play previous track on client.

Returns: bool


Read more in the official Steamworks SDK documentation

enableQueue

enableQueue( bool value )

Enable the music queue on the client.

Returns: bool


Read more in the official Steamworks SDK documentation

enableShuffled

enableShuffled( bool value )

Enable shuffle on the client.

Returns: bool


Read more in the official Steamworks SDK documentation

playlistDidChange

playlistDidChange()

Has the playlist changed?

Returns: bool


Read more in the official Steamworks SDK documentation

playlistWillChange

playlistWillChange()

Will the playlist change?

Returns: bool


Read more in the official Steamworks SDK documentation

queueDidChange

queueDidChange()

Did the song queue change?

Returns: bool


Read more in the official Steamworks SDK documentation

queueWillChange

queueWillChange()

Will the song queue change?

Returns: bool


Read more in the official Steamworks SDK documentation

registerSteamMusicRemote

registerSteamMusicRemote( string name )

Connect to a music remote client / host?

Returns: bool


Read more in the official Steamworks SDK documentation

resetPlaylistEntries

resetPlaylistEntries()

Reset the playlist entries.

Returns: bool


Read more in the official Steamworks SDK documentation

resetQueueEntries

resetQueueEntries()

Reset the song queue entries.

Returns: bool


Read more in the official Steamworks SDK documentation

setCurrentPlaylistEntry

setCurrentPlaylistEntry( int id )

Set a new current playlist.

Returns: bool


Read more in the official Steamworks SDK documentation

setCurrentQueueEntry

setCurrentQueueEntry( int id )

Set a new current song queue.

Returns: bool


Read more in the official Steamworks SDK documentation

setDisplayName

setDisplayName( string name )

Set a new display name.

Returns: bool


Read more in the official Steamworks SDK documentation

setPlaylistEntry

setPlaylistEntry( int id, int position, string entryText )

Set a new playlist entry.

Returns: bool


Read more in the official Steamworks SDK documentation

setPNGIcon64x64

setPNGIcon64x64( PoolByteArray icon )

Set a PNG icon for a song? A playlist?

Returns: bool


Read more in the official Steamworks SDK documentation

setQueueEntry

setQueueEntry( int id, int position, string entryText )

Set a new queue entry.

Returns: bool


Read more in the official Steamworks SDK documentation

updateCurrentEntryCoverArt

updateCurrentEntryCoverArt( PoolByteArray art )

Update the current song entry's cover art.

Returns: bool


Read more in the official Steamworks SDK documentation

updateCurrentEntryElapsedSeconds

updateCurrentEntryElapsedSeconds( int value )

Update the current seconds that have elapsed for an entry.

Returns: bool


Read more in the official Steamworks SDK documentation

updateCurrentEntryText

updateCurrentEntryText( string text )

Update the current song entry's text?

Returns: bool


Read more in the official Steamworks SDK documentation

updateLooped

updateLooped( bool value )

Update looped or not.

Returns: bool


Read more in the official Steamworks SDK documentation

updatePlaybackStatus

updatePlaybackStatus( int status )

Update the current playback status:

  • 0 - undefined
  • 1 - playing
  • 2 - paused
  • 3 - idle.

Returns: bool


Read more in the official Steamworks SDK documentation

updateShuffled

updateShuffled( bool value )

Update whether to shuffle or not.

Returns: bool


Read more in the official Steamworks SDK documentation

updateVolume

updateVolume( float value )

Volume is between 0.0 and 1.0.

Returns: bool


Read more in the official Steamworks SDK documentation

Signals

These callbacks require you to run Steam.run_callbacks() in your _process() function to receive them.

music_player_remote_to_front

music_player_remote_to_front

There are no notes in the Steamworks documentation.

Returns: nothing


Read more in the official Steamworks SDK documentation

music_player_remote_will_activate

music_player_remote_will_activate

There are no notes in the Steamworks documentation.

Returns: nothing


Read more in the official Steamworks SDK documentation

music_player_remote_will_deactivate

music_player_remote_will_deactivate

There are no notes in the Steamworks documentation.

Returns: nothing


Read more in the official Steamworks SDK documentation

music_player_selects_playlist_entry

music_player_selects_playlist_entry

There are no notes in the Steamworks documentation.

Returns:

  • entry (int)

Read more in the official Steamworks SDK documentation

music_player_selects_queue_entry

music_player_selects_queue_entry

There are no notes in the Steamworks documentation.

Returns:

*entry (int)


Read more in the official Steamworks SDK documentation

music_player_wants_looped

music_player_wants_looped

There are no notes in the Steamworks documentation.

Returns:

  • looped (bool)

Read more in the official Steamworks SDK documentation

music_player_wants_pause

music_player_wants_pause

There are no notes in the Steamworks documentation.

Returns: nothing


Read more in the official Steamworks SDK documentation

music_player_wants_play

music_player_wants_play

There are no notes in the Steamworks documentation.

Returns: nothing


Read more in the official Steamworks SDK documentation

music_player_wants_play_next

music_player_wants_play_next

There are no notes in the Steamworks documentation.

Returns: nothing


Read more in the official Steamworks SDK documentation

music_player_wants_play_previous

music_player_wants_play_previous

There are no notes in the Steamworks documentation.

Returns: nothing


Read more in the official Steamworks SDK documentation

music_player_wants_playing_repeat_status

music_player_wants_playing_repeat_status

There are no notes in the Steamworks documentation.

Returns:

  • status (int)

Read more in the official Steamworks SDK documentation

music_player_wants_shuffled

music_player_wants_shuffled

There are no notes in the Steamworks documentation.

Returns:

  • shuffled (bool)

Read more in the official Steamworks SDK documentation

music_player_wants_volume

music_player_wants_volume

There are no notes in the Steamworks documentation.

Returns:

  • volume (float)

Read more in the official Steamworks SDK documentation

music_player_will_quit

music_player_will_quit

There are no notes in the Steamworks documentation.

Returns: nothing


Read more in the official Steamworks SDK documentation