Methods
(inner) addSmartpls(type) → {void}
Adds a default smart playlist
Parameters:
Name | Type | Description |
---|---|---|
type |
string | one of mostPlayed, newest, bestRated |
- Source:
Returns:
- Type
- void
(inner) parseSmartPlaylist(obj) → {void}
Parses the MYMPD_API_SMARTPLS_GET jsonrpc response
Parameters:
Name | Type | Description |
---|---|---|
obj |
object | jsonrpc response |
- Source:
Returns:
- Type
- void
(inner) saveSmartPlaylist(target) → {void}
Saves a smart playlist
Parameters:
Name | Type | Description |
---|---|---|
target |
Element | triggering element |
- Source:
Returns:
- Type
- void
(inner) showSmartPlaylist(plist) → {void}
Shows the settings of the smart playlist
Parameters:
Name | Type | Description |
---|---|---|
plist |
string | smart playlist name |
- Source:
Returns:
- Type
- void
(inner) updateSongStickerNames(selected, selectElId) → {void}
Populates a select element with available song sticker names.
Parameters:
Name | Type | Description |
---|---|---|
selected |
string | Name to mark as selected |
selectElId |
string | Id of the select element to populate |
- Source:
Returns:
- Type
- void