Skip to content

Commit

Permalink
Radios title (#451)
Browse files Browse the repository at this point in the history
* Add environment variable value

* Add radios title from anv var

* Add radios title to readme
  • Loading branch information
reyostallenberg authored Jan 14, 2025
1 parent 8216926 commit fa0e9f0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ ENV HRA_USERNAME="hra_username"
ENV HRA_PASSWORD="hra_password"
ENV HRA_LANG="en"

ENV RADIOS_TITLE="Upmpdcli Radio List"
ENV RADIOS_ENABLE=""
ENV RADIOS_AUTOSTART=""

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ UPRCL_TITLE|Title for the media server, defaults to `Local Music`
ENABLE_OPENHOME_RADIO_SERVICE|OpenHome Radio Service, enabled by default, set to `no` to disable
ENABLE_UPRCL|Enable local music support (uprcl). Set to `yes` to enable (Deprecated, use UPRCL_ENABLE)
RADIOS_ENABLE|Enable Radios plugin. Set to `yes` to enable
RADIOS_TITLE|Title of the Radios plugin, defaults to `Upmpdcli Radio List`
RADIOS_AUTOSTART|Start Radios on startup, defaults to `1`
BBC_ENABLE|Enable BBC plugin. Set to `yes` to enable
BBC_PROGRAMME_DAYS|Past days in BBC Sounds catalog listing. This controls how many days are listed in the station displays.
Expand Down
4 changes: 2 additions & 2 deletions app/bin/run-upmpdcli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ fi

if [[ $enable_openhome_radio_service -eq 1 ]]; then
echo "radiolist = ${RADIO_LIST}" >> $CONFIG_FILE
echo "upradiostitle = Upmpdcli Radio List" >> $CONFIG_FILE
echo "upradiostitle = ${RADIOS_TITLE}" >> $CONFIG_FILE
fi

set_upnp_iface=0
Expand Down Expand Up @@ -875,4 +875,4 @@ if [[ $current_user_id -eq 0 ]]; then
else
echo "Running as current uid [$current_user_id] ..."
eval "exec $CMD_LINE"
fi
fi

0 comments on commit fa0e9f0

Please sign in to comment.