libmpd-0.9.0.4: An MPD client library.

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

Network.MPD.Applicative.PlaybackOptions

Description

Playback options

Synopsis

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 :: Int -> Command () Source

Set volume in percent.

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.