- 11 Jul, 2014 35 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Previously, MPD tried to slurp the whole song file, count the number of frames and calculate the song duration from that. That however is extremely expensive for remote files, and will delay playback for a long time. Workaround: check only the first 128 frames and try to extrapolate from here. Fixes Mantis ticket 0004035.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Eliminate more duplicate code.
-
Max Kellermann authored
Don't bother to check for ADIF just because the stream is not seekable.
-
Max Kellermann authored
Merge some duplicate code.
-
Max Kellermann authored
Eliminate some overhead when the caller doesn't need the buffer.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Checking the integer is faster, easier and more reliable.
-
Max Kellermann authored
-
Max Kellermann authored
.. instead of declaring a new constant.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Replaces the loop in sndfile_vio_read(), eliminating duplicate and fragile code.
-
Max Kellermann authored
.. instead of InputStream::LockRead(). The former is cancellable.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
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.
-
Max Kellermann authored
-
Max Kellermann authored
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.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Mantas Mikulėnas authored
The XDG cache directory is part of the "base directories" spec like $XDG_CONFIG_HOME, not "user directories".
-
- 10 Jul, 2014 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-