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")
|
- filter "prio" (for "playlistfind"/"playlistsearch")
|
||||||
- limit "player" idle events to the current partition
|
- limit "player" idle events to the current partition
|
||||||
- operator "starts_with"
|
- operator "starts_with"
|
||||||
|
- show PCRE support in "config" response
|
||||||
* archive
|
* archive
|
||||||
- add option to disable archive plugins in mpd.conf
|
- add option to disable archive plugins in mpd.conf
|
||||||
* decoder
|
* decoder
|
||||||
|
|
|
@ -1602,6 +1602,7 @@ Reflection
|
||||||
|
|
||||||
- ``music_directory``: The absolute path of the music directory.
|
- ``music_directory``: The absolute path of the music directory.
|
||||||
- ``playlist_directory``: The absolute path of the playlist directory.
|
- ``playlist_directory``: The absolute path of the playlist directory.
|
||||||
|
- ``pcre``: Indicates pcre support.
|
||||||
|
|
||||||
.. _command_commands:
|
.. _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())
|
if (const auto spl_path = map_spl_path(); !spl_path.IsNull())
|
||||||
r.Fmt(FMT_STRING("playlist_directory: {}\n"), spl_path.ToUTF8());
|
r.Fmt(FMT_STRING("playlist_directory: {}\n"), spl_path.ToUTF8());
|
||||||
|
|
||||||
|
#ifdef HAVE_PCRE
|
||||||
|
r.Write("pcre: 1\n");
|
||||||
|
#endif
|
||||||
|
|
||||||
return CommandResult::OK;
|
return CommandResult::OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue