Methods
(inner) clearJukeboxQueue() → {void}
Clears the jukebox queue
- Source:
Returns:
- Type
- void
(inner) delQueueJukeboxEntries(pos) → {void}
Removes a song / album from the jukebox queue
Parameters:
Name | Type | Description |
---|---|---|
pos |
Array | position |
- Source:
Returns:
- Type
- void
(inner) getJukeboxList(view) → {void}
Gets and parses the jukebox list
Parameters:
Name | Type | Description |
---|---|---|
view |
string | jukebox view to display (song or album) |
- Source:
Returns:
- Type
- void
(inner) gotoJukebox() → {void}
Goto handler that respects the jukebox mode
- Source:
Returns:
- Type
- void
(inner) handleQueueJukebox(view) → {void}
QueueJukeboxAlbum handler
Parameters:
Name | Type | Description |
---|---|---|
view |
string | jukebox view to display (song or album) |
- Source:
Returns:
- Type
- void
(inner) handleQueueJukeboxAlbum() → {void}
QueueJukeboxAlbum handler
- Source:
Returns:
- Type
- void
(inner) handleQueueJukeboxSong() → {void}
QueueJukeboxSong handler
- Source:
Returns:
- Type
- void
(inner) initViewQueueJukebox(view) → {void}
Initializes the jukebox related elements
Parameters:
Name | Type | Description |
---|---|---|
view |
string | jukebox view to display (song or album) |
- Source:
Returns:
- Type
- void
(inner) parseJukeboxList(obj) → {void}
Parses the response from MYMPD_API_JUKEBOX_LIST
Parameters:
Name | Type | Description |
---|---|---|
obj |
object | jsonrpc response |
- Source:
Returns:
- Type
- void
(inner) parseJukeboxListUpdate(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) viewQueueJukeboxListClickHandler(event, target) → {void}
Click event handler for jukebox list
Parameters:
Name | Type | Description |
---|---|---|
event |
MouseEvent | click event |
target |
HTMLElement | calculated target |
- Source:
Returns:
- Type
- void