MPC driver

Arguments

host
Default: localhost.
port
Default: 6600.

Player type

Properties

state
Possible values: stop, play, pause.
time
volume
Byte (8-bits).
repeat
Possible values: off, on.
random
Possible values: off, on.
single
Possible values: off, on.
consume
Possible values: off, on.

Events

state
Fires whenever the value of the state property changes.
time
Fires whenever the value of the time property changes.
volume
Fires whenever the value of the volume property changes.
repeat
Fires whenever the value of the repeat property changes.
random
Fires whenever the value of the random property changes.
single
Fires whenever the value of the single property changes.
consume
Fires whenever the value of the consume property changes.

Commands

play position
pause
stop
next
prev
clear
crop
load playlist
random switch
repeat switch
single switch
consume switch