aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-19playlist/soundcloud: support libyajl2Robert Vollmert1-5/+21
[mk: backwars compatibility and autoconf check]
2012-03-19text_input_stream: detect end-of-fileMax Kellermann1-2/+17
Fixes endless loop when the last line of a text file was not terminated (bug 3470).
2012-03-19util/list: allow typeof() with clangMax Kellermann1-0/+5
2012-03-19event_pipe, test: explicitly ignore write() return valueMax Kellermann1-1/+2
Some compilers are very picky, but we really aren't interested in the return value.
2012-03-06command: read arbitrary local files with "lsinfo"Max Kellermann1-1/+22
Requires UNIX domain socket connection.
2012-03-06client_file: always allow access if client uid equals mpd uidMax Kellermann1-0/+5
2012-03-06playlist_edit: move UID check to client_allow_file()Max Kellermann5-39/+129
2012-03-06command, ack: add ack_quark()Max Kellermann2-0/+16
To pass ack values around.
2012-03-06use g_strerror() instead of strerror()Max Kellermann10-26/+27
Make sure we get a UTF-8 encoded string.
2012-03-06command: fix the "DENIED" ACK codeMax Kellermann1-1/+1
Use ACK_ERROR_PERMISSION instead of ACK_ERROR_NO_EXIST.
2012-03-01playlist/soundcloud: use config_dup_block_string()Max Kellermann1-5/+3
2012-03-01A soundcloud playlist plugin.Robert Vollmert3-0/+451
Requires YAJL to build, and this doesn't include the necessary automake changes. Can be built using ./configure CFLAGS="-I/usr/include/yajl" LIBS="-lyajl" --enable-soundcloud Add the following to your config: playlist_plugin { name "soundcloud" enabled "true" apikey "c4c979fd6f241b5b30431d722af212e8" } Then you can stream from soundcloud using calls like: mpc load soundcloud://track/<track-id> mpc load soundcloud://playlist/<playlist-id> mpc load soundcloud://url/http://soundcloud.com/some/track/or/playlist For the last case, you can leave off the http:// or http://soundcloud.com/ .
2012-03-01song_update, udp_server: workarounds for gcc 4.1 warningsMax Kellermann2-0/+8
Annoying false positives.
2012-03-01raop_output: fix raop_session inbalanceKurt Van Dijck1-2/+8
raop_session_free must be called from raop_output_finish, not from raop_output_remove. In raop_output_remove, do close the ntp_server & control port. Signed-off-by: Kurt Van Dijck <kurt.van.dijck@skynet.be>
2012-03-01decoder/dsdiff: don't convert to PCMMax Kellermann1-38/+9
Move the responsibility for the conversion to the PCM library. This will allow passing the verbatim DSD samples to an output plugin.
2012-03-01pcm_convert: support the DSD formatMax Kellermann4-0/+167
2012-03-01audio_format: add DSD sample formatMax Kellermann11-0/+61
Basic support for Direct Stream Digital. No conversion yet, and no decoder/output plugin support.
2012-03-01pcm_convert: add method _reset()Max Kellermann6-0/+39
Resets the libsamplerate state. Not being used yet.
2012-02-23win32: Add a Windows OS resource file and iconAvuton Olrich2-0/+34
2012-02-15decoder/ffmpeg: always use AV_VERSION_INTJonathan Neuschäfer1-1/+1
2012-02-15input/cdio_paranoia: whitespace-fix a commentJonathan Neuschäfer1-2/+2
2012-02-15decoder/audiofile: fix compiler warnings with libaudiofile 0.3.3Jonathan Neuschäfer1-4/+4
This might break older versions, I didn't test.
2012-02-15use audio_output_plugins_for_each's plugin iteratorJonathan Neuschäfer1-2/+2
2012-02-15rtsp_client: strncat -> g_strlcatJonathan Neuschäfer1-7/+7
The main difference is that strncat takes the maximum number of characters to copy as its third argument, while g_strlcat takes the size of the buffer, which is how the code was using strncat. Incomplete requests may still be constructed as a result of the reqest buffer filling up.
2012-02-15main: handle negative strtol return valueJonathan Neuschäfer1-2/+3
size_t is unsigned most of the time, so we can't really use it to check for negative values. Also handle strtol overflow.
2012-02-15decoder/sidplay: remove unused variable 'ret'Jonathan Neuschäfer1-1/+0
2012-02-14command: move code to protocol/argparser.cMax Kellermann3-166/+241
2012-02-14command: use standard error messages in check_int()Max Kellermann1-49/+27
2012-02-14command: check for empty string after strtol()Max Kellermann1-7/+7
An empty string is obviously not a valid integer.
2012-02-14command: parse unsigned integers and booleans where applicableMax Kellermann1-67/+39
2012-02-14command: move functions to protocol/result.cMax Kellermann3-31/+102
2012-02-14command: eliminate local buffer "unknown"Max Kellermann1-2/+1
2012-02-13listen: implement systemd socket activationMax Kellermann1-0/+36
2012-02-13server_socket: add method _add_fd()Max Kellermann2-0/+38
2012-02-13server_socket: move code to set_fd()Max Kellermann1-8/+21
2012-02-13zeroconf: skip initialisation if there is no portMax Kellermann1-0/+7
2012-02-13command: new command "config"Max Kellermann1-0/+19
2012-02-13mapper: add mapper_get_music_directory()Max Kellermann4-29/+25
Shortcut for map_directory_fs(db_get_root()).
2012-02-13database: add "pure" attributesMax Kellermann1-0/+5
2012-02-13database: remove obsolete prototype db_check()Max Kellermann1-3/+0
2012-02-13mapper: add "pure" attributesMax Kellermann1-0/+10
2012-02-13client: add function client_is_local()Max Kellermann2-1/+12
2012-02-13client: add "pure" attributesMax Kellermann1-0/+3
2012-02-13command: never print "bad name" in response to "load"Max Kellermann1-5/+14
Work around a confusing error message.
2012-02-13playlist_vector: require database lock for all functionsMax Kellermann4-3/+27
2012-02-13playlist_vector: add new playlist to the end of the listMax Kellermann1-1/+1
Avoid reversing the order after every update.
2012-02-13directory.h: move DIRECTORY_DIR to directory_save.cMax Kellermann2-2/+1
2012-02-13decoder/ffmpeg: read the "year" tagMax Kellermann1-1/+1
This was disabled when compiled with a new ffmpeg version. Older ffmpeg versions used it explicitly, while newer ones may pass it through from the codec.
2012-02-13decoder_api: check state before emitting initial seek commandMax Kellermann1-0/+6
This fixes seeking in the vorbis decoder during MPD startup.
2012-02-13pcm_buffer: pcm_buffer_get() never returns NULLMax Kellermann2-0/+9
This fixes a bug when libsamplerate returns an empty buffer for a very small input buffer. The caller thinks this is an error, bug there is no GError object.