Module: viewBrowseFilesystem_js

Methods

(inner) addAllFromFilesystem(mode) → {void}

Appends the current filesystem view to the queue
Parameters:
Name Type Description
mode string one of: append, appendPlay, insertAfterCurrent, insertPlayAfterCurrent, replace, replacePlay
Source:
Returns:
Type
void

(inner) handleBrowseFilesystem() → {void}

Handles BrowseFilesystem
Source:
Returns:
Type
void

(inner) initViewBrowseFilesystem() → {void}

Initialization function for the browse filesystem view
Source:
Returns:
Type
void

(inner) parseFilesystem(obj) → {void}

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

(inner) parseFilesystemUpdate(card, data) → {void}

Callback function for row or card
Parameters:
Name Type Description
card HTMLElement Row or card
data object Data object
Source:
Returns:
Type
void

(inner) showAddToPlaylistFromFilesystem() → {void}

Adds the current directory to a playlist
Source:
Returns:
Type
void

(inner) viewBrowseFilesystemListClickHandler(event, target) → {void}

Click event handler for filesystem list
Parameters:
Name Type Description
event MouseEvent click event
target HTMLElement calculated target
Source:
Returns:
Type
void