Blob


1 .\" Copyright (c) 2023 Omar Polo <op@omarpolo.com>
2 .\"
3 .\" Permission to use, copy, modify, and distribute this software for any
4 .\" purpose with or without fee is hereby granted, provided that the above
5 .\" copyright notice and this permission notice appear in all copies.
6 .\"
7 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14 .\"
15 .Dd August 14, 2023
16 .Dt AMUSED-WEB 1
17 .Os
18 .Sh NAME
19 .Nm amused-web
20 .Nd web interface for the amused music player
21 .Sh SYNOPSIS
22 .Nm
23 .Op Fl v
24 .Op Fl s Ar socket
25 .Op Fl t Ar prefix
26 .Op Oo Ar host Oc Ar port
27 .Sh DESCRIPTION
28 .Nm
29 is a web interface to control the
30 .Xr amused 1
31 music player.
32 It exposes a web server that listen on
33 .Ar host
34 at the given
35 .Ar port .
36 By default all IPv4 and IPv6 address at port 9090.
37 .Pp
38 The following options are available:
39 .Bl -tag -width tenletters
40 .It Fl s Ar socket
41 Path to the
42 .Xr amused 1
43 control socket.
44 By default
45 .Pa /tmp/amused-UID
46 is used.
47 .It Fl t Ar prefix
48 Strip
49 .Ar prefix
50 from the paths showed on the interface.
51 .It Fl v
52 Produce more verbose output.
53 .El
54 .Sh SEE ALSO
55 .Xr amused 1
56 .Sh AUTHORS
57 .An -nosplit
58 The
59 .Nm
60 program was written by
61 .An Omar Polo Aq Mt op@omarpolo.com .
62 .Sh BUGS
63 The web interface doesn't update itself automatically.
64 Periodically refresh are needed.