aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/playlist.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/playlist.c b/src/playlist.c
index f62e67db2..414e5a63a 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -1333,7 +1333,7 @@ int PlaylistInfo(struct client *client, const char *utf8file, int detail)
return 0;
}
-enum playlist_result loadPlaylist(struct client *client, const char *utf8file)
+enum playlist_result loadPlaylist(const char *utf8file)
{
GPtrArray *list;
@@ -1352,8 +1352,7 @@ enum playlist_result loadPlaylist(struct client *client, const char *utf8file)
p++;
}
if ((addToPlaylist(temp, NULL)) != PLAYLIST_RESULT_SUCCESS) {
- command_error(client, ACK_ERROR_PLAYLIST_LOAD,
- "can't add file \"%s\"", temp2);
+ g_warning("can't add file \"%s\"", temp2);
}
free(temp2);
}