mapper: make the playlist directory optional

This commit is contained in:
Max Kellermann
2009-01-18 16:15:45 +01:00
parent c2cc3b4923
commit 9933144de7
7 changed files with 57 additions and 19 deletions

View File

@@ -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);