Skip to content

Commit

Permalink
even shorter length between songs
Browse files Browse the repository at this point in the history
  • Loading branch information
nicpottier committed Dec 12, 2012
1 parent d10e59a commit 1b1d9dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/requests/request_playing.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ <h6>Next up:</h6>
console.log("{{now_playing.played_on}} vs " + (new Date()));

if (now < finish){
var offset = 1000 * Math.random() * 5 + 5000;
var offset = 1000 * Math.random() * 3 + 1000;
setTimeout(reloadPlaying, finish - now + offset);
} else {
setTimeout(reloadPlaying, 15000);
setTimeout(reloadPlaying, 5000);
}
{% else %}
setTimeout(reloadPlaying, 15000);
Expand Down

0 comments on commit 1b1d9dd

Please sign in to comment.