Main: load mpd.conf from /sdcard/ on Android

Hard-coded path.  Will be replaced soon.
This commit is contained in:
Max Kellermann 2014-03-01 18:30:16 +01:00
parent 350d2bcd6e
commit c73771e3ce

View File

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