Commit Graph

4361 Commits

Author SHA1 Message Date
Max Kellermann 200be26371 decoder_api: submit the song tag to the music pipe
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.
2009-04-13 19:25:53 +02:00
Max Kellermann 99a88988d5 test: added run_input test program 2009-04-13 19:18:10 +02:00
Max Kellermann e18d67338b removed TODO file
Most of that was already implemented, and for other feature requests,
we have the bug tracker.
2009-04-10 09:14:25 +02:00
Max Kellermann 548e842799 log: removed "unused" attribute from log_level parameter 2009-04-10 09:14:21 +02:00
Max Kellermann e823e78d0f test: added configuration file reader 2009-04-10 09:14:12 +02:00
Max Kellermann 57cf984aae doc: added "music directory" section 2009-04-10 09:13:59 +02:00
Jeffrey Middleton 539e96bfcc doc: xml typo fix
A <varlistentry> was accidentally added before the
beginning of the intended <variablelist>
2009-04-06 21:22:46 -05:00
Avuton Olrich 0b36e7d944 decoder: prefer wildmidi over fluidsynth 2009-04-06 11:03:45 +02:00
Avuton Olrich 1acfd2423f configure: add shout AC_DEFINE, otherwise it will not enable. 2009-04-06 11:03:45 +02:00
Avuton Olrich d38f72b902 vorbis: move #define out of function to top of sources 2009-04-02 16:07:52 -07:00
Avuton Olrich fd90db35b7 decoder: Rename all main decoder plugins functions to *decoder_plugin. 2009-04-02 15:55:10 -07:00
Avuton Olrich 9e93875ccd Modify version string to post-release version 0.15~git 2009-04-02 22:17:30 +02:00
Avuton Olrich 89a468aa9b mpd version 0.15~alpha1 2009-04-02 22:17:09 +02:00
Avuton Olrich 27491c77b9 make: gitignore is not necessary for distribution. 2009-04-02 09:44:59 +02:00
Max Kellermann 54863dff8a NEWS: flagged some new features "experimental"
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
2009-04-02 07:12:38 +02:00
Max Kellermann a376b47189 configure.ac: moved libmikmod test to --enable-mikmod 2009-04-01 22:50:21 +02:00
Max Kellermann a7685780ed configure.ac: renamed --enable-mod to --enable-mikmod 2009-04-01 22:48:06 +02:00
Max Kellermann cd6182862a httpd: don't pass uninitialized page to httpd_client_check_queue()
The httpd_client_check_queue() callback function does not use its
"user_data" argument.  Don't pass any, and fix the gcc warning.
2009-04-01 22:45:21 +02:00
Max Kellermann 5242305a90 configure.ac: renamed --enable-oggvorbis to --enable-vorbis 2009-04-01 22:45:17 +02:00
Max Kellermann b914d3f6eb Makefile.am: use TREMOR_CFLAGS and TREMOR_LIBS
Don't append those two CFLAGS/LIBS in configure.ac.
2009-04-01 22:45:00 +02:00
Max Kellermann 780ce49249 configure.ac: renamed --enable-oggvorbis-encoder
Renamed --enable-oggvorbis-encoder to --enable-vorbis-encoder.
2009-04-01 22:44:45 +02:00
Max Kellermann e2ca6b156e configure.ac: renamed --enable-lame to --enable-lame-encoder 2009-04-01 22:44:28 +02:00
Max Kellermann 8fe2720310 configure.ac: fix typo in help string 2009-04-01 22:13:38 +02:00
Max Kellermann 20d50ffbc4 configure.ac: fail when LAME is enabled but not found
Use MPD_AUTO_RESULT(), and set enable_lame to "auto" by default.
2009-04-01 22:06:40 +02:00
Max Kellermann b9a5e78780 Makefile.am: use LAME_CFLAGS and LAME_LIBS
Don't append LAME_CFLAGS/LAME_LIBS to MPD_CFLAGS/MPD_LIBS in
configure.ac.  Export them via AC_SUBST() instead.
2009-04-01 22:05:53 +02:00
Max Kellermann 0a62bdaded configure.ac: fail when vorbis encoder is enabled but not found
Use MPD_AUTO_PKG().  Removed the checks for the Ogg Vorbis decoder
plugin, this is not directly related.
2009-04-01 22:05:07 +02:00
Max Kellermann 9509bd460f configure.ac: don't check for encoders when shout/httpd disabled
Use the new $need_encoder variable to determine whether encoder
plugins would actually be used if they were available.
2009-04-01 22:03:37 +02:00
Max Kellermann 1d0b2c5679 configure.ac: auto-detect HTTPD plugin depending on encoders
Enable the HTTPD output plugin by default, provided that the encoder
API is available.
2009-04-01 21:59:58 +02:00
Max Kellermann d6d244c5a1 configure.ac: fail when shout is enabled but no libshout available
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".
2009-04-01 21:58:38 +02:00
Max Kellermann d20a8258b4 configure.ac: added variable $enable_encoder
$enable_encoder specifies whether one or more encoder plugins are
enabled.  This simplifies several checks, and allows easier
integration of more encoder plugins.
2009-04-01 21:54:38 +02:00
Max Kellermann 67e0a71ab3 configure.ac: moved encoder checks to separate encoder section 2009-04-01 21:06:53 +02:00
Max Kellermann e720b5bdf8 command: added command "sticker find"
This command allows clients to search for stickers with a specified
name.
2009-04-01 18:53:02 +02:00
Eric Wollesen c95fa4b441 Move db_get_song into sub-handlers. (FReq 2112)
db_get_song was being called once for all sub-handlers, but with the
addition of the find command, we don't have a URI coming in, so doing
db_get_song once won't work anymore.

[mk: fixed initialization order]
2009-04-01 18:44:39 +02:00
Max Kellermann c51e1bf1c0 song_sticker: added song_sticker_find()
This is a wrapper for sticker_find(), which looks up the song object.
2009-04-01 18:44:26 +02:00
Max Kellermann 3a4d20faa2 sticker: added sticker_find()
sticker_find() finds stickers with the specified name.
2009-04-01 18:42:06 +02:00
Max Kellermann 7f38c3fc78 directory: added directory_lookup_song()
Moved code from db_get_song().
2009-04-01 18:41:37 +02:00
Max Kellermann 36ec2edacf directory: renamed directory_get_directory()
Renamed directory_get_directory() to directory_lookup_directory().
Added API documentation.
2009-04-01 18:41:33 +02:00
Max Kellermann 932f70da86 AUTHORS: added a bunch of new developers
Added David Guibert, Jochen Keil, Jeffrey Middleton, Sean McNamara.
2009-04-01 17:42:35 +02:00
Max Kellermann 2dac375d0f INSTALL: added sqlite dependency for stickers 2009-04-01 17:32:03 +02:00
Max Kellermann cb35d6e687 sticker_print: new library for sending stickers to a client 2009-04-01 17:30:56 +02:00
Max Kellermann efcf40f55b sticker: pass const sticker to sticker_foreach() 2009-04-01 17:27:59 +02:00
Max Kellermann 8ce2ec7aed client, event_pipe: explicitly ignore the write() result
On both locations, the result of write() can be ignored safely.  In
event_pipe_emit_fast(), that can only be "EAGAIN", which means that
the pipe buffer is full - no further notification required.  In
client_init(), that would be a fatal connection error, which would be
caught by the next event.

This patch fixes gcc warnings.
2009-04-01 17:14:25 +02:00
Max Kellermann a96bec3655 socket_util: fixed format warning
g_set_error() is a printf-like function, and expects a format string.
Using the return value of gai_strerror() is unsafe.
2009-04-01 16:45:03 +02:00
Max Kellermann 6419cc54ac flac: fixed "unused variable" warning without libcue
Move the declaration of "i" into the "for" loop.
2009-04-01 16:44:27 +02:00
Max Kellermann 4d9151f842 test.sh: disable libcue support in one test 2009-04-01 16:37:13 +02:00
Max Kellermann 7a8bfb8a45 test.sh: added variable MAKE
The environment variable MAKE can be set by the caller process, and
may be used to pass a concurrency value (-j).
2009-04-01 16:34:47 +02:00
Max Kellermann a3823c7657 Merge branch 'master' of git://git.musicpd.org/jrk/mpd 2009-04-01 15:36:24 +02:00
Avuton Olrich 85cecbddde configure: remove --*-mp3, it is broken and not worth supporting 2009-04-01 06:06:06 -07:00
Avuton Olrich 88362cbcca news: add more miscellaneous missing news 2009-04-01 06:05:57 -07:00
Avuton Olrich be044ee1a2 news: move supports a range 2009-04-01 06:05:46 -07:00