Module Mpd.Playback_options
val consume : Client.t -> bool -> Protocol.responseSets consume state to STATE, STATE should be false or true. When consume is activated, each song played is removed from playlist.
val crossfade : Client.t -> int -> Protocol.responseSets crossfading between songs.
val mixrampdb : Client.t -> int -> Protocol.responseSets the threshold at which songs will be overlapped. Like crossfading but doesn't fade the track volume, just overlaps. The songs need to have MixRamp tags added by an external tool. 0dB is the normalized maximum volume so use negative values, I prefer -17dB. In the absence of mixramp tags crossfading will be used. See http://sourceforge.net/projects/mixramp
type mixrampd_t=|Nan|Seconds of floatType for the command mixrampdelay, it can be float number for seconds or nan.
val mixrampdelay : Client.t -> mixrampd_t -> Protocol.responseAdditional time subtracted from the overlap calculated by mixrampdb. A value of "nan" disables MixRamp overlapping and falls back to crossfading.
val random : Client.t -> bool -> Protocol.responseSets random state to STATE, STATE should be true or false
val repeat : Client.t -> bool -> Protocol.responseSets repeat state to STATE, STATE should be false or true.
val setvol : Client.t -> int -> Protocol.responseSets volume to VOL, the range of volume is 0-100.
val single : Client.t -> bool -> Protocol.responseSets single state to STATE, STATE should be 0 or 1. When single is activated, playback is stopped after current song, or song is repeated if the 'repeat' mode is enabled.
val replay_gain_mode : Client.t -> gain_mode_t -> Protocol.responseSets the replay gain mode. One of off, track, album, auto. Changing the mode during playback may take several seconds, because the new settings does not affect the buffered data. This command triggers the options idle event.