music player daemon (fork)
Go to file
Linux-Fan, Ma_Sys.ma 6db4b818e6 song/Filter: Fix spacing error on nested AND
Previously, `AND` expressions were the only filters which used `++s` instead
of `s = StripLeft(s + 1)` making them sensitive to spacing issues. This caused
nested AND expressions (like e.g. `(((A) AND (B)) AND (C))`) to needlessly be
rejected with the following error message: `{find} Word expected` due to the
fact that the inner AND expression would leave the cursor `s` at a space rather
than the beginning of the next word (remainder was ` AND (C))` rather than
`AND (C)`).

This commit fixes this by consistently using `s = StripLeft(s + 1)` instead
of `++s` when parsing AND expressions. Although it is not strictly necessary
to resolve the AND nesting bug, the case of trivial AND expressions (consisting
basically of only superfluous parentheses) is also changed to the new handling.
This should be more robust although I expect that case to be even less common
than the direct nesting of AND expressions.

see MusicPlayerDaemon/MPD#2100
2024-08-23 21:36:53 +02:00
.github .github/workflows/build_android.yml: update NDK to r27 2024-07-29 16:38:26 +02:00
LICENSES LICENSES: add all licenses referred to by SPDX headers 2023-10-15 11:39:08 +02:00
android android: Install the libmpd.so output on android 2024-05-04 00:13:25 -05:00
build build: Remove absolute path on pkg-config 2023-12-20 23:23:18 -06:00
doc output/alsa: add option "close_on_pause" 2024-07-29 16:31:09 +02:00
python/build python/build/__init__.py: add missing file 2024-07-29 16:51:40 +02:00
src song/Filter: Fix spacing error on nested AND 2024-08-23 21:36:53 +02:00
subprojects subprojects: update fmt to 11.0.1 2024-07-10 09:32:11 +02:00
systemd systemd: base "RestrictAddressFamilies" on build options 2023-09-15 23:39:00 +03:00
test util/CircularBuffer: use std::span internally 2024-07-29 22:24:54 +02:00
win32 subprojects: add id3tag 2023-12-22 18:15:25 +01:00
.clang-format Add .clang-format 2020-05-27 18:58:55 +08:00
.gitignore .gitignore: add emacs lsp-mode files 2020-05-26 21:07:56 +02:00
.readthedocs.yaml .readthedocs.yaml: install sphinx-rtd-theme 2024-01-19 10:31:50 +01:00
AUTHORS Copyright year 2022 2022-07-14 17:59:35 +02:00
COPYING Update the text of the GPLv2, this fixes the address and a few other oddities. 2008-12-20 19:02:09 -08:00
NEWS output/alsa: add option "close_on_pause" 2024-07-29 16:31:09 +02:00
README.md doc, README.md: update IRC server name/URL 2021-06-23 15:48:42 +02:00
meson.build IdleFlags: move to procool/ 2024-07-29 17:02:33 +02:00
meson_options.txt remove macOS support 2024-05-06 14:11:50 +02:00
mpd.svg import MPD SVG icon 2014-07-14 19:04:46 +02:00
valgrind.suppressions valgrind.suppressions: add GObject/libgcrypt/libsmbclient suppressions 2019-02-05 22:53:02 +01:00

README.md

Music Player Daemon

http://www.musicpd.org

A daemon for playing music of various formats. Music is played through the server's audio device. The daemon stores info about all available music, and this info can be easily searched and retrieved. Player control, info retrieval, and playlist management can all be managed remotely.

For basic installation instructions read the manual.

Users

Developers

Legal

MPD is released under the GNU General Public License version 2, which is distributed in the COPYING file.