| Copyright | (c) Joachim Fasting 2012 | 
|---|---|
| License | MIT | 
| Maintainer | joachifm@fastmail.fm | 
| Stability | stable | 
| Portability | unportable | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Network.MPD.Applicative.PlaybackControl
Description
Controlling playback.
Synopsis
- next :: Command ()
- pause :: Bool -> Command ()
- toggle :: Command ()
- play :: Maybe Position -> Command ()
- playId :: Id -> Command ()
- previous :: Command ()
- seek :: Position -> FractionalSeconds -> Command ()
- seekId :: Id -> FractionalSeconds -> Command ()
- seekCur :: Bool -> FractionalSeconds -> Command ()
- stop :: Command ()
Documentation
seek :: Position -> FractionalSeconds -> Command () #
Seek to time in the song at the given position.
seekId :: Id -> FractionalSeconds -> Command () #
Seek to time in the song with the given id.
seekCur :: Bool -> FractionalSeconds -> Command () #
Seek to time in the current song. Absolute time for True in the frist argument, relative time for False.
Since: 0.9.2.0