Module Mpd.Playback_options_lwt
val consume : Client_lwt.t -> bool -> Protocol.response Lwt.tSets consume state to STATE, STATE should be false or true. When consume is activated, each song played is removed from playlist.
val crossfade : Client_lwt.t -> int -> Protocol.response Lwt.tSets crossfading between songs.
val mixrampdb : Client_lwt.t -> int -> Protocol.response Lwt.tSets 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 for seconds or nan.
val mixrampdelay : Client_lwt.t -> mixrampd_t -> Protocol.response Lwt.tAdditional time subtracted from the overlap calculated by mixrampdb. A value of "nan" disables MixRamp overlapping and falls back to crossfading.
val random : Client_lwt.t -> bool -> Protocol.response Lwt.tSets random state to STATE, STATE should be true or false
val repeat : Client_lwt.t -> bool -> Protocol.response Lwt.tSets repeat state to STATE, STATE should be false or true.
val setvol : Client_lwt.t -> int -> Protocol.response Lwt.tSets volume to VOL, the range of volume is 0-100.
val single : Client_lwt.t -> bool -> Protocol.response Lwt.tSets 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_lwt.t -> gain_mode_t -> Protocol.response Lwt.tSets 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.