MPD
MPD copied to clipboard
cannot open mpd.conf on android after 0.23.8 update
Bug report
Describe the bug
since the update to mpd on android to 0.23.8 when I go to start mpd, it says
exception: Failed to open '/storage/emulated/0/mpd.conf': Permission denied
Expected Behavior
mpd continues to start as normal
Actual Behavior
prints an error message in the console log and fails to allow connections
Version
0.23.8 per google play store.
Configuration
it cannot open the configuration file, so I doubt this is relevant.
Looking in the app permissions in settings, MPD now says it has permissions only for audio files, with no option to grant it permission to all files. I suspect that this is why it cannot open the mpd.conf file.
See https://github.com/MusicPlayerDaemon/MPD/issues/1061#issuecomment-1185664551= It's no longer possible to grant an app permission to all files.
I've marked this as bug, not because it's a MPD bug (it's an Android design decision); but MPD needs to use an app-specific directory for its configuration file.
OR perhaps provide a text box in the app to paste the content of mpd.conf (then later the app will generate it as a file anywhere you like and android permits)
Is there any way to provide mpd.conf to the app on Android 14? (installed the last Version 0.23.14 (72) from FDroid but cannot find where to put the config file). Could you please suggest?