3 09223daf 2022-06-11 op amused is a music player. It doesn't have any amazing features
4 09223daf 2022-06-11 op built-in, on the contrary: it's quite minimal (a fancy word to say
5 09223daf 2022-06-11 op that does very little.) It composes well, or aims to do so, with
6 09223daf 2022-06-11 op other tools thought.
8 bbf64a33 2022-02-17 op The main feature is that audio decoding runs in a sandboxed process
9 80982f2c 2022-07-09 op under `pledge("stdio recvfd audio")` (on OpenBSD at least.)
11 80982f2c 2022-07-09 op It's available on the OpenBSD port tree starting with 7.1
16 80982f2c 2022-07-09 op The dependencies are:
24 80982f2c 2022-07-09 op Then, to build:
28 80982f2c 2022-07-09 op # make install # eventually
30 80982f2c 2022-07-09 op The build can be customized by passing arguments to the configure
31 80982f2c 2022-07-09 op script or by using a `configure.local` file; see `./configure -h`
32 80982f2c 2022-07-09 op and [`configure.local.example`](configure.local.example) for more
35 80982f2c 2022-07-09 op For each library the `configure` script first tries to see if they're
36 80982f2c 2022-07-09 op available without any extra flags, then tries again with some
37 80982f2c 2022-07-09 op hard-coded flags (e.g. `-lflac` for flac) and finally resorts to
38 80982f2c 2022-07-09 op pkg-config if available. pkg-config auto-detection can be disable by
39 80982f2c 2022-07-09 op passing `PKG_CONFIG=false` (or the empty string)
44 a9fc4552 2022-02-17 op The fine man page has all nitty gritty details, but the TL;DR is
46 a9fc4552 2022-02-17 op - enqueue music with `amused add files...`
47 a9fc4552 2022-02-17 op - control the playback with `amused play|pause|toggle|stop` etc
49 213aea73 2022-02-17 op amused tries to be usable in composition with other more familiar tools
50 213aea73 2022-02-17 op instead of providing everything itself. For instance, there isn't a
51 213aea73 2022-02-17 op command to remove an item from the playlist, or shuffle it; instead,
52 213aea73 2022-02-17 op standard UNIX tools can be used:
54 da045d77 2022-02-17 op $ amused show | grep -vi kobayashi | amused load
55 da045d77 2022-02-17 op $ amused show | sort -R | amused load
56 da045d77 2022-02-17 op $ amused show | sort | uniq | amused load
58 da045d77 2022-02-17 op It also doesn't provide any means to manage a music collection. It
59 da045d77 2022-02-17 op plays nice with find(1) however:
61 09223daf 2022-06-11 op find . | amused load
63 a1e58086 2022-03-12 op I wrote a bit more about the background of amused [in a blog
64 a1e58086 2022-03-12 op post](https://www.omarpolo.com/post/amused.html).