libmpd-0.10.0.0: 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 #

Pauses playback on True, resumes on False.

toggle :: Command () Source #

Toggles playback.

Since: 0.10.0.0

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.

seekCur :: Bool -> FractionalSeconds -> Command () Source #

Seek to time in the current song. Absolute time for True in the frist argument, relative time for False.

Since: 0.9.2.0

stop :: Command () Source #

Stop playback.