Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 740 Bytes

readme.md

File metadata and controls

31 lines (20 loc) · 740 Bytes

@wlk/u-wave-random-playlists

üWave plugin that, when enabled, selects random songs from any playlist for the DJ to play. This overrides the default booth behaviour where songs are picked from the top of the active playlist.

Install

npm install @wlk/u-wave-random-playlists

Usage

const randomPlaylists = require('@wlk/u-wave-random-playlists')

uw.use(randomPlaylists())

This plugin serves a small admin panel on localhost:8886. A custom port can be specified using the port option:

uw.use(randomPlaylists({ port: 3033 }))

The admin panel is not protected, so it's best to put it behind a reverse proxy like nginx and add HTTP basic authentication yourself.

License

MIT