mpd/src
Eric Wong 836dcc28c5 directory: reuse existing directory if found on update
Instead of allocating a new one, just reuse an existing
one if one is found when rereading the DB.  This is a small
makes the previous commit work on subdirectories
of the root music directory.

[1] "song: better handling of existing songs when rereading DB"
2008-10-06 18:37:13 +02:00
..
audioOutputs audio_output: added method pause() 2008-09-29 16:43:55 +02:00
inputPlugins use C99 struct initializers 2008-09-29 15:55:17 +02:00
mp4ff fixed invalid C prototypes 2008-01-26 12:46:09 +00:00
ack.h The massive copyright update 2007-04-05 03:22:33 +00:00
audio_format.h assume stdint.h and stddef.h are available 2008-09-29 15:53:53 +02:00
audio.c audio_output: added method pause() 2008-09-29 16:43:55 +02:00
audio.h audio_output: added method pause() 2008-09-29 16:43:55 +02:00
audioOutput.c output: moved code from audioOutput.c to output_control.c 2008-09-09 10:02:34 +02:00
audioOutput.h output: moved code from audioOutput.c to output_control.c 2008-09-09 10:02:34 +02:00
buffer2array.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
buffer2array.h clean up CPP includes 2008-04-12 04:19:26 +00:00
charConv.c assume stdint.h and stddef.h are available 2008-09-29 15:53:53 +02:00
charConv.h clean up CPP includes 2008-04-12 04:19:26 +00:00
client.c client: check expired after client_process_line() 2008-09-17 22:02:13 +02:00
client.h client: added client_[gs]et_permission() 2008-09-07 19:16:34 +02:00
command.c command: get rid of specialized list handlers 2008-10-06 18:34:18 +02:00
command.h command: use client_[gs]et_permission() 2008-09-07 19:17:25 +02:00
compress.c compress.c: fix skips/distortion introduced in r7146 2008-02-05 10:17:45 +00:00
compress.h fixed "comparison between signed and unsigned" 2008-01-26 12:46:37 +00:00
condition.c introduce struct condition as a more correct version of Notify 2008-06-30 02:43:22 +00:00
condition.h introduce struct condition as a more correct version of Notify 2008-06-30 02:43:22 +00:00
conf.c fix -Wconst warnings 2008-02-05 10:17:33 +00:00
conf.h clean up CPP includes 2008-04-12 04:19:26 +00:00
crossfade.c pcm_utils: pass only one buffer size to pcm_mix() 2008-09-29 17:25:08 +02:00
crossfade.h audio_format: converted typedef AudioFormat to struct audio_format 2008-09-07 19:19:55 +02:00
dbUtils.c Switch to C99 types (retaining compat with old compilers) 2008-09-29 13:29:33 +02:00
dbUtils.h pass "struct client" to dbUtils.c, song.c, tag_print.c 2008-09-07 13:53:55 +02:00
decoder_api.c switch to C99 types, part II 2008-09-29 15:49:29 +02:00
decoder_api.h decoder: renamed plugin methods 2008-09-29 15:54:27 +02:00
decoder_control.c notify: added notify_deinit() 2008-09-24 07:14:11 +02:00
decoder_control.h switch to C99 types, part II 2008-09-29 15:49:29 +02:00
decoder_internal.h added flag "decoder.seeking" 2008-08-26 08:27:14 +02:00
decoder_list.c decoder: renamed plugin methods 2008-09-29 15:54:27 +02:00
decoder_list.h renamed functions in decoder_list.h 2008-08-26 08:27:09 +02:00
decoder_thread.c decoder: renamed plugin methods 2008-09-29 15:54:27 +02:00
decoder_thread.h renamed decoderInit() to decoder_thread_start() 2008-08-26 08:44:29 +02:00
directory.c directory: reuse existing directory if found on update 2008-10-06 18:37:13 +02:00
directory.h directory: simplify list update handling logic 2008-10-06 18:32:27 +02:00
dirvec.h directory: replace DirectoryList with dirvec 2008-09-29 13:11:40 +02:00
dlist.h imported list.h from the Linux kernel sources 2008-08-28 20:02:20 +02:00
gcc.h gcc.h: fix compilation with !(gcc >= 3) 2008-01-27 23:10:41 +00:00
inputStream_file.c added InputStream.ready 2008-08-26 08:27:10 +02:00
inputStream_file.h The massive copyright update 2007-04-05 03:22:33 +00:00
inputStream_http_auth.h http: initial rewrite using ringbuffer + pthreads 2008-06-30 02:43:13 +00:00
inputStream_http.c added InputStream.ready 2008-08-26 08:27:10 +02:00
inputStream_http.h The massive copyright update 2007-04-05 03:22:33 +00:00
inputStream.c added InputStream.ready 2008-08-26 08:27:10 +02:00
inputStream.h added InputStream.ready 2008-08-26 08:27:10 +02:00
ioops.c Always compile ioops.h, since main_notify uses it now 2008-04-13 18:04:02 +00:00
ioops.h Always compile ioops.h, since main_notify uses it now 2008-04-13 18:04:02 +00:00
list.c fix -Wcast-qual -Wwrite-strings warnings 2008-09-07 19:14:39 +02:00
list.h clean up CPP includes 2008-04-12 04:19:26 +00:00
listen.c client: renamed all public functions 2008-08-28 20:03:02 +02:00
listen.h clean up CPP includes 2008-04-12 04:19:26 +00:00
locate.c Switch to C99 types (retaining compat with old compilers) 2008-09-29 13:29:33 +02:00
locate.h Switch to C99 types (retaining compat with old compilers) 2008-09-29 13:29:33 +02:00
log.c include cleanup 2008-09-06 20:28:31 +02:00
log.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
ls.c song: removed type SongList 2008-09-26 09:54:25 +02:00
ls.h ls: don't pass "fd" to lsPlaylists(), printRemoteUrlHandlers() 2008-09-07 14:02:40 +02:00
main_notify.c main_notify: define main_task so we can use it for assertions 2008-10-06 18:31:59 +02:00
main_notify.h main_notify: define main_task so we can use it for assertions 2008-10-06 18:31:59 +02:00
main.c directory: remove "Mp3" references 2008-09-29 13:17:42 +02:00
Makefile.am assume stdint.h and stddef.h are available 2008-09-29 15:53:53 +02:00
metadata_pipe.c Switch to C99 types (retaining compat with old compilers) 2008-09-29 13:29:33 +02:00
metadataChunk.c Drop metadata updates from HTTP for now (input HTTP, and shout) 2008-04-12 04:08:12 +00:00
metadataChunk.h Drop metadata updates from HTTP for now (input HTTP, and shout) 2008-04-12 04:08:12 +00:00
normalize.c audio_format: converted typedef AudioFormat to struct audio_format 2008-09-07 19:19:55 +02:00
normalize.h audio_format: converted typedef AudioFormat to struct audio_format 2008-09-07 19:19:55 +02:00
notify.c notify: protect notify->pending with the mutex 2008-09-26 09:57:11 +02:00
notify.h notify: protect notify->pending with the mutex 2008-09-26 09:57:11 +02:00
os_compat.h assume stdint.h and stddef.h are available 2008-09-29 15:53:53 +02:00
output_api.c audio_output: added function audio_output_is_pending() 2008-09-29 16:40:07 +02:00
output_api.h audio_output: added method pause() 2008-09-29 16:43:55 +02:00
output_control.c audio_output: added method pause() 2008-09-29 16:43:55 +02:00
output_control.h audio_output: added method pause() 2008-09-29 16:43:55 +02:00
output_init.c output: make "struct audio_output" opaque for output plugins 2008-09-24 07:20:55 +02:00
output_internal.h output: removed DEVICE_ON, DEVICE_OFF 2008-09-24 07:25:07 +02:00
output_list.c output: static audio_output_plugin list as array 2008-09-08 11:43:13 +02:00
output_list.h output: static audio_output_plugin list as array 2008-09-08 11:43:13 +02:00
output_thread.c audio_output: added method pause() 2008-09-29 16:43:55 +02:00
output_thread.h output: one thread per audio output 2008-09-24 07:20:26 +02:00
outputBuffer_accessors.h Switch to C99 types (retaining compat with old compilers) 2008-09-29 13:29:33 +02:00
outputBuffer_ob_send.h Switch to C99 types (retaining compat with old compilers) 2008-09-29 13:29:33 +02:00
outputBuffer.c switch to C99 types, part II 2008-09-29 15:49:29 +02:00
outputBuffer.h switch to C99 types, part II 2008-09-29 15:49:29 +02:00
path.c path: add mpd_basename() function 2008-09-29 13:16:48 +02:00
path.h path: add mpd_basename() function 2008-09-29 13:16:48 +02:00
pcm_utils.c pcm_utils: 24 bit support 2008-09-29 17:26:07 +02:00
pcm_utils.h pcm_utils: pass only one buffer size to pcm_mix() 2008-09-29 17:25:08 +02:00
permission.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
permission.h clean up CPP includes 2008-04-12 04:19:26 +00:00
player_control.c notify: added notify_deinit() 2008-09-24 07:14:11 +02:00
player_control.h assume stdint.h and stddef.h are available 2008-09-29 15:53:53 +02:00
player_thread.c audio_output: added method pause() 2008-09-29 16:43:55 +02:00
player_thread.h moved code to player_thread.c 2008-08-26 08:27:09 +02:00
playerData.c moved code to pc_init(), dc_init() 2008-08-26 08:45:14 +02:00
playerData.h moved code to pc_init(), dc_init() 2008-08-26 08:45:14 +02:00
playlist.c switch to C99 types, part II 2008-09-29 15:49:29 +02:00
playlist.h switch to C99 types, part II 2008-09-29 15:49:29 +02:00
replayGain.c assume stdint.h and stddef.h are available 2008-09-29 15:53:53 +02:00
replayGain.h audio_format: converted typedef AudioFormat to struct audio_format 2008-09-07 19:19:55 +02:00
ringbuf.c fixed ringbuf.c warnings 2008-08-25 15:49:06 +02:00
ringbuf.h fixed ringbuf.c warnings 2008-08-25 15:49:06 +02:00
sig_handlers.c directory: update do its work inside a thread 2008-09-23 22:37:18 +02:00
sig_handlers.h clean up CPP includes 2008-04-12 04:19:26 +00:00
signal_check.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
signal_check.h clean up CPP includes 2008-04-12 04:19:26 +00:00
sllist.c const pointers 2008-08-28 20:02:17 +02:00
sllist.h const pointers 2008-08-28 20:02:17 +02:00
song_print.c Replace SongList with struct songvec 2008-09-23 20:48:39 +02:00
song_print.h Replace SongList with struct songvec 2008-09-23 20:48:39 +02:00
song_save.c songvec: remove songvec_prune 2008-09-23 22:37:33 +02:00
song_save.h Replace SongList with struct songvec 2008-09-23 20:48:39 +02:00
song.c decoder: renamed plugin methods 2008-09-29 15:54:27 +02:00
song.h assume stdint.h and stddef.h are available 2008-09-29 15:53:53 +02:00
songvec.c songvec: songvec_delete takes a const Song pointer 2008-09-29 13:17:30 +02:00
songvec.h songvec: songvec_delete takes a const Song pointer 2008-09-29 13:17:30 +02:00
state_file.c Remove EINTR checking for open(2) 2008-09-23 22:38:36 +02:00
state_file.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
stats.c use strset.h instead of tagTracker.h 2008-09-08 11:47:57 +02:00
stats.h stats: don't pass "fd" to printStats() 2008-09-07 14:02:57 +02:00
storedPlaylist.c storedPlaylist: correctly expand path when writing 2008-09-09 09:59:34 +02:00
storedPlaylist.h playlist: don't pass "fd" to storedPlaylist.c functions 2008-09-07 13:44:12 +02:00
strset.c strset: fix duplicate values 2008-09-08 12:07:08 +02:00
strset.h added string set library 2008-09-08 11:46:04 +02:00
tag_id3.c const pointers 2008-08-29 14:48:39 +02:00
tag_id3.h const pointers 2008-08-29 14:48:39 +02:00
tag_internal.h Switch to C99 types (retaining compat with old compilers) 2008-09-29 13:29:33 +02:00
tag_pool.c tag: lock all accesses to tag_pool 2008-09-07 19:14:45 +02:00
tag_pool.h tag: lock all accesses to tag_pool 2008-09-07 19:14:45 +02:00
tag_print.c pass "struct client" to dbUtils.c, song.c, tag_print.c 2008-09-07 13:53:55 +02:00
tag_print.h pass "struct client" to dbUtils.c, song.c, tag_print.c 2008-09-07 13:53:55 +02:00
tag_save.c tag: added buffered versions of the tag_print.c code 2008-09-07 13:36:05 +02:00
tag_save.h tag: added buffered versions of the tag_print.c code 2008-09-07 13:36:05 +02:00
tag.c tag: merge clearMpdTag into tag_free 2008-10-06 18:35:41 +02:00
tag.h assume stdint.h and stddef.h are available 2008-09-29 15:53:53 +02:00
timer.c timer: constant pointers 2008-09-09 10:01:29 +02:00
timer.h timer: constant pointers 2008-09-09 10:01:29 +02:00
utf8.c added "length" parameter to validUtf8String() 2008-08-29 09:38:58 +02:00
utf8.h added "length" parameter to validUtf8String() 2008-08-29 09:38:58 +02:00
utils.c Add prefixcmp() (stol^H^H^H^Hborrowed from git) 2008-09-23 20:48:08 +02:00
utils.h Add prefixcmp() (stol^H^H^H^Hborrowed from git) 2008-09-23 20:48:08 +02:00
volume.c start using prefixcmp() 2008-09-23 20:48:12 +02:00
volume.h volume: don't pass "fd" to changeVolumeLevel() 2008-09-07 13:50:16 +02:00
zeroconf.c enable -Wpointer-arith, -Wstrict-prototypes 2008-08-26 08:27:02 +02:00
zeroconf.h zeroconf: reformat (with mpd-indent.sh + manual tweaks) 2008-01-03 10:03:28 +00:00