Module: viewSearch_js

Methods

(inner) addAllFromSearch(mode) → {void}

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

(inner) handleSearch() → {void}

Handler for song search
Source:
Returns:
Type
void

(inner) initViewSearch() → {void}

Initialization function for the search elements
Source:
Returns:
Type
void

(inner) parseSearch(obj) → {void}

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

(inner) saveSearchAsSmartPlaylist() → {void}

Saves the current search as a smart playlist
Source:
Returns:
Type
void

(inner) showAddToPlaylistCurrentSearch() → {void}

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

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

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