summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-05-26decoder/ffmpeg: fix ArtistSort and AlbumArtistSort mappingMax Kellermann
These were added 11 years ago in commit 766b9fd453a, but I cannot find any evidence in the FFmpeg repository that these names were ever supported. This commit adds the tags as they are currently present in libavformat/mov.c.
2021-05-25db/update/Walk: load all .mpdignore files of all parent directoriesMax Kellermann
When updating everything, this did work, but if updating only a subdirectory, the ".mpdignore" in the parents were not used. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1172
2021-05-25db/update/Walk: move code to LoadExcludeList()Max Kellermann
2021-05-25zeroconf/AvahiPoll: the struct timeval is an absolute time pointMax Kellermann
Fixes broken libavahi-client timeouts.
2021-05-25zeroconf/AvahiPoll: move code to Schedule()Max Kellermann
2021-05-25zeroconf/AvahiPoll: rename "timer" to "event"Max Kellermann
2021-05-25decoder/mad: move variable declaration into "case"Max Kellermann
2021-05-25zeroconf/avahi: move variable declaration into "case"Max Kellermann
2021-05-25subprojects/sqlite3.wrap: add SQLite wrapMax Kellermann
2021-05-25sticker/Database: pass NarrowPath to sqlite3_open()Max Kellermann
Closes https://github.com/MusicPlayerDaemon/MPD/issues/1171
2021-05-25lib/sqlite/meson.build: add missing external dependency on libsqliteMax Kellermann
2021-05-25util/RuntimeError: Disable format-security for gccNamkhai B
Fixes building under GCC 11
2021-05-22input/last: add nullptr check to Open(), fixes assertion failureMax Kellermann
Closes https://github.com/MusicPlayerDaemon/MPD/issues/1168
2021-05-19CommandLine: update copyright year in --version outputMax Kellermann
2021-05-19client/Response, command/file: use %lu instead of %zu on WindowsMax Kellermann
Fixes -Wformat warnings. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1150
2021-05-19meson.build: define NOUSER on Windows for lighter windows.hMax Kellermann
A few exceptions are needed for sources which include COM header (directly or indirectly). This fixes lots of shadow warnings, see https://github.com/MusicPlayerDaemon/MPD/issues/1150
2021-05-19win32/HResult: un-inline HRESULTToString() to reduce header dependenciesMax Kellermann
2021-05-19fs/Glob: un-inline the Windows version to reduce header dependenciesMax Kellermann
2021-05-19fs/Glob: use defaulted move constructorMax Kellermann
2021-05-19fs/Glob: remove redundant #ifdefsMax Kellermann
2021-05-19win32, ...: avoid including windows.hMax Kellermann
Include the most specific header documented by MSDN instead.
2021-05-19output/wasapi: use "%lu" in log callsMax Kellermann
"%lu" is portable - it works with both POSIX and Microsoft flavors. Fixes a part of https://github.com/MusicPlayerDaemon/MPD/issues/1150
2021-05-19util/RuntimeError: disable -Wformat-security as a kludgeMax Kellermann
2021-05-18command/PlaylistCommands: pass real_uri to LookupRemoteTag()Max Kellermann
For querying tags, the real song URI should be used, because if the (display) URI is different, requesting it will not produce a usable response. This is a theoretical problem because none of the existing playlist plugins sets the real_uri. This requires changing the URI comparison in playlist::TagModified(). Closes https://github.com/MusicPlayerDaemon/MPD/issues/1154
2021-05-18command/file: cache the last "albumart" fileMax Kellermann
Closes https://github.com/MusicPlayerDaemon/MPD/issues/1156
2021-05-18input/LastInputStream: new classMax Kellermann
2021-05-17{input,storage}/curl: set CURLOPT_HTTPAUTH=CURLAUTH_BASICMax Kellermann
With the default value CURLAUTH_ANY, libcurl needs to probe for authentication methods first, and only the second request will have an Authorization header. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1155
2021-05-17python/build/libs.py: update CURL to 7.76.1Max Kellermann
2021-04-26output/jack: enable on WindowsMax Kellermann
This enables the JACK output plugin on Windows, but doesn't link against libjack64.dll, instead loads the DLL at runtime with LoadLibrary(). This kludge avoids the extremely fragile JACK shared memory protocol by using the system's libjack64.dll, without requiring the same DLL at build time.
2021-04-26output/control: add missing nullptr checksMax Kellermann
Fixes crash when pausing the default partition after an output was moved to another partition. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1147
2021-04-15Revert "tag/Pool: use strncmp() without strlen() to compare strings"Max Kellermann
This reverts commit 1532983fb5755305a86fc37d2f35a7757d2bd66f. This optimization was bad because now all strings match if they are a prefix of another string, and this caused collisions in the tag string pool, corrupting the database.
2021-03-13gme: add support for rsn filesJohn Regan
Upcoming release of game-music-emu will support it, details here: https://bitbucket.org/mpyne/game-music-emu/pull-requests/23/rsn-support
2021-03-13output/wasapi: use calculated new buffer instead old oneShen-Ta Hsieh
2021-03-10Added cross-origin header to http headers of the http output.bitkeeper
The current http output doesn't provide a header for cross-origin support. This prevents to use the mpd http stream directly from an other webapplication due the origin from the webpage differs from then the audio stream. The fix is to add the following header to the http response: Access-Control-Allow-Origin: *
2021-03-10output/wasapi: implement Drain()Max Kellermann
2021-03-10output/wasapi: move the "is_started" flag to class WasapiOutputThreadMax Kellermann
2021-03-10output/wasapi: eliminate `friend` declarationMax Kellermann
2021-03-10output/wasapi: implement Cancel() properlyMax Kellermann
Calling consume_all() is illegal in the producer thread.
2021-03-10output/wasapi: add field `paused`Max Kellermann
Fixes bogus Delay() results at the start of playback, because Delay() thinks the output is paused.
2021-03-10output/wasapi: initialize is_started in Open()Max Kellermann
2021-03-10output/wasapi: move the thread->Play() call right before the consumed_size checkMax Kellermann
Fixes a bogus assertion failure (which can now be removed).
2021-03-10output/wasapi: make device_config `const`Max Kellermann
2021-03-10output/wasapi: move runtime fields below configuration fieldsMax Kellermann
2021-03-10output/wasapi: make configuration fields `const`Max Kellermann
2021-03-10output/wasapi: stop the IAudioClient while pausedMax Kellermann
Instead of generating silence, do nothing, don't waste CPU time.
2021-03-10output/wasapi: combine two `if` statements to one `switch`Max Kellermann
2021-03-10output/wasapi: add method WasapiOutputThread::InterruptWaiter()Max Kellermann
2021-03-10output/wasapi: remove the broken Delay() calculation codeMax Kellermann
This code is complicated - and broken: the producer thread is not allowed to call consumer methods. Also the code is not necessary because this plugin implements Interrupt().
2021-03-10output/wasapi: rename OpenDevice() to ChooseDevice()Max Kellermann
OpenDevice was a confusing name because it does not actually open a device.
2021-03-10output/wasapi: make `enumerator` a local variableMax Kellermann