From 37caa6c403d50a22b5bab9f48da8d7fdb526ec3f Mon Sep 17 00:00:00 2001 From: liam4 Date: Mon, 29 May 2017 20:20:53 +0000 Subject: Readme --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..db3c69a --- /dev/null +++ b/README.md @@ -0,0 +1,22 @@ +# `http-music` + +A command line program that lets you download music from places and play it. +It's also decently powerful. + +## Using the thing + +```bash +# On the server; that is, the device that holds the media: +$ cd my_music_folder +$ python3 -m http.server 1233 + +# On the client; that is, the device with http-music: +$ cd http-music +$ yarn # to install Node.js dependencies; you'll also need `avconv` and `play` (sox). +$ node crawl-itunes.js > playlist.json # Bad script name, right? +# I think you might need to configure crawl-itunes.js to get the right IP and port.. +$ node play.js # Go! +``` + +**Zomg command line arguments????** — Yes; read the end of the `play.js` file. +There's a bunch of JS-comment-based documentation there. -- cgit 1.3.0-6-gf8a5