termux-packages/packages/snapcast-server/server-streamreader-airplay_stream.cpp.patch

12 lines
484 B
Diff
Raw Normal View History

2021-12-22 03:41:30 +01:00
--- a/server/streamreader/airplay_stream.cpp
+++ b/server/streamreader/airplay_stream.cpp
@@ -204,7 +204,7 @@
void AirplayStream::setParamsAndPipePathFromPort()
{
- pipePath_ = "/tmp/shairmeta." + cpt::to_string(getpid()) + "." + cpt::to_string(port_);
+ pipePath_ = "@TERMUX_PREFIX@/tmp/shairmeta." + cpt::to_string(getpid()) + "." + cpt::to_string(port_);
params_ = params_wo_port_ + " \"--metadata-pipename=" + pipePath_ + "\" --port=" + cpt::to_string(port_);
}