blueflag / HipFM

Post "now playing" track from last.fm to HipChat room
MIT License
2 stars 3 forks source link

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"
            }
        ]
    }
}