Skip to content

Latest commit

 

History

History
69 lines (61 loc) · 1.13 KB

README.md

File metadata and controls

69 lines (61 loc) · 1.13 KB

CCNS Radio

A nodejs based radio system that accept song request by youtube url and play on the server side web ui. Support discord chatbot control.

Installation

edit config

$ cp config/default-sample.json config/default.json
$ vim config/default.json

start server

$ npm install 
$ npm start

development settings

$ ./scripts/install-git-hooks
$ ./node_modules/.bin/eslint --init
? How would you like to configure ESLint?
❯ Use a popular style guide
? Which style guide do you want to follow?
❯ Standard
? What format do you want your config file to be in?
❯ JSON

Costume

change kanban musume

Replace public/img/kanban-musume by your musume(?

Discord bot support

Support discord bot control.

[Command list]
/playing : Get information of currently playing song. 
/add [youtube_url] : Add a song.
/next : Skip current song.
/playpause : Play/Pause current song.
/controller : Show controller.

Web API

POST /play

  • body: none
  • response:
Play

POST /pause

  • body: none
  • response:
Pause

POST /next

  • body: none
  • response:
Next song