|
@@ -178,7 +178,7 @@ class Radio {
|
|
|
class RadioStreaming {
|
|
|
constructor(sources) {
|
|
|
this.sources = sources.sort(
|
|
|
- (a, b) => this.getPriority(a) < this.getPriority(a),
|
|
|
+ (a, b) => this.getPriority(a) < this.getPriority(b),
|
|
|
);
|
|
|
}
|
|
|
|
|
@@ -254,7 +254,7 @@ class RadioStreaming {
|
|
|
* @param {Object} options options. Currenly unused
|
|
|
* @return {Radio}
|
|
|
*/
|
|
|
-async function get(siteurl, options) {
|
|
|
+async function get(siteurl, _options) {
|
|
|
let resp = await fetch(getManifestUrl(siteurl));
|
|
|
let text = await resp.text();
|
|
|
|