Commit c73771e3 authored by Max Kellermann's avatar Max Kellermann

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

Hard-coded path. Will be replaced soon.
parent 350d2bcd
...@@ -418,6 +418,9 @@ int mpd_main(int argc, char *argv[]) ...@@ -418,6 +418,9 @@ int mpd_main(int argc, char *argv[])
#ifdef ANDROID #ifdef ANDROID
(void)argc; (void)argc;
(void)argv; (void)argv;
if (!ReadConfigFile(Path::FromFS("/sdcard/mpd.conf"), error))
LogError(error);
#else #else
if (!parse_cmdline(argc, argv, &options, error)) { if (!parse_cmdline(argc, argv, &options, error)) {
LogError(error); LogError(error);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment