2004-04-14 14:28:37 +00:00
|
|
|
1) resampling audio for compatibility, and better gapless/crossfading
|
|
|
|
a) write bit conversion stuff (8->16 and 24->16)
|
|
|
|
b) mono to stereo conversion
|
2004-04-14 22:25:03 +00:00
|
|
|
c) default audio format is (44.1khz, 16-bit, stereo)
|
2004-04-14 14:28:37 +00:00
|
|
|
d) option to set default sampling frequency
|
|
|
|
e) abitility to disable resampling and audio format conversion
|
|
|
|
|
|
|
|
2) non-blocking (for other clients) update
|
2004-04-11 20:14:10 +00:00
|
|
|
j) when reading new directory db, we should block some signals when
|
|
|
|
manipulating the directorydb, so we don't receive a signal to
|
|
|
|
quit in the middle of an update
|
|
|
|
k) when bg-update, have parent print out new old stuff to log on
|
|
|
|
reading db, not the child
|
2004-04-13 02:59:18 +00:00
|
|
|
n) mpd command for rereading db
|
2004-04-13 19:52:15 +00:00
|
|
|
o) rewrite update functions to indicate if something was updated, then
|
|
|
|
when update process returns, indicate wheater db was updated
|
|
|
|
and should be reread by parent process
|
2004-04-14 05:32:42 +00:00
|
|
|
p) set error: in status when an error occurs during update
|
2004-04-06 13:13:54 +00:00
|
|
|
|
2004-04-13 16:22:59 +00:00
|
|
|
3) have children close all logging stuff, and redirect stdout and stderr to
|
2004-04-13 15:49:54 +00:00
|
|
|
/dev/null, and set error bits in the shared log for the parent process
|
|
|
|
to check when it receives a SIGUSR1, and print logs and then reset values of
|
2004-04-13 15:52:16 +00:00
|
|
|
error bits. (don't redirect children's stdout and stderr to /dev/null if mpd is
|
|
|
|
run with --no-daemon)
|
2004-04-13 16:22:59 +00:00
|
|
|
|
|
|
|
4) cleanup main()
|
2004-04-14 14:28:37 +00:00
|
|
|
|
|
|
|
5) crosslink "list" stuff, for example, artists are crosslinked to alubms and
|
|
|
|
vice versa, this way you can do list album artists or list artist albums, this
|
|
|
|
will make life easier when we add genre and other metadata
|