Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for subsonictitle #398 #400

Merged
merged 1 commit into from
May 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ ENV SUBSONIC_ENABLE ""
ENV SUBSONIC_AUTOSTART ""
ENV SUBSONIC_BASE_URL ""
ENV SUBSONIC_PORT ""
ENV SUBSONIC_TITLE ""
ENV SUBSONIC_USER ""
ENV SUBSONIC_PASSWORD ""
ENV SUBSONIC_LEGACYAUTH ""
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ 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.
RADIO_BROWSER_ENABLE|Enable the Radio Browser plugin. Set to `yes` to enable
SUBSONIC_ENABLE|Enable the Subsonic plugin. Set to `yes` to enable
SUBSONIC_TITLE|Title of the Subsonic plugin, defaults to `Subsonic`
SUBSONIC_AUTOSTART|Autostart Subsonic plugin, defaults to `1`
SUBSONIC_BASE_URL|Subsonic base url. Example: `http://my_navidrome.homelab.local`
SUBSONIC_PORT|Subsonic port, defaults to `4533`
Expand Down
6 changes: 6 additions & 0 deletions app/bin/run-upmpdcli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,12 @@ if [ "${SUBSONIC_ENABLE^^}" == "YES" ]; then
sed -i 's/\#subsonicautostart/subsonicautostart/g' $CONFIG_FILE;
set_parameter $CONFIG_FILE SUBSONIC_AUTOSTART "$SUBSONIC_AUTOSTART" subsonicautostart
fi
if [[ -n "${SUBSONIC_TITLE}" ]]; then
echo "SUBSONIC_TITLE=[$SUBSONIC_TITLE]"
sed -i 's/\#subsonicuser/subsonicuser/g' $CONFIG_FILE
sed -i 's/\#subsonictitle/subsonictitle/g' $CONFIG_FILE;
set_parameter $CONFIG_FILE SUBSONIC_TITLE "$SUBSONIC_TITLE" subsonictitle
fi
echo "Setting subsonic base_url [$SUBSONIC_BASE_URL]"
sed -i 's/\#subsonicbaseurl/subsonicbaseurl/g' $CONFIG_FILE
sed -i 's,SUBSONIC_BASE_URL,'"$SUBSONIC_BASE_URL"',g' $CONFIG_FILE
Expand Down
1 change: 1 addition & 0 deletions app/conf/upmpdcli.conf
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ upradiostitle = Upmpdcli Radio List
#radio-browseruser = radio-browseruser
#subsonicautostart = SUBSONIC_AUTOSTART
#subsonicuser = SUBSONIC_USER
#subsonictitle = SUBSONIC_TITLE
#subsonicpassword = SUBSONIC_PASSWORD
#subsoniclegacyauth = SUBSONIC_LEGACYAUTH
#subsonicbaseurl = SUBSONIC_BASE_URL
Expand Down
1 change: 1 addition & 0 deletions doc/change-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

Change Date|Major Changes
---|---
2024-05-01|Support for `subsonictitle` (see issue [#398](https://github.com/GioF71/upmpdcli-docker/issues/398))
2024-04-24|Update to Upmpdcli version 1.8.10 (see issue [#393](https://github.com/GioF71/upmpdcli-docker/issues/393))
2024-03-27|Fix executable shell files for user mode (see issue [#390](https://github.com/GioF71/upmpdcli-docker/issues/390)))
2024-03-24|Add support for upnp log file and level (see issue [#383](https://github.com/GioF71/upmpdcli-docker/issues/383)))
Expand Down