-
-
Save Tivoli/d21f0607300d27938950 to your computer and use it in GitHub Desktop.
turntable.fm stuff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
turntable.addEventListener("soundstart", function(m){ROOMMANAGER.callback("add_song_to","queue"); ROOMMANAGER.callback("upvote");}); | |
turntable.addEventListener("message", function(m){ if(typeof(m.command) !== "undefined") { if (m.command == 'update_votes'){setTimeout(function(){ROOMMANAGER.callback("stop_song")}, 1000)} } }); | |
setInterval(function(){ROOMMANAGER.callback("upvote")}, 500); | |
setInterval(function(){turntable.lastMotionTime = util.now() / 1000;}, 10000); | |
setInterval(function(){$('.ok-button').click()}, 500); |
Just checked and it's still defined :P
Also, they are constantly updating stuff, so eventually this is going to no longer work ;)
This didn't work for me. When do you run this?
It's working fine for me. I'm running it right now.
Is this still working as of today? It's not working for me. Using firefox. "Not defined" Please advice..thanks.
Also, on Chrome. After hitting Run there's no notification whether script worked or not.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hey man, it says turntable is undefined in chrome