Max Kellermann
|
1aa7cdd602
|
decoder/opus: fix replay gain when there are no other tags
The `tag_builder.empty()` check was wrong for the SubmitReplayGain()
call.
Closes https://github.com/MusicPlayerDaemon/MPD/issues/497
|
2019-03-16 13:55:19 +01:00 |
|
Max Kellermann
|
a4b8a0d801
|
doc/protocol.rst: clarify filter expressions with multiple tag values
Clarification for https://github.com/MusicPlayerDaemon/MPD/issues/505
|
2019-03-16 13:23:44 +01:00 |
|
Max Kellermann
|
3bf521d5ca
|
song/TagSongFilter: apply negation properly to multiple tag values
The old implementation didn't make a lot of sense; the "!=" operator
was not actually the opposite of "==".
Closes https://github.com/MusicPlayerDaemon/MPD/issues/505
|
2019-03-16 13:23:02 +01:00 |
|
Max Kellermann
|
0acb55cde5
|
song/StringFilter: remove obsolete #if
|
2019-03-16 13:23:02 +01:00 |
|
Max Kellermann
|
6b89fd6100
|
song/StringFilter: make MatchWithoutNegation() public
|
2019-03-16 13:23:02 +01:00 |
|
Max Kellermann
|
52ce39dc3e
|
test/TestSongFilter: unit test for song filters
A few of those tests fail due to bugs.
|
2019-03-16 13:23:02 +01:00 |
|
Max Kellermann
|
7a3e15d8e5
|
test/meson.build: add section for filter tests
|
2019-03-16 13:23:02 +01:00 |
|
Max Kellermann
|
cf66a60c60
|
test/MakeTag: add noexcept
|
2019-03-16 13:23:02 +01:00 |
|
Max Kellermann
|
9b26d451e4
|
test/MakeTag: remove static
|
2019-03-16 13:23:02 +01:00 |
|
Max Kellermann
|
137ffba1b4
|
test/test_translate_song: move MakeTag() to header
|
2019-03-16 13:23:02 +01:00 |
|
Max Kellermann
|
5c5dc1b7c0
|
meson.build: increase protocol version to 0.21.6
There is a minor new feature (commit 713c1f2ba9 ) and clients might be
interested in detecting it by the protocol version.
|
2019-03-16 13:23:02 +01:00 |
|
Max Kellermann
|
9e9418294a
|
song/TagSongFilter: eliminate Match(TagItem)
|
2019-03-15 20:28:27 +01:00 |
|
Max Kellermann
|
b850eb74b7
|
song/TagSongFilter: add code comments
|
2019-03-15 19:54:29 +01:00 |
|
Max Kellermann
|
67d73a2aee
|
song/TagSongFilter: improve lambda indent
|
2019-03-15 19:54:16 +01:00 |
|
Max Kellermann
|
fde9a470dd
|
song/TagSongFilter: eliminate the std::fill_n() call
|
2019-03-15 19:35:58 +01:00 |
|
Max Kellermann
|
8d1f30e55b
|
tag/Fallback: add API documentation
|
2019-03-15 19:23:10 +01:00 |
|
Max Kellermann
|
ddd2b60489
|
doc/protocol.rst: add missing operators to example expressions
|
2019-03-15 19:14:06 +01:00 |
|
Max Kellermann
|
8777737861
|
doc/protocol.rst: use double backticks for tag names
|
2019-03-15 19:11:30 +01:00 |
|
Max Kellermann
|
cb71f6dd04
|
doc/protocol.rst: clarify the meaning of the any tag type
|
2019-03-15 19:09:55 +01:00 |
|
Max Kellermann
|
1881b0e975
|
song/TagSongFilter: rename MatchNN() to Match()
The "NN" suffix used to mean "no negation", but that's not how it's
implemented today.
|
2019-03-15 19:06:56 +01:00 |
|
Max Kellermann
|
eed4e40ec6
|
Merge branch 'v0.21.x'
|
2019-03-14 20:32:04 +01:00 |
|
Max Kellermann
|
6de57b36c7
|
song/TagSongFilter: eliminate the std::fill_n() call
|
2019-03-14 20:31:22 +01:00 |
|
Max Kellermann
|
98b29f6d1c
|
meson.build: remove the libwinpthread-1.dll dependency on Windows
Closes https://github.com/MusicPlayerDaemon/MPD/issues/507
|
2019-03-14 20:07:06 +01:00 |
|
Max Kellermann
|
59fdfd25cb
|
command/database: fix "list" with filter expression
Disable the 0.11 compatibility mode if the only argument is a filter
expression.
Closes https://github.com/MusicPlayerDaemon/MPD/issues/506
|
2019-03-14 19:50:09 +01:00 |
|
Max Kellermann
|
0d98677212
|
playlist/flac: copy the URI to fix use-after-free bug
Closes https://github.com/MusicPlayerDaemon/MPD/issues/508
|
2019-03-14 19:30:33 +01:00 |
|
Max Kellermann
|
1a0865da7a
|
test/run_filter: ensure that partial frames will not get passed to the filter
|
2019-03-14 14:26:53 +01:00 |
|
Max Kellermann
|
a6ecf6c992
|
test/run_filter: move the buffer into the loop
|
2019-03-14 13:57:37 +01:00 |
|
Max Kellermann
|
cb100f2e5c
|
input/ffmpeg: use avio_feof(), eliminate eof attribute
|
2019-03-13 10:41:12 +01:00 |
|
Max Kellermann
|
bfb7b0117f
|
lib/ffmpeg/IOContext: allow partial reads
|
2019-03-13 10:39:43 +01:00 |
|
Max Kellermann
|
f6a705c769
|
input/ffmpeg: add AVIOContext wrapper class
|
2019-03-13 10:01:17 +01:00 |
|
Max Kellermann
|
0c01840a7e
|
input/ffmpeg: use C++11 initializer
|
2019-03-13 09:59:45 +01:00 |
|
Max Kellermann
|
b0b75c54de
|
input/ffmpeg: convert to class
|
2019-03-13 09:59:20 +01:00 |
|
Max Kellermann
|
3fc201d985
|
input/ffmpeg: add noexcept
|
2019-03-13 09:58:33 +01:00 |
|
Max Kellermann
|
5aa453ada3
|
input/ffmpeg: include cleanup
|
2019-03-13 09:57:50 +01:00 |
|
Max Kellermann
|
0009d53b3f
|
decoder/ffmpeg: add AVCodecContext wrapper class
|
2019-03-13 09:41:52 +01:00 |
|
Max Kellermann
|
05f7a6d1ff
|
decoder/ffmpeg: add AVFormatContext wrapper class
|
2019-03-13 00:27:21 +01:00 |
|
Max Kellermann
|
0256bbbbaf
|
decoder/ffmpeg: wider try/catch in ffmpeg_scan_stream()
|
2019-03-13 00:27:21 +01:00 |
|
Max Kellermann
|
bce608cdbc
|
decoder/ffmpeg: ffmpeg_decode() may throw
Don't catch and log exceptions. Let the caller handle the error.
|
2019-03-13 00:20:13 +01:00 |
|
Max Kellermann
|
38a0844cdf
|
decoder/ffmpeg: add AVFrame wrapper class
|
2019-03-12 23:51:46 +01:00 |
|
Max Kellermann
|
9acc6617d2
|
filter/registry: move extern lines to plugin headers
|
2019-03-12 12:26:12 +01:00 |
|
Max Kellermann
|
4f72f49216
|
filter/normalize: clean up forward declarations
|
2019-03-12 12:24:31 +01:00 |
|
Max Kellermann
|
af9840daf7
|
util/Clamp: remove redundant inline keywords from constexpr functions
|
2019-03-12 11:54:51 +01:00 |
|
Max Kellermann
|
a67a9c9980
|
tag/Pool: remove redundant inline keywords from constexpr functions
|
2019-03-12 11:54:44 +01:00 |
|
Max Kellermann
|
732b2acf35
|
lib/upnp: remove redundant inline keywords from constexpr functions
|
2019-03-12 11:54:38 +01:00 |
|
Max Kellermann
|
16906cdcbe
|
fs/FileInfo: remove redundant inline keywords from constexpr functions
|
2019-03-12 11:54:31 +01:00 |
|
Max Kellermann
|
96e70659f0
|
lib/xiph/FlacAudioFormat: remove redundant inline keywords from constexpr functions
|
2019-03-12 11:53:13 +01:00 |
|
Max Kellermann
|
f2cacaf6b6
|
AudioFormat, pcm/Dsd*: remove redundant inline keywords from constexpr functions
|
2019-03-08 10:29:03 +01:00 |
|
Max Kellermann
|
24cde31328
|
lib/ffmpeg/Time: remove redundant inline keywords from constexpr functions
|
2019-03-08 10:28:02 +01:00 |
|
Max Kellermann
|
f6c0688684
|
util/ByteOrder: remove redundant inline keywords from constexpr functions
|
2019-03-08 10:23:14 +01:00 |
|
Max Kellermann
|
c176d94598
|
system/ByteOrder: move to util/
|
2019-03-08 10:21:10 +01:00 |
|