AllCommands: "commands" returns playlist commands only if playlist_directory configured
This commit is contained in:
@@ -35,9 +35,17 @@
|
||||
#include "protocol/ArgParser.hxx"
|
||||
#include "protocol/Result.hxx"
|
||||
#include "ls.hxx"
|
||||
#include "Mapper.hxx"
|
||||
#include "fs/AllocatedPath.hxx"
|
||||
#include "util/UriUtil.hxx"
|
||||
#include "util/Error.hxx"
|
||||
|
||||
bool
|
||||
playlist_commands_available()
|
||||
{
|
||||
return !map_spl_path().IsNull();
|
||||
}
|
||||
|
||||
static void
|
||||
print_spl_list(Client &client, const PlaylistVector &list)
|
||||
{
|
||||
|
Reference in New Issue
Block a user