Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | decoder/sndfile: use decoder_read_full() | Max Kellermann | 2014-07-11 | 1 | -16/+6 | |
| | | | | | | | | | | Replaces the loop in sndfile_vio_read(), eliminating duplicate and fragile code. | |||||
| * | decoder/sndfile: use decoder_read() | Max Kellermann | 2014-07-11 | 1 | -16/+22 | |
| | | | | | | | | .. instead of InputStream::LockRead(). The former is cancellable. | |||||
| * | decoder/sndfile: log seek errors | Max Kellermann | 2014-07-11 | 1 | -1/+4 | |
| | | ||||||
| * | decoder/audiofile: log seek errors | Max Kellermann | 2014-07-11 | 1 | -0/+1 | |
| | | ||||||
| * | decoder/audiofile: fix typo in comment | Max Kellermann | 2014-07-11 | 1 | -1/+1 | |
| | | ||||||
| * | PlaylistEdit: postpone UpdateQueuedSong() when adding multiple songs | Max Kellermann | 2014-07-11 | 7 | -1/+109 | |
| | | | | | | | | | | | | | | | | | | | | Implement a "bulk" edit mode that postpones both UpdateQueuedSong() and OnModified(). This way, the playlist version gets incremented only once. More importantly: when adding multiple songs to a queue that consists of only one song, the first song that got added will always be played next. By postponing this choice, all newly added songs get a chance to become the next song. Fixes the second (and last) part of Mantis ticket 0004005. | |||||
| * | QueueCommands: make "result" more local | Max Kellermann | 2014-07-11 | 1 | -3/+2 | |
| | | ||||||
| * | Playlist: randomize next song when enabling "random" mode while not playing | Max Kellermann | 2014-07-11 | 1 | -1/+3 | |
| | | | | | | | | | | | | Don't restore the current song after shufflung when MPD is stopped (but still remembers the current song internally). Fixes the first part of Mantis ticket 0004005. | |||||
| * | PlaylistControl: update code comment | Max Kellermann | 2014-07-11 | 1 | -1/+1 | |
| | | ||||||
* | | input/curl: options "verify_peer" and "verify_host" | Max Kellermann | 2014-07-11 | 1 | -0/+8 | |
| | | ||||||
* | | fs/StandardDirectory: look for cache dir in environment, not user-dirs | Mantas Mikulėnas | 2014-07-11 | 1 | -3/+15 | |
| | | | | | | | | | | The XDG cache directory is part of the "base directories" spec like $XDG_CONFIG_HOME, not "user directories". | |||||
* | | input/async: more API documentation | Max Kellermann | 2014-07-10 | 1 | -0/+26 | |
| | | ||||||
* | | decoder/audiofile: log libaudiofile errors | Max Kellermann | 2014-07-10 | 1 | -4/+15 | |
| | | ||||||
* | | decoder/audiofile: make variables more local | Max Kellermann | 2014-07-10 | 1 | -28/+24 | |
| | | ||||||
* | | decoder/audiofile: implement scan_stream() instead of scan_file() | Max Kellermann | 2014-07-10 | 1 | -23/+23 | |
| | | ||||||
* | | decoder/audiofile: use audiofile_get_duration() in _stream_decode() | Max Kellermann | 2014-07-10 | 1 | -5/+2 | |
| | | ||||||
* | | decoder/audiofile: split audiofile_get_duration() | Max Kellermann | 2014-07-10 | 1 | -4/+11 | |
| | | ||||||
* | | decoder/audiofile: remove unused Error variable | Max Kellermann | 2014-07-09 | 1 | -1/+0 | |
| | | ||||||
* | | Merge branch 'v0.18.x' | Max Kellermann | 2014-07-09 | 7 | -46/+50 | |
|\| | ||||||
| * | decoder/dsd: use decoder_read_full() where appropriate | Joff | 2014-07-09 | 4 | -31/+19 | |
| | | | | | | | | | | | | | | Addresses Mantis ticket 0004015. [mk: use decoder_read_full() only when needed, and a few formal changes] | |||||
| * | decoder/audiofile: use decoder_read_full() | Max Kellermann | 2014-07-09 | 1 | -1/+6 | |
| | | | | | | | | | | Works around WAV stream playback bug, because libaudiofile does not like partial reads (Mantis 0004028). | |||||
| * | DecoderAPI: add function decoder_read_full() | Max Kellermann | 2014-07-09 | 3 | -12/+31 | |
| | | | | | | | | Move code from the "mad" plugin. | |||||
| * | DecoderAPI: add function decoder_skip() | Max Kellermann | 2014-07-09 | 3 | -14/+25 | |
| | | | | | | | | Move code from the "mad" plugin. | |||||
| * | decoder/audiofile: use decoder_read() | Max Kellermann | 2014-07-09 | 1 | -15/+24 | |
| | | | | | | | | | | .. instead of InputStream::LockRead(). The former is cancellable. | |||||
| * | playlist/PlsPlaylistPlugin: fix build failure due to missing stdio.h include | Gustavo Zacarias | 2014-07-09 | 1 | -0/+1 | |
| | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> | |||||
| * | output/HttpdClient: fix build failure due to missing stdio.h include | Gustavo Zacarias | 2014-07-09 | 1 | -0/+1 | |
| | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> | |||||
| * | decoder/OpusDecoderPlugin: fix build failure due to missing stdio.h include | Gustavo Zacarias | 2014-07-09 | 1 | -0/+1 | |
| | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> | |||||
| * | decoder/AudiofileDecoderPlugin: fix build failure due to missing stdio.h include | Gustavo Zacarias | 2014-07-09 | 1 | -0/+1 | |
| | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> | |||||
* | | playlist/plugins/DespotifyPlaylistPlugin: fix build failure due to missing ↵ | Gustavo Zacarias | 2014-07-09 | 1 | -0/+1 | |
| | | | | | | | | | | | | stdio.h include Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> | |||||
* | | output/plugins/httpd/HttpdClient: fix build failure due to missing stdio.h ↵ | Gustavo Zacarias | 2014-07-09 | 1 | -0/+1 | |
| | | | | | | | | | | | | include Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> | |||||
* | | decoder/plugins/FlacIOHandle: fix build failure due to missing stdio.h include | Gustavo Zacarias | 2014-07-09 | 1 | -0/+1 | |
| | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> | |||||
* | | decoder/dsdlib: use decoder_skip() | Max Kellermann | 2014-07-09 | 1 | -26/+6 | |
| | | | | | | | | Reduce duplicate code. | |||||
* | | decoder/dsdlib: pass unsigned offsets to dsdlib_skip*() | Max Kellermann | 2014-07-09 | 2 | -11/+9 | |
| | | ||||||
* | | thread/{Mutex,Cond}: relicense to BSD-2 | Max Kellermann | 2014-07-02 | 6 | -38/+58 | |
| | | ||||||
* | | thread/GLib{Mutex,Cond}: remove obsolete classes | Max Kellermann | 2014-07-02 | 2 | -178/+0 | |
| | | ||||||
* | | lib/nfs/Connection: include poll.h | Max Kellermann | 2014-06-30 | 1 | -0/+2 | |
| | | ||||||
* | | Added Comment/Description to decoder/plugins/XiphTags.cxx | Christoph Tieben | 2014-06-27 | 1 | -0/+4 | |
| | | ||||||
* | | decoder: vorbis, flac, opus: honor DESCRIPTION= tag in Xiph-based files as a ↵ | Christoph Tieben | 2014-06-27 | 1 | -0/+1 | |
| | | | | | | | | | | | | comment to the song (see https://www.xiph.org/vorbis/doc/v-comment.html for Details) | |||||
* | | util/ConstBuffer: add method skip_front() | Max Kellermann | 2014-06-26 | 1 | -0/+9 | |
| | | ||||||
* | | util/ConstBuffer: wrap assert() in NDEBUG check | Max Kellermann | 2014-06-26 | 1 | -0/+4 | |
| | | | | | | | | Fixes build failure because assert.h was not included. | |||||
* | | util/ConstBuffer: add method Contains() | Max Kellermann | 2014-06-23 | 1 | -0/+10 | |
| | | ||||||
* | | Merge branch 'v0.18.x' | Max Kellermann | 2014-06-23 | 5 | -1/+63 | |
|\| | ||||||
| * | db/proxy: fall back to recursive walk on old libmpdclient/MPD | Max Kellermann | 2014-06-23 | 5 | -1/+63 | |
| | | | | | | | | | | Error message was 'too few arguments for "find"' because the "base" constraint was not supported, and no other constraints remained. | |||||
| * | db/proxy: use mpd_song_get_{start,end}() only with libmpdclient >= 2.3 | Max Kellermann | 2014-06-23 | 1 | -0/+5 | |
| | | ||||||
* | | db/proxy: use mpd_song_get_{start,end}() only with libmpdclient >= 2.3 | Max Kellermann | 2014-06-23 | 1 | -0/+5 | |
| | | ||||||
* | | input/async: use IsEOF() instead of !open for "ready" check | Max Kellermann | 2014-06-21 | 1 | -2/+3 | |
| | | | | | | | | | | Checking "!open" did not work with the NFS plugin because that plugin does not close the file automatically, unlike CURL. | |||||
* | | Revert "AsyncInputStream: fix assertion failure in AppendToBuffer()" | Max Kellermann | 2014-06-21 | 1 | -6/+4 | |
| | | | | | | | | | | | | | | This reverts commit 966c4244cbe0de174df1e72e917078269ec9dbb9. The commit was bad, because the bug was really in NfsInputStream::DoRead(); see previous commit. | |||||
* | | input/nfs: never read more than space available in buffer | Max Kellermann | 2014-06-21 | 1 | -2/+4 | |
| | | | | | | | | Avoids off-by-one bug and obsoletes the bug fix in commit 966c4244 | |||||
* | | db/proxy: initialize LightSong::real_uri | Max Kellermann | 2014-06-21 | 1 | -0/+1 | |
| | | | | | | | | Fixes potential crash. | |||||
* | | lib/nfs/Manager: gcc 4.7 compatibility hack | Max Kellermann | 2014-06-17 | 3 | -0/+32 | |
| | | | | | | | | std::map::emplace() is only available from gcc 4.8 on. |