diff options
Diffstat (limited to 'Run')
-rw-r--r-- | Run/Que/quescripts.md | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/Run/Que/quescripts.md b/Run/Que/quescripts.md index 204328a..0414d90 100644 --- a/Run/Que/quescripts.md +++ b/Run/Que/quescripts.md @@ -35,4 +35,16 @@ coming soon ## Collaborative jukebox -coming soon +It's surprisingly easy to make a collaborative jukebox. + +First start up a music player: + + que --poll pub/music --then "playsong '\msg'" + +where `playsong` is a script that plays a file from data streaming to +`stdin`. For example [vlc](https://www.videolan.org/vlc/) does this when +you run it like `vlc -`. + +Then, anyone can submit songs with: + + que pub/music song.mp3 |