Previously on Edge FM

Background
var nowPlaying; var nowPlayingTimeout; function loadNowPlaying() { axios.get('http://your-azuracast-site.example.com/api/nowplaying/station_shortcode').then((response) => { // Do something with the Now Playing data. nowPlaying = response.data; }).catch((error) => { console.error(error); }).then(() => { clearTimeout(nowPlayingTimeout); nowPlayingTimeout = setTimeout(checkNowPlaying, 15000); }); } loadNowPlaying();
0%