Module: viewBrowseRadioWebradiodb_js

Methods

(inner) doSearchWebradiodb() → {void}

Starts the webradioDB search
Source:
Returns:
Type
void

(inner) filterWebradiodbFilter(id, dbField, placeholder, searchStr) → {void}

Callback function for the custom select filter for webradioDB
Parameters:
Name Type Description
id string element id
dbField string name of the array to filter
placeholder string placeholder value
searchStr string search string
Source:
Returns:
Type
void

(inner) getWebradiodb() → {void}

Fetches the webradioDB
Source:
Returns:
Type
void

(inner) handleBrowseRadioWebradiodb() → {void}

WebradioDB Browse handler
Source:
Returns:
Type
void

(inner) initViewBrowseRadioWebradiodb() → {void}

Initialization function for webradioDB elements
Source:
Returns:
Type
void

(inner) initWebradiodbFilter(id, dbField, name) → {void}

Initializes the webradioDB filter elements
Parameters:
Name Type Description
id string input id to initialize
dbField string database fields
name string name of the field
Source:
Returns:
Type
void

(inner) parseSearchWebradiodb(obj) → {void}

Parses the webradioDB search result
Parameters:
Name Type Description
obj object the search result
Source:
Returns:
Type
void

(inner) searchWebradiodb(name, genre, country, language, codec, bitrate, sort, offset, limit) → {object}

Searches the webradioDB
Parameters:
Name Type Description
name string webradio name
genre string webradio genre
country string webradio country
language string webradio language
codec string webradio codec
bitrate number webradio bitrate
sort object webradio sort
offset number start offset
limit number maximum number of results
Source:
Returns:
the search result
Type
object

(inner) streamUriToName(uri) → {string}

Converts a stream uri to the webradioDB and webradio favorites filename
Parameters:
Name Type Description
uri string uri to convert
Source:
Returns:
converted string
Type
string

(inner) viewBrowseRadioWebradiodbListClickHandler(event, target) → {void}

Click event handler for WebradioDB list
Parameters:
Name Type Description
event MouseEvent click event
target HTMLElement calculated target
Source:
Returns:
Type
void