aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* player_thread: pause when all audio outputs fail to playMax Kellermann2009-04-252-2/+8
| | | | | | When all audio outputs have been closed due to failures, pause the playback instead of stopping it. This way, the user may resume at the current position after the problem has been dealt with.
* player_thread: pause when output fails while seekingMax Kellermann2009-04-251-7/+11
| | | | | | | | | When no audio outputs could be opened while seeking, leave MPD seeked at that position and pause playback. The user may continue from this point at any time, as soon as the audio outputs are fixed. The old behaviour triggered an assertion failure: the failure wasn't passed properly to the do_play() function, which attempted to play audio chunks.
* stored_playlist: don't close NULL file on errorMax Kellermann2009-04-241-5/+1
| | | | | spl_append_song() can crash when fopen() fails, because it attempts to close the invalid file handle (NULL) in the error handler.
* alsa_output: don't use atexit() to clean up the ALSA libraryMax Kellermann2009-04-211-7/+3
| | | | | Call snd_config_update_free_global() manually in our finish() method, don't use atexit().
* alsa_mixer: call snd_config_update_free_global() in finish()Max Kellermann2009-04-211-1/+3
| | | | | | | | snd_config_update_free_global() frees cached ALSA configuration. This keeps valgrind a little bit more quiet. This patch moves the call from the open() method into the finish() method, which seems more natural: it allows the use of the config cache, and improves the cleanup phase.
* test: added program "read_mixer"Max Kellermann2009-04-213-4/+79
| | | | | | This little program is used to test mixer plugins in an isolated environment. This is ALSA-only currently, because we don't have a real "plugin list" yet, and I'm too lazy to implement a switch.
* output_control: close mixer on pauseMax Kellermann2009-04-211-0/+6
| | | | | For non-global mixers (only "pulse" currently), close the mixer when MPD playback is paused.
* client: free the fifo bufferMax Kellermann2009-04-171-0/+2
| | | | | This patch fixes a memory leak: the fifo_buffer object was not freed when the client connection was closed.
* configure.ac: check for C++ detection failureMax Kellermann2009-04-151-0/+21
| | | | | When no C++ compiler is found, let CXX fall back to $CC, and disable all features which require C++.
* configure.ac: automatically detect the sidplay decoderMax Kellermann2009-04-151-3/+3
| | | | Set sidplay to "auto" by default, and enable it when it's found.
* configure.ac: added a real check for libsidplay2Max Kellermann2009-04-151-1/+16
| | | | We still can't use the pkg-config file because it requires libtool.
* configure.ac: moved the sidplay check to its argumentMax Kellermann2009-04-151-11/+11
| | | | Checks for features should be right next to its argument definition.
* configure.ac: added function MPD_AUTO_PREMax Kellermann2009-04-151-0/+15
| | | | This function checks whether a prerequisite for a feature was found.
* configure.ac: print feature name in error messageMax Kellermann2009-04-151-1/+1
| | | | | | When MPD_AUTO_DISABLED prints a fatal error message, include the feature name. This might be an important piece of information for the user, just in case the preceding line doesn't tell him.
* configure.ac: detect libiso9660 with pkg-configMax Kellermann2009-04-132-5/+4
| | | | Fail if the iso9660 plugin is enabled but not found.
* configure.ac: detect libzzip with pkg-configMax Kellermann2009-04-132-5/+16
| | | | Fail if the zzip plugin is enabled but not found.
* configure.ac: fail when bzip2 plugin is enabled but not foundMax Kellermann2009-04-131-1/+1
|
* icy_server: don't export icy_server_metadata_string()Max Kellermann2009-04-132-4/+1
| | | | | icy_server_metadata_string() is only called by icy_server_metadata_page().
* httpd: use C99 "bool" instead of GLib's gbooleanMax Kellermann2009-04-131-7/+7
| | | | Plain "bool" consumes only one byte instead of four.
* httpd: use g_ascii_strncasecmp() to compare headersMax Kellermann2009-04-131-1/+1
| | | | In HTTP, header names are case insensitive.
* Implemented basic icy support for the httpd outputHagen Schink2009-04-137-12/+411
| | | | | | [mk: folded with patch "Put icy related functions in extra source files"; moved icy_server.c from HAVE_CURL to ENABLE_HTTPD_OUTPUT; removed an unused variable]
* decoder_api: submit the song tag to the music pipeMax Kellermann2009-04-133-6/+24
| | | | | | When a new song starts playing, send its tag (song->tag) to the music pipe. This allows output plugins to render tags for all songs, not only those with embedded tags understood by the decoder plugin.
* test: added run_input test programMax Kellermann2009-04-133-0/+127
|
* removed TODO fileMax Kellermann2009-04-102-87/+1
| | | | | Most of that was already implemented, and for other feature requests, we have the bug tracker.
* log: removed "unused" attribute from log_level parameterMax Kellermann2009-04-101-1/+1
|
* test: added configuration file readerMax Kellermann2009-04-103-0/+75
|
* doc: added "music directory" sectionMax Kellermann2009-04-101-0/+19
|
* doc: xml typo fixJeffrey Middleton2009-04-061-1/+1
| | | | | A <varlistentry> was accidentally added before the beginning of the intended <variablelist>
* decoder: prefer wildmidi over fluidsynthAvuton Olrich2009-04-061-4/+4
|
* configure: add shout AC_DEFINE, otherwise it will not enable.Avuton Olrich2009-04-061-0/+3
|
* vorbis: move #define out of function to top of sourcesAvuton Olrich2009-04-021-1/+1
|
* decoder: Rename all main decoder plugins functions to *decoder_plugin.Avuton Olrich2009-04-025-12/+12
|
* Modify version string to post-release version 0.15~gitAvuton Olrich2009-04-021-1/+1
|
* mpd version 0.15~alpha1release-0.15_alpha1Avuton Olrich2009-04-021-1/+1
|
* make: gitignore is not necessary for distribution.Avuton Olrich2009-04-021-1/+0
|
* NEWS: flagged some new features "experimental"Max Kellermann2009-04-021-2/+3
| | | | | | | | The "lastfm" input plugin is far from complete, because MPD does not support nesting playlists yet. The "fluidsynth" decoder plugin suffers from shortcomings in the libfluidsynth library: http://www.mail-archive.com/fluid-dev@nongnu.org/msg01099.html
* configure.ac: moved libmikmod test to --enable-mikmodMax Kellermann2009-04-011-13/+13
|
* configure.ac: renamed --enable-mod to --enable-mikmodMax Kellermann2009-04-014-14/+14
|
* httpd: don't pass uninitialized page to httpd_client_check_queue()Max Kellermann2009-04-011-1/+1
| | | | | The httpd_client_check_queue() callback function does not use its "user_data" argument. Don't pass any, and fix the gcc warning.
* configure.ac: renamed --enable-oggvorbis to --enable-vorbisMax Kellermann2009-04-014-23/+23
|
* Makefile.am: use TREMOR_CFLAGS and TREMOR_LIBSMax Kellermann2009-04-012-6/+9
| | | | Don't append those two CFLAGS/LIBS in configure.ac.
* configure.ac: renamed --enable-oggvorbis-encoderMax Kellermann2009-04-011-10/+10
| | | | Renamed --enable-oggvorbis-encoder to --enable-vorbis-encoder.
* configure.ac: renamed --enable-lame to --enable-lame-encoderMax Kellermann2009-04-012-16/+17
|
* configure.ac: fix typo in help stringMax Kellermann2009-04-011-1/+1
|
* configure.ac: fail when LAME is enabled but not foundMax Kellermann2009-04-011-7/+7
| | | | Use MPD_AUTO_RESULT(), and set enable_lame to "auto" by default.
* Makefile.am: use LAME_CFLAGS and LAME_LIBSMax Kellermann2009-04-012-2/+6
| | | | | Don't append LAME_CFLAGS/LAME_LIBS to MPD_CFLAGS/MPD_LIBS in configure.ac. Export them via AC_SUBST() instead.
* configure.ac: fail when vorbis encoder is enabled but not foundMax Kellermann2009-04-011-17/+5
| | | | | Use MPD_AUTO_PKG(). Removed the checks for the Ogg Vorbis decoder plugin, this is not directly related.
* configure.ac: don't check for encoders when shout/httpd disabledMax Kellermann2009-04-011-4/+19
| | | | | Use the new $need_encoder variable to determine whether encoder plugins would actually be used if they were available.
* configure.ac: auto-detect HTTPD plugin depending on encodersMax Kellermann2009-04-011-2/+13
| | | | | Enable the HTTPD output plugin by default, provided that the encoder API is available.
* configure.ac: fail when shout is enabled but no libshout availableMax Kellermann2009-04-011-6/+18
| | | | | | This patch makes the shout checks use MPD_AUTO_PKG() instead of manually invoking PKG_CHECK_MODULES(). It sets the default value to "auto" instead of "no".