aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-10-26gme: don't loop forever, fall back to GME's default play lengthMax Kellermann1-3/+3
Fixes http://bugs.musicpd.org/view.php?id=4432
2015-10-26decoder/gme: free the gme_info_t as early as possibleMax Kellermann1-6/+7
2015-10-26decoder/gme: log the emulator typeMax Kellermann1-0/+3
2015-10-26decoder/gme: add option "accuracy"Max Kellermann1-1/+24
2015-10-26decoder/gme: call decoder_seek_error() on seek errorMax Kellermann1-2/+4
2015-10-26output/Command: flush the mixer cache when enabling/disabling outputMax Kellermann1-0/+8
Fixes mixer lag (http://bugs.musicpd.org/view.php?id=4425).
2015-10-26playlist/flac: re-add the pluginMax Kellermann3-0/+164
This reverts commit d7d9dbd2c2798b6ff39acb07a3bed38b6f99e283 by reimplementing it with the current MPD API. 3 years ago, I was wrong about the "embcue" plugin being able to replace this one, because "embcue" reads a tag named "CUESHEET", while this plugin reads the "CUESHEET" FLAC metablock. There's an important difference between those two!
2015-10-26decoder/ffmpeg: fix crash due to wrong avio_alloc_context() callMax Kellermann1-4/+13
Allocate the buffer dynamically using av_malloc(), and free AVIOContext.buffer in the destructor, as mandated by the libavformat documentation. Fixes http://bugs.musicpd.org/view.php?id=4446
2015-10-22LocateUri: new library to classify URIs in a standard wayMax Kellermann9-186/+472
2015-10-22SongLoader: move code to LoadFromDatabase()Max Kellermann2-10/+20
Avoids the recursion in LoadFile().
2015-10-21Filter out this extra data and leading zeroes in "track" and "disc" tags.Andreas Mair1-1/+14
2015-10-20PlaylistPrint: fix -Wunused #ifndef ENABLE_DATABASEMax Kellermann2-0/+2
2015-10-20DetachedSong: check AllocatedPath::FromUTF8() resultMax Kellermann1-0/+2
2015-10-20DetachedSong: move code from Update() to LoadFile()Max Kellermann4-24/+34
Avoid duplicate AllocatedPath::FromUTF8() invocations in two callers.
2015-10-20command/DatabaseCommands: pass URI to handle_lsinfo2()Max Kellermann3-6/+3
2015-10-20command/FileCommands: fix access to absolute paths in "readcomments"Max Kellermann1-6/+3
2015-10-20input/InputStream: remove obsolete method OverrideMimeType()Max Kellermann1-7/+0
2015-10-19output/httpd: use boost::intrusive::list instead of std::forward_listMax Kellermann3-25/+18
2015-10-19util/DeleteDisposer: new utility classMax Kellermann6-24/+54
2015-10-19decoder/mad: reduce memory usage while scanning tagsMax Kellermann1-3/+11
Allocate the frame pointers only when actually decoding the file.
2015-10-19fs/Traits: use StringAfterPrefix() in Relative()Max Kellermann1-3/+3
2015-10-16util/StringUtil: add StringAfterPrefix()Max Kellermann4-0/+49
2015-10-16util/WStringUtil: fix indentMax Kellermann1-5/+5
2015-10-16decoder/mpcdec: use SampleTraits<SampleFormat::S24_P32>Max Kellermann1-11/+13
Eliminates some duplicate code, and as a side effect, this works around clang 3.8 compiler warning because a negative value was shifted.
2015-10-16decoder/mpcdec: use Clamp()Max Kellermann1-6/+2
2015-10-16unix/Daemon, playlist/...: remove unused Domain variablesMax Kellermann7-21/+0
2015-10-16encoder/flac: fix crash with 32 bit playbackMax Kellermann1-2/+2
Copy to encoder->audio_format *after* adjusting the sample format to S24_P32. Fixes http://bugs.musicpd.org/view.php?id=4433
2015-10-16tag/ApeLoader: fix buffer overflow after unterminated keyMax Kellermann1-6/+6
2015-10-16util/ConstBuffer: add method MoveFront()Max Kellermann1-0/+14
2015-10-16util/StringView: add methods StripLeft(), StripRight()Max Kellermann2-0/+55
2015-10-02lib/expat/Parser: delete the copy constructor/operatorMax Kellermann1-0/+3
2015-09-30util/StringView: new utility classMax Kellermann17-111/+207
2015-09-30update: apply .mpdignore matches to subdirectoriesAnthony DeRossi4-11/+34
Wildcard matches are directly applied to all filenames in subdirectories without any attempt at matching relative paths. This change is based on the following feature request: http://bugs.musicpd.org/view.php?id=3729
2015-09-30event/ServerSocket: fix AF_UNIX address in use errorAnthony DeRossi1-0/+2
bind fails with an "address already in use" error if the socket path already exists. This was broken by cbb595ba.
2015-09-30unix/PidFile: fix empty PID fileAnthony DeRossi1-0/+3
This was broken by 4f29034f.
2015-09-17unix/Daemon, playlist/pls, ...: remove unused Domain variablesMax Kellermann8-24/+0
2015-09-17Main: use config_domain for inotify errorMax Kellermann1-1/+1
2015-09-17notify: use "constexpr" only with glibcMax Kellermann1-2/+1
The Mutex and Cond constructors are only "constexpr" with glibc, and this is what this #ifdef is about.
2015-09-17output: add native Haiku audio output and mixer supportFrançois Revol5-0/+644
Also uses the notification system to display tags.
2015-09-17Haiku: add resources: application signature and flagsFrançois Revol1-0/+5
Since we do not handle B_QUIT_REQUESTED because the BApplication does not Run(), use the background flag to avoid showing up in Deskbar.
2015-09-17Haiku: add icon as resource definition fileFrançois Revol1-0/+64
2015-09-17Haiku: add an HVIF iconFrançois Revol1-0/+0
3D version reinterpreted from the official 2D design, reusing existing Haiku icons. Icon-O-Matic source file. Same as data/artwork/icons/App_MusicPD in the Haiku tree as of hrev47609.
2015-09-17notify: Don't use constexpr on HaikuFrançois Revol1-1/+2
2015-09-17system/SocketUtil: guard usage of SO_PASSCREDFrançois Revol1-1/+1
Haiku has struct ucred but no SO_PASSCRED (yet).
2015-09-17unix/Daemon: define WCOREDUMP() for platforms that don't support itFrançois Revol1-0/+4
Haiku does not dump core, it just starts the debugger.
2015-09-17CueParser.cxx: Append pregap to previous trackWill Tiffany2-12/+3
Only ignore indexes after first nonzero, preserving pregaps but appending them to the previous track instead of prepending to the current. The first index of the first track is used for the start time regardless of its number. Unneeded bool last_updated removed.
2015-09-01util/AllocatedString: fix off-by-one bug in Duplicate()Max Kellermann1-1/+1
2015-09-01util/StringAPI: add UnsafeCopyStringP()Max Kellermann2-0/+26
2015-09-01util/StringAPI: fix include guard nameMax Kellermann1-2/+2
2015-09-01util/AllocatedString: add constant "SENTINEL"Max Kellermann1-4/+6