Module: modalSongDetails_js

Methods

(inner) getComments(uri) → {void}

Gets the song comments
Parameters:
Name Type Description
uri string song uri
Source:
Returns:
Type
void

(inner) initModalSongDetails() → {void}

Initialization function for song elements
Source:
Returns:
Type
void

(inner) parseComments(obj) → {void}

Gets the song comments
Parameters:
Name Type Description
obj object jsonrpc response
Source:
Returns:
Type
void

(inner) parseFingerprint(obj) → {void}

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

(inner) parseSongDetails(obj) → {void}

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

(inner) songDetailAddTo(action) → {void}

Adds the song in current song detail modal to the queue
Parameters:
Name Type Description
action string one of appendQueue, appendPlayQueue, insertAfterCurrentQueue, replaceQueue, replacePlayQueue, addToHome
Source:
Returns:
Type
void

(inner) songDetailStickerEdit() → {void}

Shows the sticker edit dialog from song details modal
Source:
Returns:
Type
void

(inner) songDetails(uri) → {void}

Shows the song details modal
Parameters:
Name Type Description
uri string song uri
Source:
Returns:
Type
void

(inner) songDetailsRow(thContent, tdContent) → {HTMLElement}

Adds a row to the song details modal
Parameters:
Name Type Description
thContent string text for th
tdContent HTMLElement | Node | string content element for td
Source:
Returns:
created row
Type
HTMLElement