mpd v0.1.0 Mpd.Player.State View Source

Link to this section Summary

Functions

Puts the given song struct in the current song state

Puts the given status struct in the state

Link to this section Types

Specs

t() :: %Mpd.Player.State{
  current_song: term(),
  on_update: term(),
  status: term()
}

Link to this section Functions

Link to this function

put_current_song(state, current_song)

View Source

Specs

put_current_song(t(), any()) :: t()

Puts the given song struct in the current song state

Link to this function

put_status(state, status)

View Source

Specs

put_status(t(), any()) :: t()

Puts the given status struct in the state