aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* input: Add despotify input pluginSimon Kagstrom2011-03-294-0/+261
| | | | | | | | | | For Spotify tracks. Uses a spt URI, so with mpc you can play tracks with e.g., mpc add spt://spotify:track:5qENVY0YEdZ7fiuOax70x1 mpc play Uses the pcm_decoder_plugin for the output
* despotify: Add support utilitiesSimon Kagstrom2011-03-294-0/+194
| | | | | Used to connect and authenticate to despotify. Provides a singleton session and a desptoify-track-to-tags function.
* decoder: PCM decoder: Inherit seekable from the input streamSimon Kagstrom2011-03-231-1/+1
| | | | E.g., spotify isn't seekable.
* decoder: PCM decoder: Break loop if EOF is encounteredSimon Kagstrom2011-03-231-0/+4
| | | | Otherwise the song playing might go on forever.
* Remove unused headers in Roar plugin.Hans-Kristian Arntzen2011-03-232-9/+0
| | | | Should fix build errors for Win32.
* Merge commit 'release-0.16.2'Max Kellermann2011-03-1924-43/+128
|\ | | | | | | | | | | | | Conflicts: Makefile.am NEWS configure.ac
| * mpd version 0.16.2release-0.16.2Avuton Olrich2011-03-182-2/+2
| |
| * command: print playlist load errorMax Kellermann2011-03-181-1/+1
| | | | | | | | Call print_playlist_result() instead of casting the enum implicitly.
| * output/httpd: include sys/socket.h only when building with libwrapMax Kellermann2011-03-181-1/+1
| | | | | | | | Fixes build failure on WIN32.
| * update_walk: ignore parameter "mode" on WIN32Max Kellermann2011-03-181-0/+1
| | | | | | | | Fix compiler warning.
| * audio_format, output_thread: add more audio_format_valid() assertionsMax Kellermann2011-03-164-0/+13
| |
| * encoder/vorbis: reset the Ogg stream after flushMax Kellermann2011-03-162-0/+4
| | | | | | | | | | Without the ogg_stream_reset() call, the "e_o_s" flag never gets reset, and libogg writes EOS packets over and over.
| * Merge release 0.15.16 into v0.16.xMax Kellermann2011-03-165-10/+23
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: NEWS configure.ac src/output/jack_plugin.c src/update.c
| | * mpd version 0.15.16release-0.15.16Avuton Olrich2011-03-132-2/+2
| | |
| | * output/jack: fix crash with mono playbackMax Kellermann2011-02-272-1/+2
| | | | | | | | | | | | | | | | | | With mono sound, jack_sample_size is smaller than frame_size (4 vs 2 bytes), and "space/jack_sample_size==0". That means mpd_jack_play() will return 0, although no error has occurred.
| | * output/jack: rename variable sample_size to jack_sample_sizeMax Kellermann2011-02-251-5/+6
| | |
| | * Insure proper initialization of stack-allocated struct.Christopher Brannon2011-02-152-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Version 1.0.0 of the libao library added a new field to the ao_sample_format struct. It is a char * named matrix. When an ao_sample_format is allocated on the stack, this field contains garbage. The proper course is to insure that is initialized to NULL. NULL indicates that we do not want any mapping. The struct is now initialized using a static initializer, and this technique is compatible with all known versions of libao.
| | * update: log all file permission problemsMax Kellermann2011-01-312-0/+7
| | |
| | * Fix NDEBUG testAndreas Wiese2011-01-141-1/+1
| | | | | | | | | | | | | | | | | | | | | <stdbool.h> needs to be included unconditionally from definition of NDEBUG, since »bool« doesn't get defined otherwise. Signed-off-by: Andreas Wiese <aw-devel@meterriblecrew.net>
| * | output/httpd: include sys/socket.h for AF_UNIXUlrich Spörlein2011-03-092-0/+2
| | |
| * | configure.ac: fix bashism in tremor testUlrich Spörlein2011-03-092-1/+3
| | | | | | | | | | | | | | | | | | | | | This makes FreeBSD detect libogg correctly. The '==' operator is an undocumented GNU extension to test(1) and cannot be relied upon to exist and do the right thing. POSIX mandates string comparisons to be done using "test foo = bar".
| * | output/oss: disable 24 bit playback on FreeBSDMax Kellermann2011-02-282-0/+10
| | | | | | | | | | | | See code comment.
| * | output/oss: AFMT_S24_PACKED is little-endianMax Kellermann2011-02-282-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | According to the Solaris dsp manpage, AFMT_S24_PACKED is little-endian: http://download.oracle.com/docs/cd/E19963-01/821-1475/6nmf5baot/index.html The Minix soundcard.h header says the same.
| * | Makefile.am: distribute test/stdbin.hMax Kellermann2011-02-181-0/+7
| | |
| * | Makefile.am: compile test/run_encoder with ENCODER_CFLAGSMax Kellermann2011-02-131-0/+2
| | |
| * | general: whitespace cleanupThomas Jansen2011-02-099-29/+29
| | | | | | | | | | | | | | | Remove trailing whitespace found by this command: find -name '*.[ch]' | xargs grep "[[:space:]]$"
| * | output/httpd: initialize unflushed_inputThomas Jansen2011-02-092-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following valgrind warning occuring on the first call of httpd_output_read_page: ==20124== Conditional jump or move depends on uninitialised value(s) ==20124== at 0x425E65: httpd_output_read_page (httpd_output_plugin.c:240) ==20124== by 0x426087: httpd_output_open (httpd_output_plugin.c:279) ==20124== by 0x41D862: ao_open (output_plugin.h:206) ==20124== by 0x41E133: audio_output_task (output_thread.c:590)
| * | Set fadeout in gme_decoder_plugin. Due to the nature of the gme library,Tony Miller2011-02-032-0/+4
| | | | | | | | | | | | this needs to be done for the end of songs to be detected.
| * | NEWS: fix 0.16.1 release yearMax Kellermann2011-01-281-2/+2
| | |
| * | configure.ac: fix tremor configure testMax Kellermann2011-01-282-2/+10
| | | | | | | | | | | | | | | When the configure options were moved around for 0.16, the order was changed, and the Tremor check broke.
| * | Modify version string to post-release version 0.16.2~gitAvuton Olrich2011-01-092-1/+4
| | |
* | | RoarAudio output pluginHans-Kristian Arntzen2011-03-168-0/+537
| | |
* | | command: "update" and "rescan" need only "CONTROL" permissionMax Kellermann2011-02-272-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From http://bugs.debian.org/513291 "In mpd.conf, the "admin" permission covers updating the db and killing mpd. "Since there are quite some usecases in which the user can upload music to the mpd's directory by means of anonymous FTP or so, it is desirable that any user may issue a db update, while killing the mpd should not be possible. "I'd suggest to remove the db update from the admin group and either add it to "control" or an own group."
* | | playlist_state: add option "restore_paused"Max Kellermann2011-02-235-0/+18
| | | | | | | | | | | | | | | When set, MPD will not auto-start playback on startup; it will be in "paused" state.
* | | playlist_state: declare local variable as enumMax Kellermann2011-02-231-1/+1
| | |
* | | configure.ac: disable -Wno-deprecated-declarationsMax Kellermann2011-02-231-1/+0
| | |
* | | configure.ac: protocol version 0.17Max Kellermann2011-02-221-1/+1
| | | | | | | | | | | | | | | The client-to-client protocol was added, and that justifies increasing the protocol version.
* | | output/shout: add possibility to set urlThomas Jansen2011-02-095-0/+21
| | | | | | | | | | | | Added a new optional parameter for the shout plugin called "url".
* | | configure.ac: fix copy&paste errorThomas Jansen2011-01-291-1/+1
| | |
* | | protocol: support client-to-client communicationMax Kellermann2011-01-2912-0/+681
| | |
* | | client_idle: export client_idle_add()Max Kellermann2011-01-292-5/+14
| | |
* | | client_idle: add header client_idle.hMax Kellermann2011-01-295-13/+45
| | |
* | | test/read_mixer: add workaround for missing RAOP symbolsMax Kellermann2011-01-291-0/+18
| | |
* | | copyright year 2011Max Kellermann2011-01-29443-445/+445
| | |
* | | input/curl: enable CURLOPT_NETRCIan Zimmerman2011-01-292-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I wanted mpd to play a mp3 stream from a music website. The stream is only available to subscribers, which restriction is enforced through normal http authentication. However, the URL I get from the website is not the final URL of the stream, but a generic URL which points to the real one through a redirect (code 301). Thus, I cannot predict the final URL, and so I cannot use the username:password hack to force the authentication, and mpd (libcurl on mpds behalf) fails to grab the stream. libcurl allows the option CURLOPT_NETRC to be set and then the credentials can be stored in the good old .netrc file (in this case it would be ~mpd/.netrc, of course). But mpd doesn't set this option. I think it should.
* | | output/raop: new output pluginDustin Puckett2011-01-288-0/+1691
| | | | | | | | | | | | Remote Audio Output Protocol (RAOP), for Apple devices.
* | | mpg123 decoder: implement seekingYuriy Kaminskiy2011-01-212-2/+16
| | |
* | | mpg123 decoder: report bitrateYuriy Kaminskiy2011-01-211-1/+25
| | |
* | | decoder_thread: fix assertion failure at song endMax Kellermann2011-01-161-2/+1
| | | | | | | | | | | | | | | | | | Don't finish the current command twice. This bug was never noticed, but was revealed by a new assertion check.
* | | doc: add a list of encoder pluginsMax Kellermann2011-01-101-0/+182
| | |