diff --git a/htdocs/index.html b/htdocs/index.html index 95bd2ca..9beab09 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -37,23 +37,23 @@ // Youtube Shorts Timer - function startTimer() { console.log("Shorts timer started!") - showSuccessAlert("Started Shorts 60 Second Timer") + showSuccessAlert("Started Shorts Timer") timer = setInterval(function () { - console.log("60 seconds are up, going to next short"); + console.log("Time is up, going to next short"); fetch(rootURL + "/down") .then(function (response) { return response.json(); - }) - .then(function (data) { + }).then(function (data) { + console.log("Resonse from AutoScroll Request: " + data) if (data == 1) { showSuccessAlert("Next Short Requested Successfully!") - return console.log("Command: Next Short - SENT!") + console.log("Command: Next Short - SENT!") } else { showSuccessAlert("Next Short Request FAILED!") - return console.log("Command: Next Short FAILED!") + console.log("Command: Next Short FAILED!") } }) - }, 60000); + }, 54000); } function stopTimer() { @@ -65,7 +65,6 @@ document.getElementById("view2").innerHTML = "