libmpd-0.9.0.6: 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 ()

Play next song in the playlist.

pause :: Bool -> Command ()

Toggle pause.

play :: Maybe Position -> Command ()

Begin playback (optionally at a specific position).

playId :: Id -> Command ()

Begin playback at the specified song id.

previous :: Command ()

Play previous song.

seek :: Position -> Seconds -> Command ()

Seek to time in the song at the given position.

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

Seek to time in the song with the given id.

stop :: Command ()

Stop playback.