diff --git a/js/script.js b/js/script.js index f196ac2..fc16e32 100644 --- a/js/script.js +++ b/js/script.js @@ -8,6 +8,12 @@ var API_SERVICE = 'DEEZER'; // Change Stream URL Here, Supports, ICECAST, ZENO, SHOUTCAST, RADIOJAR and any other stream service. const URL_STREAMING = 'https://stream-51.zeno.fm/cfhkm5fs1uhvv?zs=HOu6hxV1SG-7iGi9WGVTqQ'; +//PASTE YOUR MEDIA CP JSON URL HERE TO GET NOW PLAYING SONG TITLE. +const MEDIACP_JSON_URL = '' + +//API URL / if you use MEDIA CP, CHANGE THIS TO : https://api.streamafrica.net/metadata/mediacp.php?url='+MEDIACP_JSON_URL +const API_URL = 'https://api.streamafrica.net/metadata/index.php?z='+URL_STREAMING + // Visit https://api.vagalume.com.br/docs/ to get your API key const API_KEY = "18fe07917957c289983464588aabddfb"; @@ -375,7 +381,7 @@ function getStreamingData() { var d = new Date(); // Requisition with timestamp to prevent cache on mobile devices - xhttp.open('GET', 'https://api.streamafrica.net/metadata/index.php?z='+URL_STREAMING); + xhttp.open('GET', API_URL); xhttp.send(); }