This commit is contained in:
Max Kellermann 2022-09-27 20:34:34 +02:00
commit 8d9b0c42cb
3 changed files with 6 additions and 0 deletions

1
NEWS
View File

@ -4,6 +4,7 @@ ver 0.24 (not yet released)
- filter "prio" (for "playlistfind"/"playlistsearch")
- limit "player" idle events to the current partition
- operator "starts_with"
- show PCRE support in "config" response
* archive
- add option to disable archive plugins in mpd.conf
* decoder

View File

@ -1602,6 +1602,7 @@ Reflection
- ``music_directory``: The absolute path of the music directory.
- ``playlist_directory``: The absolute path of the playlist directory.
- ``pcre``: Indicates pcre support.
.. _command_commands:

View File

@ -395,6 +395,10 @@ handle_config(Client &client, [[maybe_unused]] Request args, Response &r)
if (const auto spl_path = map_spl_path(); !spl_path.IsNull())
r.Fmt(FMT_STRING("playlist_directory: {}\n"), spl_path.ToUTF8());
#ifdef HAVE_PCRE
r.Write("pcre: 1\n");
#endif
return CommandResult::OK;
}