ü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.
npm install @wlk/u-wave-random-playlists
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.