Merge branch 'reflection' of https://github.com/jcorporation/MPD
This commit is contained in:
commit
8d9b0c42cb
1
NEWS
1
NEWS
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue