diff options
author | Ben Sima <ben@bsima.me> | 2020-03-31 20:51:01 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-03-31 20:51:59 -0700 |
commit | 8f916d18e598c460274008808e996e1ece45aeee (patch) | |
tree | 270cd722aea3281e512c7941d1dc09b3a93a47b4 | |
parent | cf1d92a7458313b9f3212b6d67958996341e11d4 (diff) |
Add part of jukebox script
-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 |