Closed meowsk closed 12 years ago
Mine is not working either :(
From what I can tell it still adds songs just without the heart fart if I leave it as is. Right?
If I wanted to add it back in to my code would I just put blocked=false in my snag function?
playlistAdd
only add the song to your playlist.
snag
will make the little heart to pop out of your head !
(snag will NOT add the song to your playlist)
Can you confirm that everything works like it should ?
I have had no problems adding songs.
Cool ! Thanks for your feedback.
Thanks Alain! Things are working how they should. :o)
For some reason the method I have been using to add songs to my bot's queue is no longer working. I haven't changed anything on it so I am not sure why it suddenly stopped. I can return the songID and index in the console but it just won't let me add. Below is my code...
if (data.text.match(/^*add$/)) { bot.roomInfo(true, function(data) { var newSong = data.room.metadata.current_song._id; var newSongName = songName = data.room.metadata.current_song.metadata.song; var newArtist = artist = data.room.metadata.current_song.metadata.artist; bot.playlistAdd(newSong, plLength); console.log(newSong, plLength); plLength++; bot.vote('up'); bot.speak('I can now play "'+newSongName+'" by '+newArtist+' for you.'); }); }