Skip to content
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.
/ HipFM Public archive

Post "now playing" track from last.fm to HipChat room

License

Notifications You must be signed in to change notification settings

blueflag/HipFM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HipFM

Post "now playing" track from last.fm to HipChat room.

Command line usage

node server.js [last.fm API Key] [last.fm User] [HipChat Key] [HipChat Room] [HipChat Name]

node server.js THISISMYLASTFMAPIKEY blueflagmusic HIPCHATKEY "My Room" "HipFM"

Config file (hipfm.json) usage

node server.json -f

** Example **

{
    "hipchat": {
        "key": "11111111111111111111111111111111",
        "room": "Music"
    },
    "lastfm": {
        "users": [
            {
                "displayName": "User1Music",
                "username": "lastfm_username1",
                "key": ""
            },
            {
                "displayName": "User2Music",
                "username": "lastfm_user2",
                "key": "11111111111111111111111111111111"
            }
        ]
    }
}
  • last.fm API Key: Get one here Last.fm Web Services
  • last.fm User: The user's playlist you want to follow (eg. blueflagmusic)
  • HipChat Key: Either an Admin or Notification key. Get one here https://hipchat.com/admin/api
  • HipChat Room: The room you want to post to. Must be created in HipChat first.
  • HipChat Name: (Optional) Name to display in HipChat (usually where the username goes).

About

Post "now playing" track from last.fm to HipChat room

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published