BJukebox is a web interface for contributing songs to a live playlist. Songs can come from Youtube, Soundcloud, or any website the youtube-dl program supports.
The server uses Erlang to manage websockets with clients, and an MPD server as audio output.
- Start your mpd server. Run
mpc consume on
,mpc repeat off
,mpc random off
,mpc single off
and clear the playlist. rebar3 release
to compile. Download the rebar3 binary here. You might need to install some extra Erlang dependencies on your server.- Run
_build/default/rel/jukebox_server/bin/jukebox_server start
to start the webserver.
- youtube-dl should be installed on the webserver.
- An MPD server running on localhost port 6600 (SSH reverse tunnels are OK), with consume ON, repeat and shuffle OFF
- The cowboy library (should be automatically downloaded by rebar3)