From 27fc18e54d6441f8951647023e4f817befa829a8 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 14 Oct 2024 21:20:14 +0300 Subject: Debugging --- client/js/radio_emulator.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'client/js/radio_emulator.js') diff --git a/client/js/radio_emulator.js b/client/js/radio_emulator.js index 3bd0315..7c69151 100644 --- a/client/js/radio_emulator.js +++ b/client/js/radio_emulator.js @@ -236,9 +236,6 @@ function fadeInAudio() { timeSpan = timeSpan + timeStep; var newVolume = Math.sin(i*(Math.PI/180)); - debugLog(i) - debugLog(timeSpan) - debugLog(newVolume) setTimeout( preciseIncreaseVolume(newVolume), timeSpan); } } @@ -298,6 +295,7 @@ function listCallback(json, params) for ( var i = 0; i < json.list.length - 1; i++) { debugLog("getting there") + debugLog(`${json.list[i].starts_on} < ${values.now_on_sequence} < ${json.list[i+1].starts_on}` ) if ( values.now_on_sequence > json.list[i].starts_on && values.now_on_sequence < json.list[i+1].starts_on ) { if( i !== 0) -- cgit v1.2.3