aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* output/raop: use memset() instead of bzero()Max Kellermann2011-07-201-1/+1
| | | | There's no bzero() on WIN32.
* output/raop: include winsock.h on WIN32Max Kellermann2011-07-202-7/+16
|
* output/raop: use GMutex instead of pthread_mutex_tMax Kellermann2011-07-202-27/+26
| | | | Be portable on WIN32.
* output/raop: add missing mutex unlock call in error handlerMax Kellermann2011-07-201-0/+2
|
* queue: implement song "priorities"Max Kellermann2011-07-196-5/+434
| | | | | Sorts remaining songs by priority. This can be used for the much-demanded "queue feature".
* output/shout: fix a memory leakJonathan Neuschäfer2011-07-191-1/+1
|
* Merge branch 'v0.16.x'Max Kellermann2011-07-1911-27/+96
|\ | | | | | | | | | | Conflicts: NEWS configure.ac
| * decoder/ffmpeg: use avformat_open_input() if availableMax Kellermann2011-07-181-4/+35
| | | | | | | | av_open_input_stream() has been deprecated.
| * decoder: use AVDictionary instead of AVMetadataMax Kellermann2011-07-181-1/+14
| | | | | | | | AVMetadata has been deprecated.
| * database: require X_OK on parent directory, not R_OKMax Kellermann2011-07-181-1/+1
| | | | | | | | | | For accessing the child of a directory, one needs X_OK on the directory.
| * output/shout: fix a memory leakJonathan Neuschäfer2011-07-181-12/+16
| |
| * output/recorder: fix a memory leakJonathan Neuschäfer2011-07-181-3/+7
| |
| * output/httpd: add missing g_free in error pathJonathan Neuschäfer2011-07-181-0/+1
| |
| * output/ao: add missing g_free in error pathJonathan Neuschäfer2011-07-181-0/+3
| |
| * conf: add missing fclose in error pathJonathan Neuschäfer2011-07-181-1/+10
| | | | | | | | This patch seems a bit ugly, maybe it would be a bit cleaner with gotos.
| * sticker: fix a memory leakJonathan Neuschäfer2011-07-181-1/+3
| |
| * ape: add missing g_free in error pathJonathan Neuschäfer2011-07-181-1/+3
| |
| * decoder/flac: validate the sample rate when scanning the tagMax Kellermann2011-07-032-1/+5
| | | | | | | | | | Don't calculate the song duration when the sample rate is 0 (division by zero crash).
| * ffmpeg: workaround for semantic API change in recent ffmpeg versionsoblique2011-07-031-2/+2
| |
* | decoder/ffmpeg: use AVIO_FLAG_READ on newer ffmpeg versionsSkottish2011-07-031-1/+3
| | | | | | | | | | FFmpeg/libav have dropped AVIO_RDONLY in favor of AVIO_FLAG_READ. This patch fixes that in MPD.
* | fd_util: add function socketpair_cloexec_nonblock()Max Kellermann2011-07-012-0/+30
| |
* | Merge branch 'v0.16.x'Max Kellermann2011-06-034-2/+25
|\| | | | | | | | | Conflicts: src/decoder/ffmpeg_decoder_plugin.c
| * directory: allow directories with just playlistsMax Kellermann2011-05-092-1/+8
| | | | | | | | | | Keep those when scanning for empty directories. The check in playlist_vector_is_empty() was missing.
| * playlist_song: fix playlist files in base music directoryMax Kellermann2011-05-091-0/+7
| | | | | | | | | | g_path_get_dirname() returns "." when there is no directory name in the given path. This patch adds a workaround for that.
| * playlist_song: fix NULL pointer dereferenceMax Kellermann2011-05-091-1/+1
| |
| * decoder/ffmpeg: use avcodec_decode_audio3() if availableMax Kellermann2011-05-091-1/+22
| | | | | | | | | | avcodec_decode_audio3() has been added in libavformat 52.25.0, and the predecessor avcodec_decode_audio2() has been deprecated.
| * decoder/ffmpeg: make variables more localMax Kellermann2011-05-091-27/+16
| |
| * decoder/ffmpeg: don't use deprecated CODEC_TYPE_AUDIO with new lavcAnton Khirnov2011-05-091-0/+4
| | | | | | | | fixes build with lavc 53.
| * decoder/ffmpeg: define fallback macro AV_VERSION_INT()Max Kellermann2011-05-091-1/+5
| | | | | | | | For ffmpeg < 0.5. Copied from libavutil 0.5.
* | cue_tag: show CUE track numbersQball Cow2011-05-091-0/+9
| |
* | decoder/ffpmeg: don't use av_metadata_conv() in ffmpeg 0.7Max Kellermann2011-05-091-0/+2
| | | | | | | | It's a no-op and deprecated.
* | decoder/ffmpeg: use AVIOContext instead of ByteIOContextMax Kellermann2011-05-091-0/+12
| |
* | input/ffmpeg: use the new AVIOContext APIMax Kellermann2011-05-091-1/+37
| | | | | | | | URLContext is deprecated.
* | decoder/ffmpeg: use avcodec_decode_audio3() if availableMax Kellermann2011-04-121-1/+22
| | | | | | | | | | avcodec_decode_audio3() has been added in libavformat 52.25.0, and the predecessor avcodec_decode_audio2() has been deprecated.
* | decoder/ffmpeg: make variables more localMax Kellermann2011-04-121-27/+16
| |
* | decoder/ffmpeg: drop support for pre-0.5 ffmpegAnton Khirnov2011-04-122-53/+0
| | | | | | | | | | All modern distros ship 0.5, so there's no need to support old and buggy ffmpeg versions.
* | Merge branch 'v0.16.x'Max Kellermann2011-04-123-3/+4
|\| | | | | | | | | | | Conflicts: NEWS configure.ac
| * Merge branch 'v0.15.x' into v0.16.xMax Kellermann2011-04-121-1/+1
| |\ | | | | | | | | | | | | | | | | | | Conflicts: NEWS configure.ac src/listen.c
| | * listen: suppress "unused variable" warningMax Kellermann2011-03-231-0/+2
| | |
| | * command: fix return value of handle_currentsong()Max Kellermann2011-03-231-1/+1
| | | | | | | | | | | | Thanks to clang for complaining.
| | * encoder/vorbis: reset the Ogg stream after flushMax Kellermann2011-03-161-0/+2
| | | | | | | | | | | | | | | Without the ogg_stream_reset() call, the "e_o_s" flag never gets reset, and libogg writes EOS packets over and over.
| * | decoder/flac: fix enum mismatch in flac_tell_cb()Max Kellermann2011-03-231-1/+1
| | | | | | | | | | | | Fix clang warning.
| * | audio_parser: fix assertion failure in audio format mask parserMax Kellermann2011-03-231-1/+2
| | | | | | | | | | | | Use audio_format_mask_valid() to verify a mask.
* | | playlist: Despotify plugin: Correct init in daemon modeSimon Kagstrom2011-04-121-1/+1
| | | | | | | | | | | | | | | There is a global despotify session, so it should not be initialized until needed.
* | | fix common misspellingsJonathan Neuschäfer2011-03-3121-37/+37
| | | | | | | | | | | | | | | | | | | | | These fixes were mostly generated with `codespell' [0] and manually reviewed. [0] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
* | | playlist: Add despotify playlist pluginSimon Kagstrom2011-03-293-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
* | | 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.