Methods
(inner) clickTitle() → {void}
Handler for the PlaybackTitle element click event
- Source:
Returns:
- Type
- void
(inner) handlePlayback() → {void}
Handles Playback
- Source:
Returns:
- Type
- void
(inner) initViewPlayback() → {void}
Initializes the playback html elements
- Source:
Returns:
- Type
- void
(inner) parseCurrentSong(obj) → {void}
Parses the MYMPD_API_PLAYER_CURRENT_SONG jsonrpc response
Parameters:
Name | Type | Description |
---|---|---|
obj |
object | jsonrpc response |
- Source:
Returns:
- Type
- void
(inner) setPlaybackCardTags(songObj) → {void}
Sets the values of the tags displayed in the playback view
Parameters:
Name | Type | Description |
---|---|---|
songObj |
object | song object (result object of MYMPD_API_PLAYER_CURRENT_SONG jsonrpc response) |
- Source:
Returns:
- Type
- void
(inner) showAddToPlaylistCurrentSong() → {void}
Adds the current playing song to a playlist
- Source:
Returns:
- Type
- void
(inner) showCurrentSongSticker(event) → {void}
Shows the edit sticker modal for the current song
Parameters:
Name | Type | Description |
---|---|---|
event |
Event | triggering click event |
- Source:
Returns:
- Type
- void