Skip to content

Commit 496426a

Browse files
authored
[Feature] Support configuration for plgproxymethod #325 (#326)
1 parent fdb06ba commit 496426a

File tree

5 files changed

+5
-1
lines changed

5 files changed

+5
-1
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ ENV PGID ""
180180

181181
ENV PLG_MICRO_HTTP_HOST ""
182182
ENV PLG_MICRO_HTTP_PORT ""
183+
ENV PLG_PROXY_METHOD ""
183184

184185
ENV MEDIA_SERVER_FRIENDLY_NAME ""
185186

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ MOTHER_EARTH_RADIO_DOWNLOAD_PLUGIN|If set to `YES`, the updated plugin is downlo
229229
MOTHER_EARTH_RADIO_PLUGIN_BRANCH|If `MOTHER_EARTH_RADIO_DOWNLOAD_PLUGIN` is set to `yes`, the branch indicated by this variable will be used. Must be specified if enabling `MOTHER_EARTH_RADIO_DOWNLOAD_PLUGIN`. Suggested branch name is `latest-mother-earth-radio`
230230
PLG_MICRO_HTTP_HOST|IP for the qobuz local HTTP service.
231231
PLG_MICRO_HTTP_PORT|Port for the qobuz local HTTP service.
232+
PLG_PROXY_METHOD|Proxy method, valid values are `proxy` and `redirect`, defaults to `redirect`
232233
MEDIA_SERVER_FRIENDLY_NAME|Friendly name for the Media Server
233234
TIDAL_ENABLE|Set to `YES` to enable Tidal support, defaults to `no`
234235
TIDAL_TOKEN_TYPE|Tidal token type

app/bin/run-upmpdcli.sh

+1
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ set_parameter $CONFIG_FILE MPD_HOST "$MPD_HOST" mpdhost
272272
set_parameter $CONFIG_FILE MPD_PORT "$MPD_PORT" mpdport
273273
set_parameter $CONFIG_FILE PLG_MICRO_HTTP_HOST "$PLG_MICRO_HTTP_HOST" plgmicrohttphost
274274
set_parameter $CONFIG_FILE PLG_MICRO_HTTP_PORT "$PLG_MICRO_HTTP_PORT" plgmicrohttpport
275+
set_parameter $CONFIG_FILE PLG_PROXY_METHOD "$PLG_PROXY_METHOD" plgproxymethod
275276

276277
set_parameter $CONFIG_FILE OWN_QUEUE "$OWN_QUEUE" ownqueue
277278

app/conf/upmpdcli.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ upradiostitle = Upmpdcli Radio List
5555
#msfriendlyname = MEDIA_SERVER_FRIENDLY_NAME
5656
#plgmicrohttphost = PLG_MICRO_HTTP_HOST
5757
#plgmicrohttpport = PLG_MICRO_HTTP_PORT
58-
#plgproxymethod = redirect
58+
#plgproxymethod = PLG_PROXY_METHOD
5959
#msiconpath = /usr/share/upmpdcli/icon.png
6060
#hrauser = HRA_USERNAME
6161
#hrapass = HRA_PASSWORD

doc/change-history.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
Change Date|Major Changes
44
---|---
5+
2023-11-16|Add variable PLG_PROXY_METHOD (see issue [#325](https://github.com/GioF71/upmpdcli-docker/issues/325))
56
2023-11-15|Clarification about new subsonic features (see issue [#320](https://github.com/GioF71/upmpdcli-docker/issues/320))
67
2023-11-15|Support different subsonic-connect versions (see issue [#318](https://github.com/GioF71/upmpdcli-docker/issues/318))
78
2023-11-14|Switch from `lunar` to `mantic` (see issue [#316](https://github.com/GioF71/upmpdcli-docker/issues/316))

0 commit comments

Comments
 (0)