« get me outta code hell

README.md - http-music - Command-line music player + utils (not a server!)
about summary refs log tree commit diff
path: root/README.md
blob: 7e7478ba788b5380887d0fec5f467b8c601425b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# `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 <some_port>

# 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-recursive.js <server_ip> > playlist.json
$ 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.