Skip to content

Commit

Permalink
Set oh product room independently
Browse files Browse the repository at this point in the history
  • Loading branch information
GioF71 committed Jun 12, 2024
1 parent 8657029 commit e1a3eea
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/bin/run-upmpdcli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,14 @@ if [ "${OPENHOME}" -eq 1 ]; then
fi
if [ "${UPNPAV}" -eq 1 ]; then
set_parameter $CONFIG_FILE AV_FRIENDLY_NAME "$AV_FRIENDLY_NAME" avfriendlyname
set_parameter $CONFIG_FILE OH_PRODUCT_ROOM "$OH_PRODUCT_ROOM" ohproductroom

fi
if [ "${OPENHOME}" -eq 1 ] || [ "${UPNPAV}" -eq 1 ]; then
if [[ -n "${OH_PRODUCT_ROOM}" ]]; then
set_parameter $CONFIG_FILE OH_PRODUCT_ROOM "$OH_PRODUCT_ROOM" ohproductroom
fi
fi

set_parameter $CONFIG_FILE MPD_HOST "$MPD_HOST" mpdhost
set_parameter $CONFIG_FILE MPD_PORT "$MPD_PORT" mpdport
set_parameter $CONFIG_FILE PLG_MICRO_HTTP_HOST "$PLG_MICRO_HTTP_HOST" plgmicrohttphost
Expand Down

0 comments on commit e1a3eea

Please sign in to comment.