alaingilbert / Turntable-API

Allows you to create bots for turntable.fm
http://alaingilbert.github.com/Turntable-API/
MIT License
317 stars 97 forks source link

Additional parameter to stopSong #159

Closed Morgon closed 11 years ago

Morgon commented 11 years ago

Add current_song parameter to stopSong method, which Turntable will now require to prevent issues of "double-skipping" when the current DJ skips a song at the same time an SU is forcing one.

alaingilbert commented 11 years ago

I rewrote the library in coffeescript. The file to be modified is now this one : https://github.com/alaingilbert/Turntable-API/blob/master/src/bot.coffee

Else, your changes will be lost when I'll compile the coffeescript !

Morgon commented 11 years ago

Been a while since I've seen the changes to TTApi :) Interesting switch... though I find CoffeeScript much more difficult to read.

In any case, I'm closing this since (I think) I made the change properly in CoffeeScript.