fix audiod stream delay
[paraslash.git] / NEWS
1 NEWS
2 ====
3
4 -------------------------------------------
5 0.?.? (to be announced) "sonic convolution"
6 -------------------------------------------
7
8 A bunch of new features and core changes.
9
10         - the new paraslash scheduler, short and sweet.
11         - Support for m4a files via the new aac filter/ and audio
12           format handler (requires libfaad).
13         - each writer has its own command line parser, just like
14           para_recv and para_filter.
15         - new writer: osxplay (thanks to Gerd Becker)
16         - para_client and para_audioc use the error subsystem
17         - writers are integrated in para_audiod
18         - para_client is integrated in para_audiod
19         - random/playlist selector: improved info strings
20         - new audiod commands: tasks, kill
21         - update to libortp-0.10.0
22
23
24 ------------------------------------------
25 0.2.12 (2006-05-12) "oriented abstraction"
26 ------------------------------------------
27
28 Many user-visible changes in this release and lots of new
29 features:
30
31
32         - the new optional dccp sender/receiver. It uses the datagram
33           congestion control protocol. You'll need a fairly new kernel
34           for this.
35         - paraslash works on Mac OS X (thanks to Gerd Becker)
36         - para_play renamed to para_write
37         - modular output plugin design (writers) for para_write
38         - new file_writer output plugin for para_write
39         - compress filter speed improvements
40         - update to libortp-0.9.1
41         - update to gengetopt-2.17rc
42         - para_client no longer depends on libreadline (as the
43           code for the interactive mode was removed).
44         - gcc-2-95 is no longer a supported compiler. It may still
45           work, but it gets no more testing.
46         - the tarball no longer contains the screenshot images which
47           reduces its size quite a bit.
48         - configure: new command line options: --enable-mysql-headers
49           and --enable-mysql-libs
50
51 ------------------------------------
52 0.2.11 (2006-03-11) "atomic duality"
53 ------------------------------------
54
55 Here it is, the first paraslash release developed with git. There
56 are fairly many user-visible changes in this release. As two out of
57 the three "database tools" of paraslash don't use a database at all,
58 they are now called "audio file selectors" instead.
59
60
61         - the cdt command (change database tool) becomes chs (change
62           selector)
63         - no more colon separators: The syntax of some options of
64           para_audiod and para_filter have changed. Use --help for
65           more info (and some examples).
66         - update to gengetopt-2.16 (thanks to Lorenzo Bettini)
67         - switch from cvs to git (should've done that earlier)
68         - the new ipc subsystem
69         - new audio file selector: playlist
70         - para_server: the dopey selector is now called "random",
71           and is the default selector. Use the --selector option to
72           choose another selector at startup, or the chs command to
73           change the selector at runtime.
74         - X86_64 fixes (thanks to Steffen Klassert)
75         - para_play fixes
76
77
78 --------------------------------------
79 0.2.10 (2006-02-17) "cyclic attractor"
80 --------------------------------------
81
82 Huge documentation update, a scrollable window for para_gui, ortp
83 improvements, and of course many small fixes not mentioned here.
84 The diffstat below is rather misleading as most insertions are due
85 to the new source documentation.
86
87         - autoconf cleanup
88         - para_server also uses the new error subsystem
89         - lots of new documentation (UTSL)
90         - gui improvements:
91                 - keysyms for cursor keys and for next/previous page keys
92                 - scrollable output window
93                 - new internal commands: scroll up/down, page up/down
94                 - fix color of command output.
95         - ortp: the --chunk_time and --header flags are no longer needed
96         for para_recv/para_audiod as this information is now encoded in
97         each rtp packet sent by para_server.
98
99
100 -------------------------------------------
101 0.2.9 (2006-01-24) "progressive turbulence"
102 -------------------------------------------
103
104 Internal audiod receivers/filters, the new error subsystem and
105 a lot of small improvements.
106
107         - para_recv and para_filter are integrated into the para_audiod
108           binary, i.e. audiod no longer spawns a new process for
109           each receiver/filter. As para_recv and para_filter might be
110           useful as standalone programs, they still get built (linked
111           against the same object files that are also used for audiod).
112         - further ortp timing improvements should reduce the CPU usage
113           of the ortp receiver.
114         - improved audio grabbing. The 'grab' command of para_audiod
115           has its own set of command line options. Read the output of
116           "para_audioc help grab" for more info.
117         - oggdec: configurable input prebuffer size.
118         - the new error subsystem gives better error diagnostics
119           and reduces code size.
120
121
122 -----------------------------------------
123 0.2.8 (2006-01-02) "dynamic accumulation"
124 -----------------------------------------
125
126 The new modular filter design and the para_play-hangs bugfix.
127
128         - new executable: para_filter. It combines para_mp3dec,
129           para_oggdec and para_compress. It also adds a further filter
130           type, wav, that just inserts a wave header at the desired point
131           of the filter chain. All 'piping' is done in-memory (i.e. no
132           read/write operations are used).
133         - para_play: fix a stupid bug that caused it to hang under
134           certain circumstances.
135
136
137 -------------------------------------------
138 0.2.7 (2006-12-27) "transparent invariance"
139 -------------------------------------------
140
141 Not many user-visible changes but a fair amount of internal improvements.
142
143
144         - The http sender buffers data if it can not be sent
145           out immediately (because the socket is not writable). This
146           should prevent para_server from shutting down the connection
147           too early on a loaded network.
148         - para_play also prebuffers data if it is told to start at a
149           future time by the --start_time option.
150         - The return of para_recv: It combines para_ortp_recv and
151           para_http_recv. Use the --receiver option to switch between
152           the two. para_recv builds without libortp, but contains
153           only the http receiver in this case.
154         - update to ortp 0.8.1. As this ortp release contains incompatible
155           changes, para_recv-0.2.7 won't link against older ortp libs.
156         - improved ortp timings.
157         - use of gcc-extensions that #define away for non-gcc and
158           gcc < 3.0.
159
160
161 -------------------------------------------
162 0.2.6 (2005-10-29) "recursive compensation"
163 -------------------------------------------
164
165 Transparent session encryption (uses openssl's Alleged RC4 cipher),
166 the internal find command and several other improvements and cleanups.
167
168         - Encrypt the session if encryption is requested by the client
169           (default for para_client 0.2.6). This is backwards
170           compatible, so older clients can still connect to para_server
171           0.2.6. Use the new client option --plain to request an
172           uncrypted session (off by default, must be set to on in
173           order to connect to para_server 0.2.x with 0 <= x <= 5).
174         - para_server uses an internal function to locate audio files
175           rather than calling find(1). The server option
176           --mysql_audio_file_dir replaces --mysql_find_cmd.
177         - documentation update
178         - man pages
179         - header file cleanup
180         - para_client code cleanup
181         - para_gui: faster display of output of display commands
182
183
184 ------------------------------------------
185 0.2.5 (2005-10-13) "aggressive_resolution"
186 ------------------------------------------
187
188 This release adds internal senders, i.e. no more external programs are
189 spawned for sending out the audio data. There are two different senders
190 available: The http sender and the ortp sender (former para_send which
191 is no longer needed).
192
193 The new sender code has a plugin-like design so it can be easily
194 extended should there be be any future need for supporting another
195 network streaming protocol. All senders are completely independent of
196 each other. In particular, the http and the ortp sender can operate
197 in parallel.
198
199         - new server command: sender to control senders at runtime.
200           Read the output of "para_server -h" and "para_client help
201           sender" for more information.
202         - para_recv renamed to para_ortp_recv
203         - new executable: para_http_recv, a simple command line
204           http receiver.
205         - major afs/mp3/ogg code simplifications due to internal
206           senders.
207         - ogg timing improvements
208         - fix several minor memory leaks (found by valgrind)
209         - empty stream definitions work again
210         - com_ne(): ignore errors on remove
211         - audiod: fix segfault on server restart
212
213
214 ---------------------------------------
215 0.2.4 (2005-09-21) "toxic anticipation"
216 ---------------------------------------
217
218 Several small improvements, fixes and the new grab command.
219
220         - audiod:
221                 - new command: "grab" to grab the output of the stream reader
222                   or any filters. Read the output of "para_audioc help grab"
223                   for more information.
224                 - fix memory leak
225                 - code cleanup
226         - audioc: new command line option: --bufsize to specify a
227           buffer size different from the default size 8192.
228         - improved error diagnostics for para_play.
229         - new configure option: --enable-ssldir so search for openssl in
230           non-standard places
231         - sdl_gui: Make it look nice again for 1024x768
232         - server: report total size of memory allocated with sbrk by malloc,
233           new command line option: --announce_time
234
235
236 -----------------------------------------
237 0.2.3 (2005-09-01) "hydrophilic movement"
238 -----------------------------------------
239
240 Two new executables and major feature enhancements.
241
242         - audiod filters: It is now possible to specify arbitrary many
243           (including none) filters for each supported audio
244           format. This can be used e.g. for normalizing volume,
245           transforming or grabbing the audio stream, or for using
246           visualizers.  Read the output of "para_audiod -h" for the
247           syntax of the new --filter_cmd option.
248         - new executable: para_play, a tiny alsa player. It
249           can play wave files or raw pcm (16 bit little endian)
250           from stdin.
251         - new executable: para_compress, a dynamic range compressor
252           intended to keep audio output at a consistent volume. Derived
253           from AudioCompress, http://trikuare.cx/code/AudioCompress.html.
254         - audiod: New option: --stream_delay. This can be used in
255           a local network to syncronize the audio output of all
256           clients that play the same stream.
257
258
259 ------------------------------------------
260 0.2.2 (2005-08-19) "tangential excitation"
261 ------------------------------------------
262
263 Mostly internal changes in this release, but also some new commands
264 for the mysql database tool.
265
266         - cleanup exec.c, fix para_exec bug
267         - compile time loglevel (log messages below the given level
268           won't be compiled in, which reduces the size of the
269           resulting binaries)
270         - new log macros that shorten the size of the source code.
271         - workaround a gcc-4.1 bug (?) that caused send_cred_buffer()
272           to send only zeros. With this workaround, para_audioc works
273           again.
274         - avoid gcc-4 warning: conflicting types for built-in function 'clog'
275         - new mysql commands: "rm" (remove entry), "mv" (rename entry) "ne"
276           (new entry), "snp" (set numplayed). Read the manual for more
277           information.
278
279
280 ---------------------------------------
281 0.2.1 (2005-08-15) "surreal experience"
282 ---------------------------------------
283
284 Here comes paraslash-0.2.1. It contains a couple of new features and,
285 surprise, only minor bug fixes.
286
287         - kill noisy mp3 debug message
288         - cleanup of the build system
289         - para_server and para_client directly use the crypto routines
290           of the openssl library rather than invoking the openssl command
291           line utitlity
292         - server/audiod: new option --user to switch to the given user
293           when invoked as root. Read the output of "para_server -h" for
294           more information.
295         - gui/sdl_gui: new option --stat_cmd to be used to retrieve the
296           status. Default: "para_audioc stat"
297         - sdl_gui: new option --pic_cmd to be used to download the picture.
298           Default: "para_client pic"
299         - audiod: 5 slots ought to be enough for everybody
300         - audiod: new status item: Uptime, kill hup command
301
302
303
304 ------------------------------------------
305 0.2.0 (2005-08-06) "distributed diffusion"
306 ------------------------------------------
307
308 After several month of increased development activity, paraslash-0.2.0
309 has arrived. It contains many new features and is much more
310 self-contained than the old 0.1.x series. Enjoy!
311
312
313         - para_server: fix hang on song change and crash on sighup.
314           Speed up mysql queries. The DIR_LIKE macro is gone.
315         - new executables: para_audiod, the local audio daemon that
316           starts playback (uses SCM_CREDENTIALS socket magic) and
317           para_audioc, the corresponding client.
318         - new executables: para_mp3dec/para_oggdec, two really teensy
319           decoders. para_mp3dec is based on libmad, para_oggdec requires
320           libvorbisfile.
321         - ovsend/ovrecv are capable of streaming ogg as well as mp3, so
322           they are now called para_send and para_recv respectively.
323         - documentation updates
324         - para_gui is themable. For now there is the default theme that
325           looks as before and the simple theme: blue and easy.
326         - gui: audio streaming is now handled by audiod. Time display shows
327           playback time rather than streaming time
328         - slider: update to libzmw-0.2.0
329         - para_krell: fix crash on server shutdown
330         - switch from gzip to bzip2
331
332
333 ----------------------------------------
334 0.1.7 (2005-04-18) "melting penetration"
335 ----------------------------------------
336
337 The main change in this release is clearly the oggvorbis rewrite,
338 but there are also lots of smaller changes. If you intend to use both
339 the mp3 and the ogg plugin, it is recommended to use software mixing,
340 e.g. the dmix plugin which is provided by ALSA.
341
342         - new executables: para_ovsend and para_ovrecv for sending/receiving
343           oggvorbis files via rtp. Requires the open rtp library. Get it at
344           http://www.linphone.org/ortp/
345         - rewrite of the ogg_vorbis core code
346         - configure detects libzmw and, if detected, includes
347           para_slider to the list of binaries to be built by make
348         - server stream writers read from their associated fifo rather
349           than from stdin
350         - slider: two new sliders, lastplayed and numplayed
351         - fix nasty double free bug which caused random segfaults in case of
352           mp3 files with invalid header information
353         - gui: new command line option: --stream_timeout=seconds  to
354           deactivate a slot if it is idle for that many seconds (default=`5')
355         - diffstats
356
357
358 ---------------------------------------
359 0.1.6 (2005-03-05) "asymptotic balance"
360 ---------------------------------------
361
362 Only little user-visible changes in this release. Mainly bugfixes and
363 core code cleanup. This is probably the most stable version ever if you
364 stick to mp3...
365
366         - fix several memory leaks
367         - rename default name of mysql database from "music" to "paraslash".
368           Use para_server's  --mysql_database option if you do not want to
369           rename your old database.
370         - rework ogg vorbis code
371         - make update command work on mysql servers with LOCAL_INFILE
372           disabled
373         - gui: improved stream I/O (slots)
374         - simplified audio format API
375         - para_pob_ogg is gone
376
377 ------------------------------------
378 0.1.5 (2004-12-31) "opaque eternity"
379 ------------------------------------
380
381 Let's slide gently into the new year.
382
383         - new: para_slider (not built automatically, type "make
384           para_slider" to build). A toy for those who always felt that
385           creating stream definitions is difficult. See screenshots,
386           README and FEATURES for more info.
387         - improved signal handling. Fixes server segfault on SIGHUP
388           for linux kernels newer than Aug 24 2004 and makes para_gui
389           race-free.
390         - reload database tool on SIGHUP
391         - improved help message for sl
392         - do not log "broken pipe" messages as errors. They are
393           perfectly ok.
394         - fix wrong error message on permission errors
395
396 -----------------------------------------
397 0.1.4 (2004-12-19) "tunneling transition"
398 -----------------------------------------
399
400 Bugfix release. As expected, 0.1.3 introduced a bunch of new bugs.
401 Hopefully, most of them got wiped out with this release. Some
402 enhancements went also in.
403
404         - improved error diagnostics for all commands
405         - stradd/picadd: overwrite previous contents if entry already
406           exists, rather than returning errors
407         - stradd: use current stream if invoked without args
408         - faster (and hopefully more stable) ogg-vorbis handling
409         - para_krell: reap children to avoid zombie-flooding in case
410           no server is running
411         - si: report also server pid
412         - server: don't busy-loop if dbtool reports only invalid files.
413         - gui: CTRL+C works again, fix stream_read command line option
414         - fix pic_add, hist
415         - fix mysql dbtool startup in case no database exists
416         - many small fixes and cleanups
417
418 ---------------------------------------
419 0.1.3: (2004-12-10) "vanishing inertia"
420 ---------------------------------------
421
422 Starting from this release, the database tools are integrated in the
423 server binary. This decreases server startup time, reduces code size
424 and speeds up database commands. However, the layout of the underlying
425 mysql database changed only slightly and 0.1.3 should be backwards
426 compatible in that respect.
427
428 Visible changes:
429
430         - If mysql is not detected at compile time, or fails to init
431           at runtime, fall back to the dopey database tool which should
432           always work.
433         - para_dbtool and dbtool.conf are gone. All mysql specific
434           options are read from server.conf and are prefixed by 'mysql_'.
435         - new command: cdt (change database tool)
436         - new command line option: dbtool (choose startup database tool)
437         - The name of current stream is now stored in the database,
438           so paraslash remembers its current stream when restarted.
439         - new command: csp (change stream and play)
440         - para_gui also reports current database tool and server uptime
441
442
443 -------------------------------------------
444 0.1.2: (2004-11-28) "spherical fluctuation"
445 -------------------------------------------
446
447 Point release before the big dbtool changes go in.
448
449         - dbtool: rename ca to cam (copy all meta data). It now also
450           copies numplayed and lastplayed time as well as the picture
451           id.
452         - fix endless-loop-bug caused by mp3 files with invalid header
453
454 -----------------------------------------
455 0.1.1: (2004-11-05) "floating atmosphere"
456 -----------------------------------------
457
458         - gkrellm plugin
459         - new dbtool command: mbox. Browse your sound-file collection
460           with your favorite mail reader.
461         - several small fixes
462
463 -------------------------------------
464 0.1.0: (2204-10-22) "rotating cortex"
465 -------------------------------------
466
467         - fix logging bug for loglevel > VERBOSE
468         - fix skip command
469         - correct timings for vbr mp3s
470         - modular audio format support
471         - ogg-vorbis support (experimental)
472         - new server option: autoplay
473
474 -----------------------------------------
475 0.0.99: (2004-07-25) "harmonic deviation"
476 -----------------------------------------
477
478         - rename projectname from icc to paraslash (play, archive, rate
479           and stream large audio sets happily)
480         - paraslash is no longer restricted to one particular audio
481           streaming software
482         - new dbtool commands (stradd, strq, strdel) for easy stream
483           managment w/o configuration file. That obsoletes stream_defs
484           file/config option for dbtool.
485         - picadd accepts jpeg data from stdin
486         - new server commands: ps (select previous stream), sc (song change)
487         - new default pictures for sdl_gui
488         - gui: new key_map option for binding commands and internal
489           functions to arbitrary keys, nice help screen, rip out
490           soundcard/linux specific stuff, avoid noise artefacts while jumping,
491           show silly logo on startup
492         - new executables: para_fade for fading volume, para_dbadm for
493           manipulating attributes
494         - cdb adds _all_ tables to mysql database
495         - revised and beautified documentation
496         - sample dbtool rewritten in C
497         - autoconf
498
499 ---------------------------------------------
500 0.0.98: (2003-12-26) "incremental smoothness"
501 ---------------------------------------------
502
503         - kick icecast in favour of poc. That removes some races and reduces
504           core code considerably.
505         - cbr/vbr is displayed by stat and gui/sdl_gui. New status flags
506           give finer info on afs' status.
507         - gui can start decoder (see config options). Further new gui
508           commands: refresh (^L), jmp (F1-F10)
509         - gui rereads conf on SIGUSR1 instead of SIGHUP. SIGHUP
510           terminates gui. This fixes dead instances consuming memory
511           continuously.
512         - new dbtool command: verb for sending verbatim sql queries.
513         - fix pid_list races (by removing pid_list)
514         - codename funnies
515
516 --------------------
517 0.0.97: (2003-10-26)
518 --------------------
519
520         - installation prefix now defaults to /usr/local
521         - new commands for gui: snozze, sleep and reread config
522         - config file for gui and sdl_gui
523         - fix problems with filenames containing funny characters
524           (reported by Thomas Forell)
525         - improved signal handling for gui, now it rereads conf on SIGHUP
526         - new dbtool command: cdb (create database)
527         - switch from argtable to gengetopt
528         - major code cleanup and speed improvements
529         - fix several potential buffer overflows
530         - many small fixes and cleanups
531
532 -------------------
533 0.0.96 (2003-08-30)
534 -------------------
535
536         - easy stream_defs syntax
537         - sdl_gui can display images associated to the file being played
538         - Major feature enhancements for icc_gui including dynamic text
539           placement and the top/bottom window design
540         - vrfy/clean now also checks for NULL values in attributes as
541           well as for invalid picture pointers
542         - fix long outstanding case sensitivity bug
543         - many small fixes and cleanups
544
545 -------------------
546 0.0.95 (2003-06-29)
547 -------------------
548
549         - sdl gui runs much faster
550         - new dbtool command: ca (copy attributes)
551         - count and display number of times the song has been played
552         - new feature: scoring
553         - command line options for sdl_gui
554         - simpler syntax of streams file
555         - decrease network traffic of stat
556         - fix zombie bug
557         - many small fixes and cleanups
558
559 -------------------
560 0.0.94 (2003-05-04)
561 -------------------
562
563         - new server command: ns (next stream)
564         - new icc_gui command: c (change stream)
565         - internal mp3info
566         - stat shows also id3 tag info
567         - new sdl based gui
568         - log flodding bug fixed
569         - many small fixes and cleanups
570
571 -------------------
572 0.0.93 (2003-03-28)
573 -------------------
574
575         - colors for icc_gui
576         - icc_gui sets volume directly (linux only)
577         - proper locking that fixes some races
578         - fix security bug that caused commands to be executed even
579           with unsufficient permissions
580         - new command: hup to make all servers reread their configuration file
581         - icecast meta data streaming
582         - many small fixes and cleanups