aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* client_file: always allow access if client uid equals mpd uidMax Kellermann2012-03-061-0/+5
|
* playlist_edit: move UID check to client_allow_file()Max Kellermann2012-03-065-39/+129
|
* command, ack: add ack_quark()Max Kellermann2012-03-062-0/+16
| | | | To pass ack values around.
* use g_strerror() instead of strerror()Max Kellermann2012-03-0610-26/+27
| | | | Make sure we get a UTF-8 encoded string.
* command: fix the "DENIED" ACK codeMax Kellermann2012-03-061-1/+1
| | | | Use ACK_ERROR_PERMISSION instead of ACK_ERROR_NO_EXIST.
* playlist/soundcloud: use config_dup_block_string()Max Kellermann2012-03-011-5/+3
|
* A soundcloud playlist plugin.Robert Vollmert2012-03-013-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/ .
* song_update, udp_server: workarounds for gcc 4.1 warningsMax Kellermann2012-03-012-0/+8
| | | | Annoying false positives.
* raop_output: fix raop_session inbalanceKurt Van Dijck2012-03-011-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>
* decoder/dsdiff: don't convert to PCMMax Kellermann2012-03-011-38/+9
| | | | | Move the responsibility for the conversion to the PCM library. This will allow passing the verbatim DSD samples to an output plugin.
* pcm_convert: support the DSD formatMax Kellermann2012-03-014-0/+167
|
* audio_format: add DSD sample formatMax Kellermann2012-03-0111-0/+61
| | | | | Basic support for Direct Stream Digital. No conversion yet, and no decoder/output plugin support.
* pcm_convert: add method _reset()Max Kellermann2012-03-016-0/+39
| | | | Resets the libsamplerate state. Not being used yet.
* win32: Add a Windows OS resource file and iconAvuton Olrich2012-02-232-0/+34
|
* Merge remote branches 'jn/ffmpeg' and 'jn/wsp'Max Kellermann2012-02-151-2/+2
|\
| * input/cdio_paranoia: whitespace-fix a commentJonathan Neuschäfer2012-02-151-2/+2
| |
* | decoder/ffmpeg: always use AV_VERSION_INTJonathan Neuschäfer2012-02-151-1/+1
|/
* Merge branch 'af' of git://git.musicpd.org/jn/mpdMax Kellermann2012-02-151-4/+4
|\
| * decoder/audiofile: fix compiler warnings with libaudiofile 0.3.3Jonathan Neuschäfer2012-02-151-4/+4
| | | | | | | | This might break older versions, I didn't test.
* | use audio_output_plugins_for_each's plugin iteratorJonathan Neuschäfer2012-02-151-2/+2
| |
* | rtsp_client: strncat -> g_strlcatJonathan Neuschäfer2012-02-151-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.
* | main: handle negative strtol return valueJonathan Neuschäfer2012-02-151-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.
* | decoder/sidplay: remove unused variable 'ret'Jonathan Neuschäfer2012-02-151-1/+0
|/
* command: move code to protocol/argparser.cMax Kellermann2012-02-143-166/+241
|
* command: use standard error messages in check_int()Max Kellermann2012-02-141-49/+27
|
* command: check for empty string after strtol()Max Kellermann2012-02-141-7/+7
| | | | An empty string is obviously not a valid integer.
* command: parse unsigned integers and booleans where applicableMax Kellermann2012-02-141-67/+39
|
* command: move functions to protocol/result.cMax Kellermann2012-02-143-31/+102
|
* command: eliminate local buffer "unknown"Max Kellermann2012-02-141-2/+1
|
* listen: implement systemd socket activationMax Kellermann2012-02-131-0/+36
|
* server_socket: add method _add_fd()Max Kellermann2012-02-132-0/+38
|
* server_socket: move code to set_fd()Max Kellermann2012-02-131-8/+21
|
* zeroconf: skip initialisation if there is no portMax Kellermann2012-02-131-0/+7
|
* command: new command "config"Max Kellermann2012-02-131-0/+19
|
* mapper: add mapper_get_music_directory()Max Kellermann2012-02-134-29/+25
| | | | Shortcut for map_directory_fs(db_get_root()).
* database: add "pure" attributesMax Kellermann2012-02-131-0/+5
|
* database: remove obsolete prototype db_check()Max Kellermann2012-02-131-3/+0
|
* mapper: add "pure" attributesMax Kellermann2012-02-131-0/+10
|
* client: add function client_is_local()Max Kellermann2012-02-132-1/+12
|
* client: add "pure" attributesMax Kellermann2012-02-131-0/+3
|
* command: never print "bad name" in response to "load"Max Kellermann2012-02-131-5/+14
| | | | Work around a confusing error message.
* playlist_vector: require database lock for all functionsMax Kellermann2012-02-134-3/+27
|
* playlist_vector: add new playlist to the end of the listMax Kellermann2012-02-131-1/+1
| | | | Avoid reversing the order after every update.
* directory.h: move DIRECTORY_DIR to directory_save.cMax Kellermann2012-02-132-2/+1
|
* Merge branch 'v0.16.x'Max Kellermann2012-02-135-6/+17
|\ | | | | | | | | | | | | | | Conflicts: NEWS configure.ac src/decoder/ffmpeg_decoder_plugin.c test/read_tags.c
| * decoder/ffmpeg: read the "year" tagMax Kellermann2012-02-131-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.
| * decoder_api: check state before emitting initial seek commandMax Kellermann2012-02-131-0/+6
| | | | | | | | This fixes seeking in the vorbis decoder during MPD startup.
| * pcm_buffer: pcm_buffer_get() never returns NULLMax Kellermann2012-02-132-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.
| * output/winmm: remove pointless NULL checkMax Kellermann2012-02-131-5/+1
| | | | | | | | pcm_buffer_get() cannot ever return NULL.
* | directory: fix reverse order of child directoriestreblid2012-02-131-1/+1
| | | | | | | | | | Directories are loaded in reverse order when MPD starts. Only fixed when doing a rescan.