From c73771e3ce7a5866f5ddc70d1cc03acf6a104127 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 1 Mar 2014 18:30:16 +0100 Subject: Main: load mpd.conf from /sdcard/ on Android Hard-coded path. Will be replaced soon. --- src/Main.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Main.cxx') diff --git a/src/Main.cxx b/src/Main.cxx index b26be9135..b64d68cf2 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -418,6 +418,9 @@ int mpd_main(int argc, char *argv[]) #ifdef ANDROID (void)argc; (void)argv; + + if (!ReadConfigFile(Path::FromFS("/sdcard/mpd.conf"), error)) + LogError(error); #else if (!parse_cmdline(argc, argv, &options, error)) { LogError(error); -- cgit v1.2.3