Main: load mpd.conf from /sdcard/ on Android
Hard-coded path. Will be replaced soon.
This commit is contained in:
parent
350d2bcd6e
commit
c73771e3ce
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user