Module: outputs_js

Methods

(inner) initOutputs() → {void}

Initializes the outputs html elements
Source:
Returns:
Type
void

(inner) parseOutputs(obj) → {void}

Parses the response of MYMPD_API_PLAYER_OUTPUT_LIST
Parameters:
Name Type Description
obj object jsonrpc response
Source:
Returns:
Type
void

(inner) parseVolume(obj) → {void}

Parses the response of MYMPD_API_PLAYER_VOLUME_GET
Parameters:
Name Type Description
obj object jsonrpc response
Source:
Returns:
Type
void

(inner) setVolume() → {void}

Sets the volume to an absolute value
Source:
Returns:
Type
void

(inner) volumeStep(dir) → {void}

Changes the relative volume
Parameters:
Name Type Description
dir string direction: up or down
Source:
Returns:
Type
void