Commit Graph

  • 693dc37851 Move the timing code from the null plugin to timer.c, so it can be easily used in other plugins (fifo, shout, etc.). J. Alexander Treuman 2007-05-30 18:16:35 +00:00
  • 41d65da4bd Adding a null output to mpdconf.example. J. Alexander Treuman 2007-05-30 16:58:39 +00:00
  • 0f8ab01c3e Adding a null output plugin. J. Alexander Treuman 2007-05-30 16:52:56 +00:00
  • 4155cd9940 Updating libFLAC.m4 so that -L isn't erroneously specified without an argument. J. Alexander Treuman 2007-05-28 13:01:08 +00:00
  • 1945c7c948 Adding ioops.h to mpd_headers so that it gets included in the tarball. J. Alexander Treuman 2007-05-28 12:42:44 +00:00
  • c6afb15f3d Setting release date in ChangeLog. J. Alexander Treuman 2007-05-28 12:03:40 +00:00
  • 7b5f124a71 Updating INSTALL. J. Alexander Treuman 2007-05-27 13:38:52 +00:00
  • a12b8bc2b4 Updating UPGRADING. J. Alexander Treuman 2007-05-27 13:30:46 +00:00
  • 5159e2c415 Moving 0.13 tasks to 0.14 in TODO. J. Alexander Treuman 2007-05-27 13:15:12 +00:00
  • b9b39849d8 Increasing default buffer_before_play from 0% to 10%. J. Alexander Treuman 2007-05-27 13:12:02 +00:00
  • 5339f63a2b Fix compilation error (missing ,) Avuton Olrich 2007-05-27 00:16:17 +00:00
  • d306019f5c "unable open" -> "unable to open" J. Alexander Treuman 2007-05-26 18:21:51 +00:00
  • 93e68adc79 After changing ERROR();exit() to FATAL(), gcc incorrectly detects some uninitialized variables and non-returning functions that return. Let's tell it to stfu. J. Alexander Treuman 2007-05-26 18:20:53 +00:00
  • bba444524e Changing all calls to ERROR() followed by exit(EXIT_FAILURE) with a single call to FATAL(). J. Alexander Treuman 2007-05-26 18:15:54 +00:00
  • dba45a5992 Cleaning up pcm_getSampleRateConverter. J. Alexander Treuman 2007-05-26 17:33:59 +00:00
  • 665ab83761 Exit with an error if channel count isn't 1 or 2. J. Alexander Treuman 2007-05-26 17:04:54 +00:00
  • 355d18a593 Make pcm_convertAudioFormat return the buffer size. This is necessary because lsr may return less than the input buffer size, and the rest of the audio code needs to know the new size. This fixes the clicking that was introduced with recent changes to the lsr code. A huge thanks to remiss for figuring this out. J. Alexander Treuman 2007-05-26 16:39:55 +00:00
  • b3726bcc93 Adding format conversion and stored playlists to my AUTHORS entry. I heavily modified both sets of code, and I think it's useful for people to know who's responsible/familiar with what. J. Alexander Treuman 2007-05-26 15:12:11 +00:00
  • 29819576eb weather -> whether J. Alexander Treuman 2007-05-26 15:05:06 +00:00
  • 425c6e9502 Changing calls to strdup to xstrdup. J. Alexander Treuman 2007-05-26 15:04:54 +00:00
  • d14a655901 Cleaning up addToStoredPlaylist. Now we call freeJustSong if adding a URL. J. Alexander Treuman 2007-05-26 15:00:38 +00:00
  • f16e372871 Make sure StoredPlaylists always contain UTF-8 paths that are either relative paths in the DB or URLs. The main functional difference is that playlistmove and playlistdelete will rewrite playlists in the correct encoding and remove invalid lines instead of potentially modifying them. The specific changes are: J. Alexander Treuman 2007-05-26 14:09:09 +00:00
  • f4d959a07b More formatting/error message cleanups in storedPlaylist.c. J. Alexander Treuman 2007-05-26 00:48:53 +00:00
  • fd645486a1 Don't call freeStoredPlaylist(sp) inside an if (!sp) block. It causes segfaults. J. Alexander Treuman 2007-05-26 00:28:07 +00:00
  • fc094c08d3 Cleaning up formatting and error messages in storedPlaylist.c. J. Alexander Treuman 2007-05-25 20:25:11 +00:00
  • 2814b7cfc6 Reverting to the full lsr API. Turns out the simple API needs all of the audio at once, so it won't work for us. The old full API code was still heavily broken, as each call to pcm_convertSampleRate() used the same state, even if it was processing two streams of audio. The new code keeps a separate state for each audio stream that's being converted. J. Alexander Treuman 2007-05-24 21:15:37 +00:00
  • 7ba357a04e Adding rename command, for renaming stored playlists. J. Alexander Treuman 2007-05-24 18:07:19 +00:00
  • 0d7d2ebf80 Cleaning up error messages in storedPlaylist.c. J. Alexander Treuman 2007-05-24 17:25:21 +00:00
  • c408bd5e90 Don't list playlists in lsinfo if the path isn't the root directory (they can't be loaded anyway). J. Alexander Treuman 2007-05-24 17:06:59 +00:00
  • 93b96edacc Adding a note to mpdconf.example about increasing buffer_before_play if you hear skipping when changing songs. J. Alexander Treuman 2007-05-23 14:13:46 +00:00
  • 4c8d69f058 Updating the audio_buffer_size and buffer_before_play entries in mpd.conf.5. J. Alexander Treuman 2007-05-23 14:10:58 +00:00
  • cee4ba72e1 Changing some DEBUG/ERROR/FATAL messages in the JACK plugin. J. Alexander Treuman 2007-05-23 12:24:12 +00:00
  • bad8c806f1 Adding JACK documentation to mpd.conf.5. J. Alexander Treuman 2007-05-23 12:07:40 +00:00
  • 495e1b6cf9 Tidying up pcm_utils.c a bit more. J. Alexander Treuman 2007-05-23 11:04:04 +00:00
  • fbb3a94f17 Switching to the lsr simple API. The problem with the full API is that the number of channels is specified when the converter state is created. Previously this was only done once, thus breaking horribly when the input audio suddenly had a different channel count. A new state could be created every time the number of channels changes, but this could happen many times a second if resampling to two different formats at once. The simple API doesn't have this problem, as channel count is an argument to the conversion function itself. J. Alexander Treuman 2007-05-23 10:31:07 +00:00
  • a70ecdc00c Just specify mimeType as NULL in mpc's InputPlugin struct. J. Alexander Treuman 2007-05-22 23:34:26 +00:00
  • 407497c40a Split pcm_convertAudioFormat into separate functions for bitrate, channel, and samplerate conversion. This makes the code much easier to read, and fixes a few bugs that were previously there. J. Alexander Treuman 2007-05-22 23:11:36 +00:00
  • e6d7663b10 Cleaning up/correcting some comments. J. Alexander Treuman 2007-05-22 15:21:56 +00:00
  • f2850a66f0 Reindenting J. Alexander Treuman 2007-05-22 15:02:25 +00:00
  • 92ff09881a Fail loading the playlist on errors mid-file. The same code is used for playlistadd, playlistdelete, etc. and would've caused the playlist to be rewritten only up to the line with the error. J. Alexander Treuman 2007-05-16 20:35:13 +00:00
  • a2a101004b Adding pat to AUTHORS. J. Alexander Treuman 2007-05-16 19:47:32 +00:00
  • 6cfe421cd6 Committing pat's rewrite of the stored playlist code. This also adds two new commands: playlistmove and playlistdelete. J. Alexander Treuman 2007-05-16 12:02:10 +00:00
  • 6f68587ad5 Changing "//" comments to "/* */" comments. J. Alexander Treuman 2007-05-15 23:23:09 +00:00
  • f63c6ca86d Fixing some code that was rendered unreadable by indent. J. Alexander Treuman 2007-04-26 00:48:37 +00:00
  • 472e70e74e Forgot to change the associated fdprintf format to %li. J. Alexander Treuman 2007-04-26 00:13:14 +00:00
  • dc4e2a3f5e Changing SearchStats.playTime from int to unsigned long. J. Alexander Treuman 2007-04-26 00:11:30 +00:00
  • 7a8a9c10e1 Adding count command. It's usage is identical to find, but instead of returning a list of matching songs, the number of results and total play time of the results are returned. J. Alexander Treuman 2007-04-25 23:46:11 +00:00
  • 7fd9859540 Adding ChangeLog entry for previous commit. J. Alexander Treuman 2007-04-25 20:39:30 +00:00
  • ebaa3f4338 Set directory_dbModTime when writing the db, so that it will be set after initial db creation. J. Alexander Treuman 2007-04-25 20:34:30 +00:00
  • 179ab7efe8 fials -> fails J. Alexander Treuman 2007-04-25 20:18:47 +00:00
  • 18e20b8d2c Remove the now unused struct stat from initMp3Directory(). J. Alexander Treuman 2007-04-25 20:08:05 +00:00
  • bf6da4f399 initMp3Directory() is only called when (re)creating the db, but before the db file is written. So don't try to set directory_dbModTime to the mtime of the db file, since it will be incorrect. J. Alexander Treuman 2007-04-25 20:06:47 +00:00
  • f67b6b896f Removing references to options.updateDB in main.c. J. Alexander Treuman 2007-04-25 18:47:34 +00:00
  • bee795f2c1 mpd.conf.5 claimed the default alsa device was "hw:0,0", but it's actually "default". J. Alexander Treuman 2007-04-25 18:22:23 +00:00
  • 51ec5b1542 Only a few changes in jack_playAudio. José Anarch 2007-04-11 17:41:10 +00:00
  • de5667b288 Now process and playAudio use mutexes. José Anarch 2007-04-09 20:18:11 +00:00
  • 95c411224a Don't allow "true" as a value for use_mmap for consistency with other "yes or no" parameters. J. Alexander Treuman 2007-04-09 13:05:50 +00:00
  • 745fa0c284 Noting the defaults for use_mmap and gapless_mp3_playback in mpd.conf.5. J. Alexander Treuman 2007-04-09 13:01:18 +00:00
  • b8341e6902 Cleaning up some comments. J. Alexander Treuman 2007-04-09 12:24:48 +00:00
  • f953c2cd37 Updating ChangeLog. J. Alexander Treuman 2007-04-08 15:52:41 +00:00
  • 7dadabca8a When calling commandError(STDERR_FILENO, ...), don't set current_command to NULL. Doing so would mean future calls to commandError with a socket as an argument will still write the error message to the error log, and not the socket. J. Alexander Treuman 2007-04-08 15:41:38 +00:00
  • 74e75378ae If current_command is NULL when calling commandError, print the error message and trailing new line to STDERR_FILENO along with the ACK, instead of sending them over the socket. J. Alexander Treuman 2007-04-08 15:26:48 +00:00
  • c825401760 Typo. J. Alexander Treuman 2007-04-08 15:25:18 +00:00
  • a061da8fb5 The massive copyright update Avuton Olrich 2007-04-05 03:22:33 +00:00
  • 1bf233dd37 Removing Sun audio support from configure and ChangeLog. Turns out the plugin itself was never actually committed, so support for it was never there. J. Alexander Treuman 2007-04-04 15:58:42 +00:00
  • 059494e8e4 Don't stop decoding when unpausing fails because no audio device can be opened. Instead just remain in paused state. J. Alexander Treuman 2007-04-03 20:22:10 +00:00
  • 2caf18ad43 Reformatting some code. J. Alexander Treuman 2007-04-03 20:10:22 +00:00
  • f3e833af8e Adding ChangeLog entry for tagtypes command. J. Alexander Treuman 2007-03-31 21:06:39 +00:00
  • b1a93e8641 Updating metadata_to_use docs to be more consistent with tagtypes command. J. Alexander Treuman 2007-03-31 20:40:57 +00:00
  • e3e4964f59 Adding tagtypes command to list available tag types (takes metadata_to_use into account). J. Alexander Treuman 2007-03-31 18:43:16 +00:00
  • 2215c1796d Set totalTime to 0 for MODs. If this isn't done, the totalTime of the previous song played will be reused. J. Alexander Treuman 2007-03-31 18:07:27 +00:00
  • 5a734c0172 Disable looping MOD files played with libmikmod. Many MODs will loop forever without this. J. Alexander Treuman 2007-03-31 17:50:59 +00:00
  • ed5f2c195a Don't use -L$libdir -I$includedir. $libdir and $includedir are paths for installing libs/includes, and apparently even the defaults can break cross compiles (see bug #1454). J. Alexander Treuman 2007-03-31 17:34:46 +00:00
  • fded9b20be Reordering parameters in mpd.conf.5 to match the order in mpdconf.example. J. Alexander Treuman 2007-03-31 16:04:04 +00:00
  • 945b8e66ab Being a picky little bitch about those doc updates. J. Alexander Treuman 2007-03-31 15:47:48 +00:00
  • 59342df8f3 Doc updates for 0.13.0 Avuton Olrich 2007-03-31 15:20:39 +00:00
  • ef0397bf5b Another patch from Jose Avuton Olrich 2007-03-23 21:23:41 +00:00
  • 8553a98c84 Add new update from Jose for JACK Avuton Olrich 2007-03-23 11:07:04 +00:00
  • d5367a9504 Removing a completed item from TODO. J. Alexander Treuman 2007-03-21 17:24:19 +00:00
  • 37a7ef251f Adding all of those missing ChangeLog entries. J. Alexander Treuman 2007-03-20 22:07:35 +00:00
  • c2f1775b8e Importing ChangeLog entry from 0.12.2. J. Alexander Treuman 2007-03-20 21:43:19 +00:00
  • c2c4852620 Doing those previous SONG_* commits properly. Thanks to normalperson for pointing it out. J. Alexander Treuman 2007-03-20 21:05:42 +00:00
  • 28c2a1e433 Use "file" instead of SONG_INFO (literally "file: ") for LOCATE_TAG_KEY_FILE. Specifying "file: " as an argument to search/find/list wasn't the point of that patch... J. Alexander Treuman 2007-03-20 20:22:23 +00:00
  • 2630b5a30f Use SONG_FILE instead of literal "file: " for consistency with db code. J. Alexander Treuman 2007-03-20 20:16:25 +00:00
  • 80dea15184 Use SONG_TIME instead of literal "Time: " for consistency with db code. J. Alexander Treuman 2007-03-20 20:12:53 +00:00
  • 6450bbc096 Bumping version numbers to 0.13.0. Future 0.12.x releases will be made from a branch of 0.12.1. J. Alexander Treuman 2007-03-20 18:46:04 +00:00
  • 0135de8ea8 Updating TODO. J. Alexander Treuman 2007-03-20 18:43:46 +00:00
  • ce2efb48d5 This fixes a bug where a client sending just the right data could cause mpd to segfault. This could be exploited by malicious users to crash other users' mpd. But more importantly, I believe clients are doing this unintentionally, and that this is what is causing mpd to segfault for many people after running for long periods of time. J. Alexander Treuman 2007-03-18 01:19:08 +00:00
  • b1d50567c6 fix bug #1458 Warren Dukes 2007-03-09 14:44:09 +00:00
  • d93e939557 Support for libmikmod 3.2.0 betas. J. Alexander Treuman 2007-03-02 12:14:18 +00:00
  • befd2776bc Removing a useless block. J. Alexander Treuman 2007-02-28 12:34:36 +00:00
  • afa3ccc3b1 Forgot a || in that last commit. Oops. J. Alexander Treuman 2007-02-27 20:24:45 +00:00
  • 45f00b7161 LSR and Zeroconf support both use PKG_CHECK_MODULES, and thus require PKG_PROG_PKG_CONFIG to be done first. But this is only done if PulseAudio and JACK aren't explitily disabled. Therefore, using ./configure --disable-pulse --disable-jack will make it so that neither LSR nor Zeroconf can be found. This is the second time this bug has come up (first being when JACK was added), so can people please start adding to the test around PKG_PROG_PKG_CONFIG when they add new features that need PKG_CHECK_MODULES? J. Alexander Treuman 2007-02-27 20:02:29 +00:00
  • 7ca84d3166 Adding copyright headers to locate.[ch]. J. Alexander Treuman 2007-02-24 03:14:00 +00:00
  • 6e64bac7b6 Adding playlistfind and playlistsearch commands for searching the current playlist. J. Alexander Treuman 2007-02-24 02:00:03 +00:00
  • 1ae3bdb7e6 Moving a bunch of the LocateTagItem code to locate.[ch] so that it can later be used for playlist searching. J. Alexander Treuman 2007-02-24 00:54:54 +00:00
  • d7e20861d4 Make mpd fetch the Original artist/performer tag from mp3's Qball Cow 2007-02-23 20:39:39 +00:00
  • 08a7a86be2 pcm_utils: fix libsamplerate compilation with non-C99 compilers Eric Wong 2007-02-19 07:58:08 +00:00
  • 658b8f53df More (v)snprintf-related buffer over-allocations removed Eric Wong 2007-02-19 07:58:05 +00:00
  • 772dc6bc66 inputStream_http: cleanup GET request code (finishHTTPInit) Eric Wong 2007-02-19 07:58:03 +00:00