mpd: avoid hardcoded prefix in patches

%ci:no-build
This commit is contained in:
Henrik Grimler 2022-01-30 15:15:57 +01:00
parent ae0f147c89
commit f57894b54b
No known key found for this signature in database
GPG Key ID: B0076E490B71616B
1 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@
# #
# And for Unix Socket # And for Unix Socket
-#bind_to_address "~/.mpd/socket" -#bind_to_address "~/.mpd/socket"
+bind_to_address "/data/data/com.termux/files/usr/var/run/mpd.socket" +bind_to_address "@TERMUX_PREFIX@/var/run/mpd.socket"
# #
# This setting is the TCP port that is desired for the daemon to get assigned # This setting is the TCP port that is desired for the daemon to get assigned
-# to. -# to.
@ -205,7 +205,7 @@
+audio_output { +audio_output {
+ type "fifo" + type "fifo"
+ name "ncmpcpp visualizer" + name "ncmpcpp visualizer"
+ path "/data/data/com.termux/files/usr/var/run/mpd.fifo" + path "@TERMUX_PREFIX@/var/run/mpd.fifo"
+ format "44100:16:2" + format "44100:16:2"
+ enabled "no" + enabled "no"
+} +}