Module: modalRadioFavoritesEdit_js

Methods

(inner) _checkWebradioDb() → {void}

Checks the local webradio favorite against the webradioDB entry
Source:
Returns:
Type
void

(inner) addToWebradioDb() → {void}

Adds the local webradio favorite to the webradioDB
Source:
Returns:
Type
void

(inner) checkWebradioDb() → {void}

Wrapper for _checkWebradioDb that fetches the webradioDB if needed
Source:
Returns:
Type
void

(inner) compareWebradioDb() → {boolean}

Compares the local webradio favorite with the entry from webradioDB
Source:
Returns:
true if entries are equal, else false
Type
boolean

(inner) initModalRadioFavoriteEdit() → {void}

Initialization function for modalRadioFavoriteEdit
Source:
Returns:
Type
void

(inner) manualAddRadioFavorite() → {void}

Shows the add webradio favorite modal
Source:
Returns:
Type
void

(inner) saveRadioFavorite(target) → {void}

Saves a webradio favorite
Parameters:
Name Type Description
target Element triggering element
Source:
Returns:
Type
void

(inner) saveRadioFavoriteCheckError(obj) → {void}

Handler for the MYMPD_API_WEBRADIO_FAVORITE_SAVE jsonrpc response
Parameters:
Name Type Description
obj object jsonrpc response
Source:
Returns:
Type
void

(inner) showEditRadioFavorite(obj) → {void}

Opens the edit modal and populates the values from obj
Parameters:
Name Type Description
obj object jsonrpc response
Source:
Returns:
Type
void

(inner) updateFromWebradioDb() → {void}

Updates the local webradio favorite from webradioDB
Source:
Returns:
Type
void

(inner) updateWebradioDb() → {void}

Updates the webradioDB entry from the local webradio favorite
Source:
Returns:
Type
void