about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-07-22 15:18:35 -0500
committerCase Duckworth2022-07-22 15:18:35 -0500
commit6f251b32c45c58bc512800e07ef45f643b209ad6 (patch)
tree4161a77b3b002456a8052142cf2cc607821260f4
parentInitial commit (well, sort of) (diff)
downloadradish-6f251b32c45c58bc512800e07ef45f643b209ad6.tar.gz
radish-6f251b32c45c58bc512800e07ef45f643b209ad6.zip
Add README
-rw-r--r--README.md79
1 files changed, 79 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..578c90a --- /dev/null +++ b/README.md
@@ -0,0 +1,79 @@
1# RADISH
2## radio player in sh
3
4I just want a simple script to play radio sometimes, or shuffle music on my
5computer, or play noise. I don't need tagging, playlist building, blah blah
6blah. So, I wrote RADISH.
7
8## Usage
9
10Copied from `radish -h`:
11
12```
13RADISH: radio, music, static
14USAGE: radish [-h|-k|-r|-s|-S]
15 radish -l [NAME]
16 radish [STATION]
17
18FLAGS:
19 -h Show this help and exit.
20 -s Show radish's status and exit.
21 -S Show radish's status indefinitely.
22 -k Kill the currently-playing radish invocation.
23 -r Replay most recently-played station.
24
25OPTIONS:
26 -l [NAME] List available stations.
27 If NAME is given, narrow the list to those matching it.
28
29PARAMETERS:
30 STATION Which configured station to play.
31 Stations are defined in the $RADISH_STATION_FILE
32 (default: /home/case/etc/radish/stations).
33 If STATION is not present, or if it matches
34 more than one station, radish will present a menu.
35```
36
37## Configuration
38
39A default `radish.stations` is provided in this repo; save it to
40`$XDG_CONFIG_HOME/radish/stations` and edit as you see fit.
41
42Radish's `station` file is a tab-separated file with the following schema:
43
44```
45URL DESCRIPTION TAGS
46```
47
48Lines starting with `#` are ignored as comments.
49
50A `URL` can be the URL of an internet radio or other stream, or one of
51`file://<FOLDER>`, `shuf://<FOLDER>`, or `noise://<NOISE-SPEC>`. The `file:`
52protocol simply finds all music files underneath `FOLDER` and plays them in
53order. `shuf:` does the same, but shuffles the files. `noise:` uses SoX's
54`play` binary to generate noise.
55
56**NOTE**: Currently the `noise:` URL parsing doesn't work. Patches welcome!
57
58**NOTE**: I'm looking at using a previously-existing playlist format, like `pls`
59or `m3u`, instead of this ad-hoc tab-separated deal. Expect change in this area.
60
61## Installation
62
63```
64# make install
65```
66
67## Uninstallation
68
69```
70# make uninstall
71```
72
73## Contributing
74
75Patches, comments, complaints are welcome. You can email me at the address
76listed on the bottom of this page.
77
78RADISH and its associated files are licensed under the Fair License. See
79COPYING for more details.