libmpd-0.9.1.0: An MPD client library.
Network.MPD.Applicative.PlaybackControl
Description
Controlling playback.
next :: Command () Source #
Play next song in the playlist.
pause :: Bool -> Command () Source #
Toggle pause.
play :: Maybe Position -> Command () Source #
Begin playback (optionally at a specific position).
playId :: Id -> Command () Source #
Begin playback at the specified song id.
previous :: Command () Source #
Play previous song.
seek :: Position -> FractionalSeconds -> Command () Source #
Seek to time in the song at the given position.
seekId :: Id -> FractionalSeconds -> Command () Source #
Seek to time in the song with the given id.
stop :: Command () Source #
Stop playback.