Commit Graph

  • acf0e147c2 when doing signal functions (like sigaction) make sure it wasn't interrupted by a signal (errno==EINTR) Warren Dukes 2004-04-13 16:46:11 +00:00
  • 00c25b772e add --only-update-db command line option Warren Dukes 2004-04-13 16:22:59 +00:00
  • 43c2576934 todo...mhmmm Warren Dukes 2004-04-13 15:52:16 +00:00
  • 0eef3bd94d todo: don't have children write to logs, that's very naughty Warren Dukes 2004-04-13 15:49:54 +00:00
  • 8c96c2d363 rename all ascii/utf8 stuff to latin1/utf8 Warren Dukes 2004-04-13 13:52:16 +00:00
  • 4920ee719a plug a potential memory leak Warren Dukes 2004-04-13 05:19:45 +00:00
  • 20be66a944 clean up finished stuff from todo Warren Dukes 2004-04-13 05:05:06 +00:00
  • 1004890e25 lots of fsCharset, utf8/ascii converting clean-up and robustness stuff Also, if fsCharsetToUtf8 can't convert to valid UTF-8, then don't add it to the db, this way clients don't have to worry about weirdness and it will force ppl to convert it. Warren Dukes 2004-04-13 04:59:57 +00:00
  • 0927c61533 todo idea updates Warren Dukes 2004-04-13 02:59:18 +00:00
  • d88501f4bb todo ideas: utf8 fallback stuff when iconv doesn't work Warren Dukes 2004-04-13 02:45:13 +00:00
  • f765c26275 fix a small booboo and add some debugging stuff Warren Dukes 2004-04-13 02:38:09 +00:00
  • 375e3ffed4 add my own utf8/ascii converters and utf8 validator validate all mpd tags on import, if they are invalid, assume they are ascii and convert to utf8 Warren Dukes 2004-04-13 02:20:46 +00:00
  • 6bc445d00f volatile fun-ness Warren Dukes 2004-04-12 18:51:16 +00:00
  • 57742785b4 forgetting to increment playlist version after reading the db Warren Dukes 2004-04-12 14:19:06 +00:00
  • b68417a643 cleanup interface between interface.[ch] and command.[ch] primarily move all buffer2array stuff from interface.c to command.c and write a new command function explicitly for dealing with commandLists Warren Dukes 2004-04-12 01:44:52 +00:00
  • f74991b9fd minor little tweak on reporting update status Warren Dukes 2004-04-12 00:41:53 +00:00
  • bbf84374a5 more volatile stuff Warren Dukes 2004-04-11 23:44:37 +00:00
  • 26f72edc46 add volatile qualifiers to some shared mem buffer stuff, to enusre compiler doesn't optimize out order sensitive stuff Warren Dukes 2004-04-11 23:37:18 +00:00
  • ae33b348af clean up signal handling using a polling method, from the genius that is mackstann Warren Dukes 2004-04-11 23:07:43 +00:00
  • 063affb047 we no longer need to block signals in tag.c, since update is now done in a seperate process Warren Dukes 2004-04-11 21:43:23 +00:00
  • 0a326a4323 mackstann's idea for polling signals Warren Dukes 2004-04-11 20:14:10 +00:00
  • abc075c431 ok, fix some bug due to a child process dieing before the parent can even assign pid, thus we need to block CHLD signal around fork(); Warren Dukes 2004-04-11 18:27:12 +00:00
  • c1ab52dcb9 update with new update stuff Warren Dukes 2004-04-11 17:42:47 +00:00
  • fc7a264e4d incremental updates and command-list/update kung fu this needs some serious cleaning up and testing Warren Dukes 2004-04-11 17:37:47 +00:00
  • 87f53c94d7 more software volume tweeks Warren Dukes 2004-04-11 13:29:55 +00:00
  • 3c24bf92b2 update with new update stuff Warren Dukes 2004-04-11 11:52:29 +00:00
  • 44756f5f10 adjust scaling of software volume Warren Dukes 2004-04-11 11:48:04 +00:00
  • 823a7900bd do while(wait3) for sighandler Warren Dukes 2004-04-11 04:51:55 +00:00
  • 7091235a68 add --disable-audio configure option Warren Dukes 2004-04-11 04:49:27 +00:00
  • 30d9589cb3 fix some snafoos Warren Dukes 2004-04-11 04:15:14 +00:00
  • 4844e05e65 don't stop playlist on finishPlaylist()[D Warren Dukes 2004-04-11 04:05:12 +00:00
  • c77011bf2a update job id stuff Warren Dukes 2004-04-11 03:12:00 +00:00
  • 4cfd77be95 updating_db in status and some ideas for the TODO that i've already forgotten Warren Dukes 2004-04-11 02:34:26 +00:00
  • 5798500b85 some idears Warren Dukes 2004-04-11 01:59:05 +00:00
  • 12ee016607 make "update" command background/non-blocking Warren Dukes 2004-04-11 01:53:25 +00:00
  • 171a7752a8 add --only-create-db option from msells have SIGHUP cause rereading db file Warren Dukes 2004-04-11 00:52:05 +00:00
  • 8c4bc2d2d4 bump version number up to 0.11.0 Warren Dukes 2004-04-10 18:00:59 +00:00
  • 996e8ce072 work in prep of using msells/sbh's non-blocking update method Here, i've made readDirectoryDB detect when stuff is deleted, added and updated. So after a update, and we call redDirectoryDB, we update the db instead of just adding stuff w/o "updating" and "deleting" stuff as neccessary. Warren Dukes 2004-04-10 17:56:01 +00:00
  • c7d9c8b7dd some more stuff for the TODO Warren Dukes 2004-04-10 12:54:51 +00:00
  • 918dc2ff22 ideas on how to make readDirectoryInfo and readSongInfo deal with already existing db stuff, and implement a new List function that will be very useful: insertInListBeforeNode() Warren Dukes 2004-04-10 02:55:27 +00:00
  • 9b5f32c9e5 more ideas for the TODO Warren Dukes 2004-04-09 00:46:37 +00:00
  • 7d29f1772a don't report an error about not able to open device in audioError also, update TODO with ideas about non-blocking update Warren Dukes 2004-04-07 23:46:33 +00:00
  • 61cffd0e75 a journaled db? Warren Dukes 2004-04-07 11:54:22 +00:00
  • 4537b1e9ec updates to non-blocking update plan Warren Dukes 2004-04-06 13:13:54 +00:00
  • c5d760e281 plan for non-blocking update Warren Dukes 2004-04-06 04:38:55 +00:00
  • b1d12ba0f6 make default max playlist length be 16384. bumped up from 4096 Warren Dukes 2004-04-04 07:08:00 +00:00
  • 73bcce335f when converting from bps -> kbps, divide by 1000, not 1024 Warren Dukes 2004-04-03 04:01:31 +00:00
  • 785cdb0114 use EXIT_SUCCESS and EXIT_FAILURE Warren Dukes 2004-04-02 23:34:16 +00:00
  • 4f912f1b90 oops, forgot to update Changelog Warren Dukes 2004-04-01 22:12:44 +00:00
  • b41f540579 for alsa mixer default to Master element, not the first element Warren Dukes 2004-04-01 22:11:29 +00:00
  • 8216f304c4 move sys/types.h include in utils.c, so it works for FreeBSD, from MDR Warren Dukes 2004-04-01 13:43:10 +00:00
  • ae229142c6 update changelog Warren Dukes 2004-04-01 04:18:58 +00:00
  • 5dfc61d0bb need to include utils.h for my_usleep Warren Dukes 2004-04-01 03:55:59 +00:00
  • 3ab9841764 use our own portable version of usleep using select() Warren Dukes 2004-04-01 03:48:51 +00:00
  • 917af619da clear TODO Warren Dukes 2004-04-01 00:41:12 +00:00
  • e9efaeaca9 use 16-bit signed ints for storing positions in the ring buffer Warren Dukes 2004-04-01 00:33:35 +00:00
  • 795a1e930b lets cleanup some file type detection and not call stat() so much Warren Dukes 2004-03-31 22:32:44 +00:00
  • 995a5deb28 update stuff for 0.10.3 release Warren Dukes 2004-03-31 17:14:26 +00:00
  • a67538178d fix for loading playlists on platforms where char is unsigned (like PPC) Warren Dukes 2004-03-31 17:09:16 +00:00
  • f641d046fa cleanup reading from interface, when argArrayLength returned by buffer2array is 0, we weren't dealing with this well at all! Warren Dukes 2004-03-31 16:15:09 +00:00
  • 9e382536dc allow to disable alsa Warren Dukes 2004-03-30 21:18:03 +00:00
  • 6266e3dcdf forgot a ; Warren Dukes 2004-03-27 04:55:25 +00:00
  • 53f728a0ae just to be carfile, make sure to null terminate when using strncpy Warren Dukes 2004-03-27 02:52:59 +00:00
  • 12d19cccd2 close audio device on pause, after we say we have paused, makes pause seem more responsive Warren Dukes 2004-03-26 22:25:01 +00:00
  • 7c861b334b don't generate .bz2 for make dist Warren Dukes 2004-03-26 05:13:21 +00:00
  • f809e1eccd put back Warren Dukes 2004-03-25 20:03:07 +00:00
  • 9409ce5a3b bsd seems to want sys/time.h Warren Dukes 2004-03-25 20:02:47 +00:00
  • 4965fa019e minor fix ups for types Warren Dukes 2004-03-25 03:06:56 +00:00
  • 1de1bfe314 fix and detect differences between faad2 1.1 and 2.0 Warren Dukes 2004-03-25 01:08:13 +00:00
  • 63a62a4514 fix some changelog grammar Warren Dukes 2004-03-24 15:55:50 +00:00
  • 3b2f4b4980 check for mad and id3tag headers Warren Dukes 2004-03-24 04:04:35 +00:00
  • f32cc27dde forgot to set CPPFLAGS for some AC_CHECK_HEADERS, where it uses CPPFLAGS for presence Warren Dukes 2004-03-24 03:42:24 +00:00
  • 2ecc498e4c git-svn-id: https://svn.musicpd.org/mpd/trunk@445 09075e82-0dd4-0310-85a5-a0d7c8717e4f Warren Dukes 2004-03-24 02:32:32 +00:00
  • 0977ab5b4e calculate song length more accurately Warren Dukes 2004-03-24 02:26:57 +00:00
  • 7479bfacbb bitRate support for audiofile Warren Dukes 2004-03-24 02:23:40 +00:00
  • 9b38a1e63e tweek seeking for mp3's Warren Dukes 2004-03-24 02:09:50 +00:00
  • d294bc3e57 git-svn-id: https://svn.musicpd.org/mpd/trunk@441 09075e82-0dd4-0310-85a5-a0d7c8717e4f Warren Dukes 2004-03-24 01:06:28 +00:00
  • 115f9903a4 git-svn-id: https://svn.musicpd.org/mpd/trunk@440 09075e82-0dd4-0310-85a5-a0d7c8717e4f Warren Dukes 2004-03-24 01:01:06 +00:00
  • 85e4825731 git-svn-id: https://svn.musicpd.org/mpd/trunk@439 09075e82-0dd4-0310-85a5-a0d7c8717e4f Warren Dukes 2004-03-24 00:58:47 +00:00
  • 5a9bf01221 git-svn-id: https://svn.musicpd.org/mpd/trunk@437 09075e82-0dd4-0310-85a5-a0d7c8717e4f Warren Dukes 2004-03-24 00:53:55 +00:00
  • 3e46c6aaad strcasecmp for mixer_control Warren Dukes 2004-03-24 00:53:12 +00:00
  • 6314487982 git-svn-id: https://svn.musicpd.org/mpd/trunk@435 09075e82-0dd4-0310-85a5-a0d7c8717e4f Warren Dukes 2004-03-24 00:48:19 +00:00
  • 9dcc46e082 git-svn-id: https://svn.musicpd.org/mpd/trunk@434 09075e82-0dd4-0310-85a5-a0d7c8717e4f Warren Dukes 2004-03-24 00:45:43 +00:00
  • 7a5a21f4d2 git-svn-id: https://svn.musicpd.org/mpd/trunk@433 09075e82-0dd4-0310-85a5-a0d7c8717e4f Warren Dukes 2004-03-24 00:42:47 +00:00
  • 653c0929e4 git-svn-id: https://svn.musicpd.org/mpd/trunk@432 09075e82-0dd4-0310-85a5-a0d7c8717e4f Warren Dukes 2004-03-24 00:42:03 +00:00
  • ef2f9c673f git-svn-id: https://svn.musicpd.org/mpd/trunk@431 09075e82-0dd4-0310-85a5-a0d7c8717e4f Warren Dukes 2004-03-24 00:39:45 +00:00
  • dc17446615 update with better documentation Warren Dukes 2004-03-24 00:37:54 +00:00
  • a720e2ae75 add more info to configuration output Warren Dukes 2004-03-23 23:20:21 +00:00
  • 0a5f0492a2 git-svn-id: https://svn.musicpd.org/mpd/trunk@422 09075e82-0dd4-0310-85a5-a0d7c8717e4f Warren Dukes 2004-03-23 21:35:05 +00:00
  • 9c9ce227f5 alsa volume fixes Warren Dukes 2004-03-23 21:18:19 +00:00
  • d6a37ba73e volume fixes Warren Dukes 2004-03-23 20:34:12 +00:00
  • fc84fa54fc fix some gcc-2.95 errors Warren Dukes 2004-03-23 03:02:49 +00:00
  • 7874a003e9 fix bug where accidently setting default mixer to NULL instead of SOFTWARE Warren Dukes 2004-03-23 02:46:18 +00:00
  • 0783a2bde1 fix a bug, due to not resetting decodeType in playerSeek when the file to seek isn't the same as the current playing file Warren Dukes 2004-03-23 01:12:30 +00:00
  • 4b4438853c oops Warren Dukes 2004-03-22 23:38:09 +00:00
  • 4a742801ab update for 0.10.2 Warren Dukes 2004-03-22 22:21:02 +00:00
  • 395281c7a0 fix error reporting for mp4 files Warren Dukes 2004-03-22 18:44:15 +00:00
  • 80e0fec683 a few aac/mp4 minor fixes don't set audioFormat till decode first frame Warren Dukes 2004-03-22 05:08:14 +00:00
  • 097c8720ef print error messages for faad2 Warren Dukes 2004-03-22 04:24:16 +00:00
  • da969faed1 implement acc-raw decoding, no seeking for aac Warren Dukes 2004-03-22 04:20:19 +00:00