aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-05-09cue_tag: show CUE track numbersQball Cow1-0/+9
2011-05-09decoder/ffpmeg: don't use av_metadata_conv() in ffmpeg 0.7Max Kellermann1-0/+2
It's a no-op and deprecated.
2011-05-09decoder/ffmpeg: use AVIOContext instead of ByteIOContextMax Kellermann1-0/+12
2011-05-09input/ffmpeg: use the new AVIOContext APIMax Kellermann1-1/+37
URLContext is deprecated.
2011-04-12decoder/ffmpeg: use avcodec_decode_audio3() if availableMax Kellermann1-1/+22
avcodec_decode_audio3() has been added in libavformat 52.25.0, and the predecessor avcodec_decode_audio2() has been deprecated.
2011-04-12decoder/ffmpeg: make variables more localMax Kellermann1-27/+16
2011-04-12decoder/ffmpeg: drop support for pre-0.5 ffmpegAnton Khirnov2-53/+0
All modern distros ship 0.5, so there's no need to support old and buggy ffmpeg versions.
2011-04-12playlist: Despotify plugin: Correct init in daemon modeSimon Kagstrom1-1/+1
There is a global despotify session, so it should not be initialized until needed.
2011-03-31fix common misspellingsJonathan Neuschäfer21-37/+37
These fixes were mostly generated with `codespell' [0] and manually reviewed. [0] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
2011-03-29playlist: Add despotify playlist pluginSimon Kagstrom3-0/+245
For spotify playlists or tracks. Uses a spt uri, so with mpc you can add playlists with mpc load spt://spotify:user:simon.kagstrom:playlist:3SUwkOe5VbVHysZcidEZtH
2011-03-29input: Add despotify input pluginSimon Kagstrom4-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
2011-03-29despotify: Add support utilitiesSimon Kagstrom4-0/+194
Used to connect and authenticate to despotify. Provides a singleton session and a desptoify-track-to-tags function.
2011-03-23decoder/flac: fix enum mismatch in flac_tell_cb()Max Kellermann1-1/+1
Fix clang warning.
2011-03-23listen: suppress "unused variable" warningMax Kellermann1-0/+2
2011-03-23audio_parser: fix assertion failure in audio format mask parserMax Kellermann1-1/+2
Use audio_format_mask_valid() to verify a mask.
2011-03-23command: fix return value of handle_currentsong()Max Kellermann1-1/+1
Thanks to clang for complaining.
2011-03-23decoder: PCM decoder: Inherit seekable from the input streamSimon Kagstrom1-1/+1
E.g., spotify isn't seekable.
2011-03-23decoder: PCM decoder: Break loop if EOF is encounteredSimon Kagstrom1-0/+4
Otherwise the song playing might go on forever.
2011-03-23Remove unused headers in Roar plugin.Hans-Kristian Arntzen2-9/+0
Should fix build errors for Win32.
2011-03-18command: print playlist load errorMax Kellermann1-1/+1
Call print_playlist_result() instead of casting the enum implicitly.
2011-03-18output/httpd: include sys/socket.h only when building with libwrapMax Kellermann1-1/+1
Fixes build failure on WIN32.
2011-03-18update_walk: ignore parameter "mode" on WIN32Max Kellermann1-0/+1
Fix compiler warning.
2011-03-16audio_format, output_thread: add more audio_format_valid() assertionsMax Kellermann4-0/+13
2011-03-16encoder/vorbis: reset the Ogg stream after flushMax Kellermann1-0/+2
Without the ogg_stream_reset() call, the "e_o_s" flag never gets reset, and libogg writes EOS packets over and over.
2011-03-16encoder/vorbis: reset the Ogg stream after flushMax Kellermann1-0/+2
Without the ogg_stream_reset() call, the "e_o_s" flag never gets reset, and libogg writes EOS packets over and over.
2011-03-16RoarAudio output pluginHans-Kristian Arntzen5-0/+512
2011-03-09output/httpd: include sys/socket.h for AF_UNIXUlrich Spörlein1-0/+1
2011-02-28output/oss: disable 24 bit playback on FreeBSDMax Kellermann1-0/+9
See code comment.
2011-02-28output/oss: AFMT_S24_PACKED is little-endianMax Kellermann1-0/+12
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.
2011-02-27command: "update" and "rescan" need only "CONTROL" permissionMax Kellermann1-2/+2
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."
2011-02-27output/jack: fix crash with mono playbackMax Kellermann1-1/+1
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.
2011-02-25output/jack: rename variable sample_size to jack_sample_sizeMax Kellermann1-5/+6
2011-02-23playlist_state: add option "restore_paused"Max Kellermann2-0/+9
When set, MPD will not auto-start playback on startup; it will be in "paused" state.
2011-02-23playlist_state: declare local variable as enumMax Kellermann1-1/+1
2011-02-15Insure proper initialization of stack-allocated struct.Christopher Brannon1-1/+4
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.
2011-02-09output/shout: add possibility to set urlThomas Jansen1-0/+7
Added a new optional parameter for the shout plugin called "url".
2011-02-09general: whitespace cleanupThomas Jansen9-29/+29
Remove trailing whitespace found by this command: find -name '*.[ch]' | xargs grep "[[:space:]]$"
2011-02-09output/httpd: initialize unflushed_inputThomas Jansen1-0/+1
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)
2011-02-03Set fadeout in gme_decoder_plugin. Due to the nature of the gme library,Tony Miller1-0/+3
this needs to be done for the end of songs to be detected.
2011-01-31update: log all file permission problemsMax Kellermann1-0/+6
2011-01-29protocol: support client-to-client communicationMax Kellermann9-0/+562
2011-01-29client_idle: export client_idle_add()Max Kellermann2-5/+14
2011-01-29client_idle: add header client_idle.hMax Kellermann5-13/+45
2011-01-29copyright year 2011Max Kellermann428-429/+429
2011-01-29input/curl: enable CURLOPT_NETRCIan Zimmerman1-0/+1
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.
2011-01-28output/raop: new output pluginDustin Puckett5-0/+1669
Remote Audio Output Protocol (RAOP), for Apple devices.
2011-01-21mpg123 decoder: implement seekingYuriy Kaminskiy1-2/+14
2011-01-21mpg123 decoder: report bitrateYuriy Kaminskiy1-1/+25
2011-01-16decoder_thread: fix assertion failure at song endMax Kellermann1-2/+1
Don't finish the current command twice. This bug was never noticed, but was revealed by a new assertion check.
2011-01-14Fix NDEBUG testAndreas Wiese1-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>