diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-10-14 21:20:14 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-10-14 21:20:14 +0300 |
commit | 27fc18e54d6441f8951647023e4f817befa829a8 (patch) | |
tree | e8e646967edb452c0d3f9917023d28001bb6fb75 /client/js/radio_emulator.js | |
parent | 0b451a4d867c22ea7a5cb4625460913960978c31 (diff) | |
download | arching-kaos-radio-27fc18e54d6441f8951647023e4f817befa829a8.tar.gz arching-kaos-radio-27fc18e54d6441f8951647023e4f817befa829a8.tar.bz2 arching-kaos-radio-27fc18e54d6441f8951647023e4f817befa829a8.zip |
Debugging
Diffstat (limited to 'client/js/radio_emulator.js')
-rw-r--r-- | client/js/radio_emulator.js | 4 |
1 files changed, 1 insertions, 3 deletions
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) |