summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-01-21command/Request: ParseUnsigned() returns unsignedMax Kellermann
Of course, it should do that!
2021-01-21input/curl: disable verify_peer on Android by defaultMax Kellermann
I havn't yet figured out how to use Android's system CA certificates with CURL/OpenSSL, so a temporary workaround is to disable verify_peer by default. The data MPD transfers isn't extremely important, so the servers's authenticity isn't extremely important either.
2021-01-21python/build/libs.py: build CURL with OpenSSL supportMax Kellermann
Closes https://github.com/MusicPlayerDaemon/MPD/issues/1059
2021-01-21db/simple/Song: Export() merges tags with "target"Max Kellermann
Closes https://github.com/MusicPlayerDaemon/MPD/issues/1048
2021-01-21db/simple/ExportedSong: add option to own a TagMax Kellermann
2021-01-21db/simple/ExportedSong: new classMax Kellermann
2021-01-21SongPrint: use LightSong::GetDuration()Max Kellermann
This properly prints the "Time"/"duration" values for songs in virtual CUE folders. This is loosely related to https://github.com/MusicPlayerDaemon/MPD/issues/1048
2021-01-21util/StringView: add method SplitLast()Max Kellermann
2021-01-20command/file: use %zu to format a size_tMax Kellermann
`PRIoffset` was wrong, because it expects an `offset_type` (i.e. `uint64_t`). This broke on 32 bit machines where `size_t` has 32 bits. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1058
2021-01-20client/Response: add `printf` attributeMax Kellermann
2021-01-20Merge branch 'bugfix/1043/remove-basepath-handling' of ↵Max Kellermann
git://github.com/PVince81/MPD into v0.22.x
2021-01-20doc/mpd.conf.5.rst: updated ReplayGain website linksMax Kellermann
"The documentation for mpd.conf still links to https://replaygain.org – according to archive.org, this domain has been defunct since 2014-09-14, shortly after got domain squatted and ever since hosts dubious content." Closes https://github.com/MusicPlayerDaemon/MPD/issues/1050
2021-01-19python/build/ffmpeg.py: remove obsolete -no-integrated-as workaroundMax Kellermann
2021-01-19doc/user.rst: require Android NDK r22Max Kellermann
2021-01-19output/sles: add missing include for assert()Max Kellermann
2021-01-19lib/pcre/RegexPointer: work around bogus -Wmaybe-uninitialized with GCC 11Max Kellermann
2021-01-19python/build/libs.py: update CURL to 7.74.0Max Kellermann
2021-01-19python/build/libs.py: update Boost to 1.75.0Max Kellermann
2021-01-19doc/protocol.rst: fix playlist(find|search)Itai Y. Efrat
The `{TAG} {NEEDLE}` input format documented seems to be a holdover of pre-0.21 filters, and the commands support the new format.
2021-01-08Remove relative path handling which was not neededVincent Petry
The original base relative path was introduced due to an erroneous test where the URL started with three slashes: "https:///" instead of two, which led to implementing handling for such cases but broke the two slashes case. This fix removes the base relative path handling because with two slashes the path is anyway always relative to the host (aka absolute URI, without host). This reverts 216f62ea1468933f4a78f17885b27e37e1393d8c and part of 74b2fc7fdca9be13cbbe4cb52b2fab573b3cf82c Signed-off-by: Vincent Petry <PVince81@yahoo.fr>
2021-01-05Merge branch 'bugfix/1039/fix-webdav' of git://github.com/PVince81/MPD into ↵Max Kellermann
v0.22.x Closes https://github.com/MusicPlayerDaemon/MPD/issues/1039
2021-01-05Use uri_has_scheme for Webdav response hrefVincent Petry
Use uri_has_scheme to find out if the href in Webdav responses is absolute to use the matching base path extraction. Signed-off-by: Vincent Petry <PVince81@yahoo.fr>
2021-01-04Webdav href in response can be relativeVincent Petry
Fixed Webdav base path stripping in cases where href is a relative path. Signed-off-by: Vincent Petry <PVince81@yahoo.fr>
2021-01-04Fix parsing propstat blocksVincent Petry
There can be more than one propstat block each with their own status code. We're only interested in the one with the 200 status, the found properties. This fixes parsing to make sure we process all propstat blocks instead of just the last one, which might have a 404 status for not-found properties. Signed-off-by: Vincent Petry <PVince81@yahoo.fr>
2021-01-04Fix Webdav storage PROPFIND requestVincent Petry
Remove additional "a:prop" in PROPFIND request to match RFC 4918 section 9.1.3. Added Content-Type header as the body is not a true multipart POST. Signed-off-by: Vincent Petry <PVince81@yahoo.fr>
2021-01-01copyright year 2021Max Kellermann
2020-12-18doc/protocol.rst: document that tag changed trigger "player" idle eventMax Kellermann
2020-12-16doc/protocol.rst: fix MPD version on `oneshot`Itai Y. Efrat
2020-12-16doc/protocol.rst: fix mistake in footnotesItai Y. Efrat
2020-12-15doc/protocol.rst: ensure all commands have targetsEdJoPaTo
2020-12-14doc/protocol.rst: Add missing "originaldate" to the list of supported tagskaliko
2020-12-01input/{tidal,qobus}: add missing includes for assert()Max Kellermann
2020-12-01input/tidal: add missing include for assert()Max Kellermann
2020-11-30lib/ffmpeg/Filter: Add define required for avutilDanilo Spinella
2020-11-16filter/ffmpeg: detect the output sample formatMax Kellermann
Some FFmpeg filters change the sample format, and since MPD assumes this never happens, this results in loud noise instead of music. This commit finally implements the TODO comment by sending one frame of silence to the filter and checking the output frame's format. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1009
2020-11-15output/Control: allow copy elision (fix -Wpessimizing-move)Max Kellermann
2020-11-15Fixes #994 - moveoutput: new AudioOutputControl created from copyMoving an ↵Stapper
output to a partition is now done via MultipleOutputs::AddCopy(),using a new AudioOutputControl constructor. Tags and always_on settings willpersist when moving outputs between partitions.
2020-11-11doc/plugins.rst: add missing list-table declarationMax Kellermann
2020-11-10doc/mpd.1.rst: Update config file documentation.kaliko
Have similar information about config file in both mpd.1 ans mpd.conf.5
2020-11-10doc/mpd.conf.5.rst: Update mpd.conf manualkaliko
Update description with content from user manual [0]. Remove obsolete information regarding "required parameters" and log_level [0] https://www.musicpd.org/doc/html/user.html#the-configuration-file
2020-11-10doc/mpdconf.example: add database exempleskaliko
2020-11-10doc/mpdconf.example: add available log levelskaliko
2020-11-10doc/mpdconf.example: Strip trailing space, fixed typo.kaliko
2020-11-10decoder/dsdiff: apply padding to odd-sized chunksMax Kellermann
Closes https://github.com/MusicPlayerDaemon/MPD/issues/1001
2020-11-10doc/plugins.rst: add DSD spec linksMax Kellermann
2020-11-06increment version number to 0.22.4Max Kellermann
2020-11-06release v0.22.3v0.22.3Max Kellermann
2020-11-06storage/curl: fix nullptr dereferenceMax Kellermann
Pass a std::string to PathTraitsUTF8::Relative(), implicitly casting it to std::string_view. This selects the right overload which returns std::string_view instead of `const char *`; the latter could return `nullptr` which would cause the implicit conversion of the return value to std::string_view to crash. Regression caused by commits ead208987dd and a98d627c0bd. Closes https://github.com/MusicPlayerDaemon/MPD/issues/995
2020-11-04filter/LoadChain: use the AutoConvertFilterMax Kellermann
This adds support for input samples other than 16 bit to the FFmpeg filter plugin.
2020-11-04filter/AutoConvert: move the Filter class to TwoFilters.cxxMax Kellermann