Commit Graph

18725 Commits

Author SHA1 Message Date
Warren Dukes 13a3b507f2 clarify error for --no-create-db
git-svn-id: https://svn.musicpd.org/mpd/trunk@912 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-05 15:01:34 +00:00
Warren Dukes c4a9e3790f flac uses abstracted inputStream stuff
git-svn-id: https://svn.musicpd.org/mpd/trunk@905 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-04 23:39:02 +00:00
Warren Dukes 659df58671 implement input abstraction for ogg and mp3
git-svn-id: https://svn.musicpd.org/mpd/trunk@904 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-04 19:49:29 +00:00
Warren Dukes 638817fc5b start abstracting input layer for decoders
git-svn-id: https://svn.musicpd.org/mpd/trunk@903 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-04 19:08:46 +00:00
Warren Dukes 37db643217 clean-up a wee-bit of code
git-svn-id: https://svn.musicpd.org/mpd/trunk@895 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-29 19:34:30 +00:00
Warren Dukes 22058b9b61 potential fix for CompBrain's segfault, i could test it if he ever gave me
a broken flac file

git-svn-id: https://svn.musicpd.org/mpd/trunk@877 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-22 21:14:41 +00:00
Warren Dukes 4cfa17c860 can search bye filename
git-svn-id: https://svn.musicpd.org/mpd/trunk@839 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-19 22:50:13 +00:00
Warren Dukes 955428b8a2 don't expose functions in utf8.h that don't need it
git-svn-id: https://svn.musicpd.org/mpd/trunk@812 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-17 17:42:57 +00:00
Warren Dukes 2cfea8a8bf ummm, undo last changes, they shouldn't need to be neccessary
git-svn-id: https://svn.musicpd.org/mpd/trunk@811 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-17 12:43:44 +00:00
Warren Dukes 4196886e93 close audio() and audioDriver() on decode process fork
git-svn-id: https://svn.musicpd.org/mpd/trunk@810 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-17 12:36:15 +00:00
Warren Dukes 158c23f238 when updating, don't cause db reread on adding and then removing empty directories
git-svn-id: https://svn.musicpd.org/mpd/trunk@805 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 23:49:48 +00:00
Warren Dukes 4a1fbb45c5 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@796 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 17:17:53 +00:00
Warren Dukes a7076a120b some cleanups of sprintf's => snprintf's
git-svn-id: https://svn.musicpd.org/mpd/trunk@794 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 15:01:06 +00:00
Warren Dukes a5d6f1868e todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@793 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 13:59:35 +00:00
Warren Dukes ef439d446b todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@792 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 13:55:01 +00:00
Warren Dukes 76e11b474b todo updates
git-svn-id: https://svn.musicpd.org/mpd/trunk@791 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 12:16:54 +00:00
Warren Dukes 3a5bbf54b4 update playlistinfo documenation
git-svn-id: https://svn.musicpd.org/mpd/trunk@790 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 04:20:28 +00:00
Warren Dukes fe52847ad6 fix bug in prependCwdToPathDup()
git-svn-id: https://svn.musicpd.org/mpd/trunk@789 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 03:52:17 +00:00
Warren Dukes 13f3794d09 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@784 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 01:17:35 +00:00
Warren Dukes 963754b0d4 msells versions patch to list supported formats
git-svn-id: https://svn.musicpd.org/mpd/trunk@783 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 01:06:14 +00:00
Warren Dukes da588cbc46 *gasp* added a comment
git-svn-id: https://svn.musicpd.org/mpd/trunk@782 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 00:50:33 +00:00
Warren Dukes c4d2b8dc1c only write db in initMp3Directory() when stuff is updated
git-svn-id: https://svn.musicpd.org/mpd/trunk@781 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 00:48:47 +00:00
Warren Dukes 2e420db19c remove directory mtime from db!
also, only reReadDB and write DB on update if something was actually updated

git-svn-id: https://svn.musicpd.org/mpd/trunk@780 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 00:41:56 +00:00
Warren Dukes 5ea8e2d65b don't stat() the db to get the modtime everytime, instead store it when we read the db
git-svn-id: https://svn.musicpd.org/mpd/trunk@779 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-15 23:36:41 +00:00
Warren Dukes be3e2f08c9 todo udpates
git-svn-id: https://svn.musicpd.org/mpd/trunk@778 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-15 20:15:41 +00:00
Warren Dukes 3ea87a52c6 round crossfade for status
git-svn-id: https://svn.musicpd.org/mpd/trunk@775 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-15 16:16:19 +00:00
Warren Dukes 0b7d9b2dec no point in tallying stats on writeDirectoryDB anymore
git-svn-id: https://svn.musicpd.org/mpd/trunk@774 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-15 15:25:06 +00:00
Warren Dukes 55789de546 todo rearranging
git-svn-id: https://svn.musicpd.org/mpd/trunk@773 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-15 05:10:05 +00:00
Warren Dukes 7f29bb1a8d log cycling and a few cleanups
git-svn-id: https://svn.musicpd.org/mpd/trunk@772 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-15 05:07:04 +00:00
Warren Dukes df3af7d4f1 clean up a little bit main() code
git-svn-id: https://svn.musicpd.org/mpd/trunk@771 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-15 03:26:15 +00:00
Warren Dukes 794799eaf4 don't updatedb on sighup if db is being updated
git-svn-id: https://svn.musicpd.org/mpd/trunk@768 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14 23:08:28 +00:00
Warren Dukes c68dda4742 git-svn-id: https://svn.musicpd.org/mpd/trunk@767 09075e82-0dd4-0310-85a5-a0d7c8717e4f 2004-04-14 22:25:03 +00:00
Warren Dukes 4ae945b10d update todo
git-svn-id: https://svn.musicpd.org/mpd/trunk@766 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14 21:57:37 +00:00
Warren Dukes 549344d38a add vim shiznit to end of all source files
git-svn-id: https://svn.musicpd.org/mpd/trunk@750 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14 14:53:41 +00:00
Warren Dukes 87e87e12d3 todo updates
git-svn-id: https://svn.musicpd.org/mpd/trunk@749 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14 14:28:37 +00:00
Warren Dukes 99f5dab7c3 one more thing for todo
git-svn-id: https://svn.musicpd.org/mpd/trunk@746 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14 05:32:42 +00:00
Warren Dukes 2a24a94ba7 ok, finished incremental update!
now just need to polish up a few things with update

git-svn-id: https://svn.musicpd.org/mpd/trunk@745 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14 05:26:32 +00:00
Warren Dukes ba1d3302e2 silly shank, use functions you already have\!
git-svn-id: https://svn.musicpd.org/mpd/trunk@744 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14 03:04:49 +00:00
Warren Dukes 8fa2084703 pseduo-code for creating new entries in db for incremental update
git-svn-id: https://svn.musicpd.org/mpd/trunk@743 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14 02:55:19 +00:00
Warren Dukes 32b62ade7b incremental update can now recognize if you pass it a deleted path
git-svn-id: https://svn.musicpd.org/mpd/trunk@742 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14 02:35:29 +00:00
Warren Dukes 700093adcc add copyright notices to new files
git-svn-id: https://svn.musicpd.org/mpd/trunk@739 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 19:59:03 +00:00
Warren Dukes e4ef4ea6aa make some code look neater
git-svn-id: https://svn.musicpd.org/mpd/trunk@738 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 19:55:00 +00:00
Warren Dukes 72e06e05a1 fix some misc chld signal handling for update process
git-svn-id: https://svn.musicpd.org/mpd/trunk@737 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 19:52:15 +00:00
Warren Dukes 1f0f1b2892 add a error msg for playerSeek()
git-svn-id: https://svn.musicpd.org/mpd/trunk@736 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 19:27:22 +00:00
Warren Dukes b5bdc71d2c have update process ignore signals when writing db
git-svn-id: https://svn.musicpd.org/mpd/trunk@735 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 19:24:05 +00:00
Warren Dukes 860f8bda71 ok, rework myfprintf so it uses write() and never use any file stream
print functions.  this way we can always know wtf is going on!
also, remove some places where we were using fprintf and printf instead of
myfprintf

git-svn-id: https://svn.musicpd.org/mpd/trunk@734 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 19:08:38 +00:00
Warren Dukes 5a50fa7147 block signals when writing db to ensure db isn't corrupted
git-svn-id: https://svn.musicpd.org/mpd/trunk@730 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 17:08:31 +00:00
Warren Dukes acf0e147c2 when doing signal functions (like sigaction) make sure it wasn't interrupted by a signal (errno==EINTR)
git-svn-id: https://svn.musicpd.org/mpd/trunk@729 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 16:46:11 +00:00
Warren Dukes 00c25b772e add --only-update-db command line option
git-svn-id: https://svn.musicpd.org/mpd/trunk@728 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 16:22:59 +00:00
Warren Dukes 43c2576934 todo...mhmmm
git-svn-id: https://svn.musicpd.org/mpd/trunk@727 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13 15:52:16 +00:00