diff options
Diffstat (limited to '')
-rw-r--r-- | src/command.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/command.c b/src/command.c index c9b2fcbd2..3929978ba 100644 --- a/src/command.c +++ b/src/command.c @@ -451,8 +451,12 @@ handle_add(struct client *client, G_GNUC_UNUSED int argc, char *argv[]) enum playlist_result result; if (strncmp(path, "file:///", 8) == 0) { +#ifndef WIN32 + result = PLAYLIST_RESULT_DENIED; +#else result = playlist_append_file(path + 7, client_get_uid(client), NULL); +#endif return print_playlist_result(client, result); } |