diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -8,4 +8,21 @@ according to the meta information saved in the audio files. The audio files are expected to be in 2 directories, the artist and album directories. These directories are also renamed. +## mock\_server.rb + +mock\_server.rb takes some JSON on its STDIN and starts a simple HTTP server that +slowly (in chunks) answers all requests with the given input. + +For example: + +```sh +echo '{"var": "stuff"}' | ./bin/mock_server.rb +``` + +and in another session: + +``` +curl localhost:8082 +``` + ## tea-cleaner |
