turntabler
turntabler copied to clipboard
An evented Turntable API for Ruby (turntable.fm)
I am curious why I would get the below error when there is a song playing. D, [2013-04-27T10:44:09.233116 #2131] DEBUG -- : Message received: {"msgid"=>6, "err"=>"No song playing.", "success"=>false, "command"=>"response_received"}...
So how do you stop one bot without stopping the other? ``` require 'turntabler' Thread.new do Turntabler.run do client = Turntabler::Client.new(EMAIL, PASSWORD, :room => ROOM) # ... end end Thread.new...
``` client.on :song_voted do |song| pp song.last end ``` When the person votes up this works right, when the person lames, it fails with a nil.
How can I disable logger or at least truncate what it's saying. At round end of some rounds the bots are dieing because of recursion i'm assuming it's from something...
Some companies will only use gems with a certain license. The canonical and easy way to check is [via the gemspec](http://docs.rubygems.org/read/chapter/20#license), via e.g. ``` spec.license = 'MIT' # or spec.licenses...
I am digging through your code, and want to find the ID for the room I am looking for. I can see that the default value of the limit is...