aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-18 16:15:45 +0100
committerMax Kellermann <max@duempel.org>2009-01-18 16:15:45 +0100
commit9933144de7389b12b2a75cfb4320baecefa952af (patch)
tree09d7fc155aa64e596c38a2a7d7908e6c8705bf3b /src/command.c
parentc2cc3b4923684cb00518e7b8db25a9b56c60dc9d (diff)
downloadmpd-9933144de7389b12b2a75cfb4320baecefa952af.tar.gz
mpd-9933144de7389b12b2a75cfb4320baecefa952af.tar.xz
mpd-9933144de7389b12b2a75cfb4320baecefa952af.zip
mapper: make the playlist directory optional
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/command.c b/src/command.c
index 9eac2438b..dbc7bdb99 100644
--- a/src/command.c
+++ b/src/command.c
@@ -320,6 +320,11 @@ print_playlist_result(struct client *client,
command_error(client, ACK_ERROR_PLAYLIST_MAX,
"playlist is at the max size");
return COMMAND_RETURN_ERROR;
+
+ case PLAYLIST_RESULT_DISABLED:
+ command_error(client, ACK_ERROR_UNKNOWN,
+ "stored playlist support is disabled");
+ return COMMAND_RETURN_ERROR;
}
assert(0);