Update script.js

Este commit está contenido en:
Joey
2023-05-07 00:28:44 +00:00
cometido por GitHub
padre fd6d9295d1
commit 0b1691507a

Ver fichero

@@ -2,6 +2,7 @@
const RADIO_NAME = 'Game! Radio 1';
// SELECT ARTWORK PROVIDER, ITUNES, DEEZER & SPOTIFY, eg : spotify
var API_SERVICE = 'deezer';
var zenoid = 'cfhkm5fs1uhvv'
@@ -95,7 +96,7 @@ function Page() {
$historicDiv[n].classList.add('animated');
$historicDiv[n].classList.add('slideInRight');
}
xhttp.open('GET', 'https://api.streamafrica.net/search.php?query=' + info.artist + ' ' + info.song + '&service='+API_SERVICE);
xhttp.open('GET', 'https://api.streamafrica.net/search.php?query=' + info.artist + ' ' + info.song + '&service=' + API_SERVICE.toLowerCase());
xhttp.send();
setTimeout(function () {
@@ -174,7 +175,7 @@ function Page() {
}
}
}
xhttp.open('GET', 'https://api.streamafrica.net/search.php?query=' + artist + ' ' + song + '&service=' + API_SERVICE);
xhttp.open('GET', 'https://api.streamafrica.net/search.php?query=' + artist + ' ' + song + '&service=' + API_SERVICE.toLowerCase());
xhttp.send();
}