alaingilbert / Turntable-API

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

snag() always fails now #76

Closed atomjack closed 12 years ago

atomjack commented 12 years ago

For the last week or two I've noticed that when my bot (cmbot) snags a song, it doesn't produce the hearts anymore. After looking into it, it looks like the snag() call is failing. I add a callback and checked the result it receives, and get the following

result: { msgid: 85, err: '', success: false }

Anyone know why? I know this is happening with at least one other bot running my code.

ItsJakeo commented 12 years ago

I use the sparkle bot and the snag function no longer works.

BenTheHokie commented 12 years ago

If you go to the console on Google Chrome (or any other console for that matter) and set DEBUG_MODE=true you can see every snippet of data sent and received by TT. What I've noticed is that there is a new parameter being sent along with the data, blocked=false but when I edit the API to send that too, nothing changes in the behavior. Does that bit of data need to be encoded with one of those vh fh or sh values?

atomjack commented 12 years ago

Thanks, just tested and snag works as it used to!! Cheers!

BenTheHokie commented 12 years ago

Cheers to heart farts!