Handle VLC media volume.

Availability

Script Types
Extension, Interface

get()

Get the volume level of the player.

Return value

Number value between 0 and 512 indicating the current volume level (negative value on failure)


set()

Set volume of the player.

Parameters

Return value

Two values:


up()

Increase the volume of the player.

Parameters

Return value

Number value indicating new volume level (will return 0 if unsuccessful)


down()

Decrease the volume of the player.

Parameters

Return value

Number value indicating new volume level (will return 0 if unsuccessful)