README.md (498B)
1 # shuffle 2 3 Picks random albums from a file of paths and adds them to the MPD queue via `mpc`. 4 5 ## Usage 6 7 ```sh 8 shuffle <file> [-n <number>] [-d <depth>] 9 ``` 10 11 `<file>` should contain one MPD path per line (e.g. output of `mpc ls`). 12 13 ### Options 14 15 | Flag | Default | Description | 16 |------|---------|-------------| 17 | `-n`, `--number` | `5` | Number of albums to pick | 18 | `-d`, `--depth` | `2` | Minimum `/`-depth of path to include | 19 20 ### Example 21 22 ```sh 23 mpc ls > albums.txt 24 shuffle albums.txt -n 3 25 ```