termux-packages/packages/mympd/src-mympd_api-mympd_api_uti...

12 lines
577 B
Diff
Raw Normal View History

2021-12-20 10:40:23 +01:00
--- a/src/mympd_api/mympd_api_utility.c
+++ b/src/mympd_api/mympd_api_utility.c
@@ -96,7 +96,7 @@
void mympd_state_default(struct t_mympd_state *mympd_state) {
mympd_state->music_directory = sdsnew("auto");
mympd_state->music_directory_value = sdsempty();
- mympd_state->playlist_directory = sdsnew("/var/lib/mpd/playlists");
+ mympd_state->playlist_directory = sdsnew("@TERMUX_PREFIX@/var/lib/mpd/playlists");
mympd_state->jukebox_mode = JUKEBOX_OFF;
mympd_state->jukebox_playlist = sdsnew("Database");
mympd_state->jukebox_unique_tag.len = 1;