Recently Written · git

sad

sad (2f30.org simple audio daemon) with a Cygwin/OSS port on branch cygwin

git clone https://github.com/equwal/sad

Log | Files | Refs


sacc.1 (757 bytes)

1 .Dd October 4, 2026
2 .Dt SACC 1
3 .Os
4 .Sh NAME
5 .Nm sacc
6 .Nd send one command to sad
7 .Sh SYNOPSIS
8 .Nm
9 .Ar command
10 .Op Ar arg ...
11 .Sh DESCRIPTION
12 .Nm
13 sends
14 .Ar command
15 and its arguments as one line to the
16 .Xr sad 1
17 socket with
18 .Xr socat 1
19 and prints the reply.
20 .Pp
21 For
22 .Cm add ,
23 .Nm
24 sends one
25 .Cm add
26 line per path and converts each path, including Windows paths,
27 to an absolute Cygwin path with
28 .Xr cygpath 1 .
29 .Sh ENVIRONMENT
30 .Bl -tag -width Ds
31 .It Ev SAD_SOCK
32 Socket path.
33 Default:
34 .Pa /tmp/sad-sock .
35 .El
36 .Sh EXIT STATUS
37 .Nm
38 exits 1 when no command is given; otherwise it exits with the status of
39 .Xr socat 1 .
40 .Sh EXAMPLES
41 .Bd -literal -offset indent
42 $ sacc add 'C:\eUsers\eme\eMusic\esong.mp3'
43 $ sacc play
44 $ sacc status playback
45 .Ed
46 .Sh SEE ALSO
47 .Xr sad 1