Skip to content

Play music by interfacing with slack. Allow people to add the music of their choice.

Notifications You must be signed in to change notification settings

lucbu/slack-jukebox

Repository files navigation

Slack-jukebox

Introduction

  • Collaborative playlist from youtube videos.
  • Handle like/dislike.

Requirements

Installation

Clone repo:

 git clone https://github.com/lucbu/slack-jukebox.git

Install dependencies:

 npm install

Set config parameters in config.js:

var config = {};

config.slack_token = "BOT-TOKEN"; // The auth token of the bot
config.slack_channels = []; // Array of channel where djbot is present and where he can handle answers
config.dl_folder = 'music/';
config.samples_folder = 'samples/';

module.exports = config;

Launch app:

  node app.js

Commands

  • @BOT-ID add http://link.to.youtube.video
  • @BOT-ID playing
  • @BOT-ID playlist
  • @BOT-ID playnext
  • @BOT-ID play
  • @BOT-ID pause
  • @BOT-ID volume up
  • @BOT-ID volume down
  • @BOT-ID volume X (0<X<100)
  • @BOT-ID volume X (0<X<100)

New commands

  • @BOT-ID install [Youtube URL] [Sound's ID (a-z0-9_)] [Start 00:00] [End 00:00] - Start and End are optional
  • @BOT-ID list
  • @BOT-ID send [Sound's ID]
  • @BOT-ID uninstall [Sound's ID] [Password]
  • @BOT-ID help

TODO

  • democratic playnext
  • full integration with VLC interface RC?
  • refactor code

About

Play music by interfacing with slack. Allow people to add the music of their choice.

Resources

Stars

Watchers

Forks

Packages

No packages published