X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=sndplay%2FREADME.md;fp=sndplay%2FREADME.md;h=e0827755c12347942508f919f2716eaf3e22f6d8;hb=b043bd0a14b04ddc4cf69b4701c2e1e6fe8e0111;hp=0000000000000000000000000000000000000000;hpb=113ac3d202140491de9a8ad1e75dd96882a8857f;p=nihav-player.git diff --git a/sndplay/README.md b/sndplay/README.md new file mode 100644 index 0000000..e082775 --- /dev/null +++ b/sndplay/README.md @@ -0,0 +1,30 @@ +# nihav-sndplay + +nihav-sndplay is a minimalistic audio player based on NihAV and SDL2. + +## Getting Started + +In order to build it, put it into some subdirectory with other NihAV crates (or edit `Cargo.toml` to point to the proper crate locations) and invoke `cargo build`. + +Usage: `nihav-sndplay file1 file2 ...`. + +Recognized keyboard commands: +* `escape` / `q` - quit +* `space` - pause / resume playback +* `enter` / `end` - play next file +* `home` - play current track from the beginning +* `left` / `right` - seek 10 seconds forward / back +* `up` / `down` - seek 1 minute forward / back +* `pgup` / `pgdn` - seek 10 minutes forward / back +* `+` / `-` - increase / decrease volume +* `m` - mute output + +## Contributing + +You're not supposed to. Even I hardly do that so why should you? + +## License + +NihAV is licensed under GNU Affero Public License - see [COPYING] for details. + +Parts of the project can be relicensed to other free licenses like LGPLv2 on request.