Pandora Now Playing

Has anyone looked into making a command for nightbot that will return the currently playing song from Pandora?

Hi billtheunjust, this can actually be accomplished currently by using the last.fm
variable. You’d need to get a last.fm scrobbler like this one for chrome or this one for firefox. Once you have tracks scrobbling to last.fm you can make a command in nightbot that looks something like this.

!command add !song $(lastfm billtheunjust "{{title}} by {{artist}} - {{url}}")

Which should return something like:

Sandstorm by Darude - http://www.last.fm/music/Darude/_/Sandstorm

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.