libmpd-0.10.0.1: An MPD client library.

Copyright | (c) Joachim Fasting 2012
License | MIT
Maintainer | joachifm@fastmail.fm
Stability | stable
Portability | unportable
Safe Haskell | None
Language | Haskell2010

Network.MPD.Applicative.PlaybackOptions

Description

Playback options

Synopsis

- consume :: Bool -> Command ()
- crossfade :: Seconds -> Command ()
- random :: Bool -> Command ()
- repeat :: Bool -> Command ()
- setVolume :: Volume -> Command ()
- single :: Bool -> Command ()
- replayGainMode :: ReplayGainMode -> Command ()
- replayGainStatus :: Command [(String, String)]
- mixrampDb :: Decibels -> Command ()
- mixrampDelay :: Seconds -> Command ()

# Documentation

consume :: Bool -> Command () Source #

Toggle consume mode.

crossfade :: Seconds -> Command () Source #

Set crossfading between songs.

random :: Bool -> Command () Source #

Toggle random mode.

repeat :: Bool -> Command () Source #

Toggle repeat mode.

setVolume :: Volume -> Command () Source #

Set volume.

single :: Bool -> Command () Source #

Toggle single mode.

replayGainMode :: ReplayGainMode -> Command () Source #

Set replay gain mode.

replayGainStatus :: Command [(String, String)] Source #

Get replay gain status: option name and its value.

mixrampDb :: Decibels -> Command () Source #

Set MixRamp overlap threshold. 0dB is the normalized maximum value; use negative values to adjust it.

Songs must have MixRamp tags set by an external tool for this to work; crossfading is used if no tags are present.

mixrampDelay :: Seconds -> Command () Source #

Additional time subtracted from the overlap calculated by `mixrampDb`. NaN disables MixRamp overlapping and reverts to crossfading.