hubot-last.fm
Hubot plugin for looking up what everybody's playing on Last.fm
Last updated 5 years ago by derekpeterson .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-last.fm 
SYNC missed versions from official npm registry.

hubot-last.fm

Build Status

NPM

This is a Hubot plugin for keeping track of what team members are scrobbling to last.fm.

Installation

Install hubot-last.fm as a dependency of your Hubot and add "hubot-last.fm" to your external-scripts.json list. Make sure that you have a last.fm API key set as HUBOT_LAST_FM_API_KEY in your environment.

Usage

You can add users two ways:

First (recommended, but optional), you can place a seed JSON file in {{ project-root }}/data/last-fm-users.json with an object mapping chat names to last.fm usernames. For example,

{
    "derek": "labetephoque"
}

Second, add new usernames in chat, using add last.fm {{ user name }} {{ last.fm user name }}. Keep in mind that this is only stored in memory, though, so it will go away if you restart your Hubot.

Notes

I've only tested this in Slack, so it's possible that integrations with other chat clients won't work. If that's the case, let me know.

Oh, and I welcome requests for more features.

Current Tags

  • 0.3.0                                ...           latest (5 years ago)

7 Versions

  • 0.3.0                                ...           5 years ago
  • 0.2.1                                ...           5 years ago
  • 0.2.0                                ...           5 years ago
  • 0.1.4                                ...           5 years ago
  • 0.1.3                                ...           5 years ago
  • 0.1.1                                ...           5 years ago
  • 0.1.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)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |