Skip to main content
Amethyst’s player will emit these events when things happen

player:play

Emits only when a song starts playing after being at a stopped or finished state

player:pause

Emits when user pauses playback

player:resume

Emits when user resumes/continues playback

player:stop

Emits when the player has finished playing the queue
This will not emit if looping entire queue is enabled

player:seek

Emits when user seeks

player:trackChange

Emits when user changes the playing track

player:trackFinished

Emits when a track has finished playing before switching to the next one

player:pitchChange

Emits when user changes the playback rate / pitch shift (default is 1)

player:next

Emits when user skips to the next track
player:trackChange will also emit alongside this

player:previous

Emits when user skips to the previous track
player:trackChange will also emit alongside this

player:volumeChange

Emits when user changes the playback volume

player:currentTrackMetadataLoaded

Emits when the metadata for the currently playing track has finished loading