README, INSTALL: Small improvements.
[paraslash.git] / README
1 README
2 ======
3
4 ----
5 Paraslash is an acronym for
6
7 _Play, archive, rate and stream large audio sets happily_
8
9 It contains the following programs:
10
11 -----------
12 para_server
13 -----------
14
15 para_server streams binary audio data (mp3/oggvorbis/m4a files)
16 over local and/or remote networks. It listens on a tcp port and
17 accepts commands such as play, stop, pause, next from authenticated
18 clients. However, there are many more commands.
19
20 It supports three builtin network streaming methods (senders): http, dccp,
21 or rtp.
22
23         * The http sender is recommended for public streams that can be played
24           by any player like mpg123, xmms, itunes, winamp...
25
26         * The dccp sender requires kernel support for the rather new datagram
27           congestion control protocol.
28
29         * The ortp sender is recommended for multicast LAN streaming.
30
31 It is possible to activate more than one sender simultaneously.
32
33 The built-in audio file selector of paraslash is used to manage your
34 audio files. It maintains statistics on the usage of all available audio
35 files such as last played time, and the number of times each file was
36 selected.
37
38 Its features include
39
40         * attributes. Allow fine-grained audio file selection.
41
42         * image table. For storage of e.g. album cover art.
43
44         * lyrics table. For storage of lyrics.
45
46         * playlist table. Stores arbitrary many playlists.
47
48         * mood mode. Audio file selection works by specifying mood
49           methods involving attributes, pattern matching for file names
50           and more. This allows rather sophisticated configurations
51           and is explained in more detail in
52 <<
53 <a href="README.afs.html"> README.afs </a>
54 >>
55
56         * rename detection. If files are moved or renamed, afs will
57           recognize them despite of this change.
58
59 Despite of all these features, paraslash is lightweight. The
60 stripped binary of para_server with all its features compiled in
61 mp3/ogg/aac support, http/dccp/ortp support) is about 150K on i386
62 under Linux. para_audiod (see below) is even smaller.
63
64 -----------
65 para_client
66 -----------
67
68 The client program to connect to para_server.  paraslash commands
69 are sent to para_server and the response is dumped to stdout. This
70 can be used by any scripting language to produce user interfaces with
71 little programming effort.
72
73 All connections between para_server and para_client are encrypted by
74 default.  For each user of paraslash you must create a public/secret
75 key pair for authentication. The (authenticated) connection is encrypted
76 with a symmetric rc4 session key.
77
78 ---------
79 para_recv
80 ---------
81
82 A command line http/dccp/rtp stream grabber. The http mode of this tool
83 can be used to receive data from any http streaming source.
84
85 -----------
86 para_filter
87 -----------
88
89 A filter program that converts from stdin and writes to stdout.
90
91 para_filter combines several decoders (mp3, oggvorbis, aac) and a
92 volume normalizer. New filters can be added easily. It is possible
93 to "chain" any number of filters, like unix pipes.
94
95 para_filter does not depend on other parts of paraslash, so it can
96 be used as a stand-alone command line tool for audio decoding.
97
98 ----------
99 para_write
100 ----------
101
102 A modular audio stream writer. It supports a simple file writer
103 output plug-in and optional wav/raw players for alsa (linux-only,
104 Debian package: libasound2-dev) and Mac OS. para_write can also be
105 used as a stand-alone wav or raw audio player.
106
107 -----------
108 para_audiod
109 -----------
110
111 The local daemon that collects information from para_server.
112
113 It runs on the client side and connects to para_server.  As soon as
114 para_server announces the availability (and the type) of an audio
115 stream, para_audiod starts an appropriate receiver, any number of
116 filters and a paraslash writer to play the stream. It is possible to
117 capture the stream at any position in the filter chain.
118
119 Moreover, para_audiod listens on a local socket and sends status
120 information about para_server and para_audiod to local clients on
121 request. Access via this local socket may be restricted by using Unix
122 socket credentials, if available.
123
124 -----------
125 para_audioc
126 -----------
127
128 The client program which talks with para_audiod. Used to control
129 para_audiod, to receive status info, or to grab the stream at any
130 point in the filter chain.
131
132 para_audioc (hence para_audiod) is needed by para_gui see below.
133
134 --------
135 para_gui
136 --------
137
138 Themable ncurses-based gui. It calls para_audioc and presents
139 the obtained information in an ncurses window. para_gui provides
140 key-bindings for the most common commands and new key-bindings can
141 be added easily.
142
143 ---------
144 para_fade
145 ---------
146
147 A (Linux-only) alarm clock and volume-fader.
148
149 ---------------
150 bash_completion
151 ---------------
152
153 A small bash script for inclusion in ~/.bashrc. It gives you command
154 line completion for some paraslash commands.
155
156 -------
157 LICENSE
158 -------
159
160 Distribution of paraslash is covered by the GNU GPL, version 2. See file
161 COPYING.
162
163 ----------
164 THE AUTHOR
165 ----------
166
167 Andre Noll <maan@systemlinux.org>
168 Comments and bug reports are welcome.