hubot-airtime
A Hubot script to interact with an Airtime webradio API
Last updated 7 years ago by sjourdan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-airtime 
SYNC missed versions from official npm registry.

hubot-airtime

Build Status

A Hubot script to interact with an Airtime webradio API.

Airtime is a free and open source radio automation software (http://www.sourcefabric.org/en/airtime/)

Installing

Add dependency to Hubot's package.json:

{
  ...
  "dependencies": {
    ...
    "hubot-airtime": "latest"
  }
}

Include package in Hubot's external-scripts.json:

["hubot-airtime"]

Configuration

HUBOT_AIRTIME_URL   # URL to Airtime installation (ie.: http://airtime.myhost.com)

UNIX

To launch hubot locally with the correct environment variable value:

HUBOT_AIRTIME_URL=http://airtime.myhost.com ./bin/hubot

Heroku

To add the correct environment variable to an existing and working Heroku deployment, you'll issue something like:

heroku config:add HUBOT_AIRTIME_URL=http://airtime.myhost.com

Commands

hubot airtime now               # Display what's currently broadcasted on this Airtime installation
hubot airtime next track        # Displays what will be the next track to be broadcasted on Airtime
hubot airtime next show         # Displays what will be the next show broadcasted on Airtime
hubot airtime previous track    # Displays what has just been broadcasted on Airtime

Links

Current Tags

  • 1.0.1                                ...           latest (7 years ago)

1 Versions

  • 1.0.1                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |