Methods
(inner) backToAlbumGrid() → {void}
Go's to the last browse database grid view
- Source:
Returns:
- Type
- void
(inner) currentAlbumAdd(action) → {void}
Wrapper for add buttons in the album detail view
Parameters:
Name | Type | Description |
---|---|---|
action |
string | action to perform |
- Source:
Returns:
- Type
- void
(inner) handleBrowseDatabaseAlbumDetail() → {void}
Handles BrowseDatabaseAlbumDetail
- Source:
Returns:
- Type
- void
(inner) handleBrowseDatabaseAlbumList() → {void}
BrowseDatabaseAlbumList handler
- Source:
Returns:
- Type
- void
(inner) handleBrowseDatabaseTagList() → {void}
BrowseDatabaseTagList handler
- Source:
Returns:
- Type
- void
(inner) initViewBrowseDatabase() → {void}
Initializes the browse database elements
- Source:
Returns:
- Type
- void
(inner) parseAlbumDetails(obj) → {void}
Parses the MYMPD_API_DATABASE_ALBUM_DETAIL response
Parameters:
Name | Type | Description |
---|---|---|
obj |
object | jsonrpc response object |
- Source:
Returns:
- Type
- void
(inner) parseDatabaseAlbumList(obj) → {void}
Parses the MYMPD_API_DATABASE_ALBUM_LIST response
Parameters:
Name | Type | Description |
---|---|---|
obj |
object | jsonrpc response object |
- Source:
Returns:
- Type
- void
(inner) parseDatabaseAlbumListUpdate(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) parseDatabaseTagList(obj) → {void}
Parsed the MYMPD_API_DATABASE_TAG_LIST response
Parameters:
Name | Type | Description |
---|---|---|
obj |
object | jsonrpc response object |
- Source:
Returns:
- Type
- void
(inner) parseDatabaseTagListUpdate(card, data, result) → {void}
Callback function for row or card
Parameters:
Name | Type | Description |
---|---|---|
card |
HTMLElement | Row or card |
data |
object | Data object |
result |
object | Jsonrpc result |
- Source:
Returns:
- Type
- void
(inner) showAlbumSticker(event) → {void}
Shows the edit sticker modal for the current album
Parameters:
Name | Type | Description |
---|---|---|
event |
Event | triggering click event |
- Source:
Returns:
- Type
- void
(inner) viewBrowseDatabaseAlbumDetailListClickHandler(event, target) → {void}
Click event handler for database album detail song list
Parameters:
Name | Type | Description |
---|---|---|
event |
MouseEvent | click event |
target |
HTMLElement | calculated target |
- Source:
Returns:
- Type
- void
(inner) viewBrowseDatabaseAlbumListListClickHandler(event, target) → {void}
Click event handler for database album list
Parameters:
Name | Type | Description |
---|---|---|
event |
MouseEvent | click event |
target |
HTMLElement | calculated target |
- Source:
Returns:
- Type
- void
(inner) viewBrowseDatabaseTagListListClickHandler(event, target) → {void}
Click event handler for database tag list
Parameters:
Name | Type | Description |
---|---|---|
event |
MouseEvent | click event |
target |
HTMLElement | calculated target |
- Source:
Returns:
- Type
- void