libmpd-0.9.0.9: An MPD client library.

Copyright(c) Joachim Fasting 2012
LicenseMIT
Maintainerjoachifm@fastmail.fm
Stabilitystable
Portabilityunportable
Safe HaskellNone
LanguageHaskell2010

Network.MPD.Applicative.PlaybackControl

Description

Controlling playback.

Synopsis

Documentation

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 -> Seconds -> Command () Source #

Seek to time in the song at the given position.

seekId :: Id -> Seconds -> Command () Source #

Seek to time in the song with the given id.

stop :: Command () Source #

Stop playback.