hubot-usernowplaying
A hubot script to show what users are listening to.
Last updated 5 years ago by thatarchguy .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-usernowplaying 
SYNC missed versions from official npm registry.

Hubot: Hubot-usernowplaying Build Status

A hubot script to show what users are listening to.
It can also handle an optional URL field.

Klaw  > hubot nowplaying klaw
Hubot > Justin Beiber - Never say Never
        https://open.spotify.com/track/5GYbkDveRD2I8M5ZJ14hWn

Installation

npm install hubot-usernowplaying
# Add "hubot-usernowplaying" to external-scripts.json

It works off of hubot-brain, but I believe that's default in Hubot now?

Updating your now playing

Figure out a way to post "song=Justin Bieber - Never say Never" "url=https://open.spotify.com/track/5GYbkDveRD2I8M5ZJ14hWn"

curl --data "song=Justin Beiber - Never Say Never" --data "url=https://open.spotify.com/track/5GYbkDveRD2I8M5ZJ14hWn" http://[hubot-instance]:8080/hubot/nowplaying?user=klaw

I included a guide on how to get scripts to do this with Spotify on Linux and OSX

Current Tags

  • 1.2.0                                ...           latest (5 years ago)

3 Versions

  • 1.2.0                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |