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
|
#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);
|
||||||
|
Loading…
Reference in New Issue
Block a user