From 1ae89728593fce4a40882fa133b9db269015da8f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 13 Aug 2012 23:37:50 +0200 Subject: mapper: fix non-UTF8 music directory name Duplicate the music_dir variable: one encoded in UTF-8, and another one using the configured filesystem character set. This fixes an ancient MPD bug. --- src/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command.c') diff --git a/src/command.c b/src/command.c index 86d216a75..329b7d51a 100644 --- a/src/command.c +++ b/src/command.c @@ -1544,7 +1544,7 @@ handle_config(struct client *client, return COMMAND_RETURN_ERROR; } - const char *path = mapper_get_music_directory(); + const char *path = mapper_get_music_directory_utf8(); if (path != NULL) client_printf(client, "music_directory: %s\n", path); -- cgit v1.2.3